POST api/TwoMen/ServiceAcceptReject
Request Information
URI Parameters
None.
Body Parameters
AcceptServiceClass| Name | Description | Type | Additional information |
|---|---|---|---|
| ResID | integer |
None. |
|
| RideID | integer |
None. |
|
| StatusID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ResID": 1,
"RideID": 2,
"StatusID": 3
}
application/xml, text/xml
Sample:
<TwoMenController.AcceptServiceClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRide_API.Controllers"> <ResID>1</ResID> <RideID>2</RideID> <StatusID>3</StatusID> </TwoMenController.AcceptServiceClass>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IAsyncResult| Name | Description | Type | Additional information |
|---|---|---|---|
| IsCompleted | boolean |
None. |
|
| AsyncWaitHandle | WaitHandle |
None. |
|
| AsyncState | Object |
None. |
|
| CompletedSynchronously | boolean |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.