POST api/MRide/DriverRedeem
Request Information
URI Parameters
None.
Body Parameters
DriverRedeemClass| Name | Description | Type | Additional information |
|---|---|---|---|
| DriverID | integer |
None. |
|
| BonusID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DriverID": 1,
"BonusID": 2
}
application/xml, text/xml
Sample:
<MRideAPIController.DriverRedeemClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRide_API.Controllers"> <BonusID>2</BonusID> <DriverID>1</DriverID> </MRideAPIController.DriverRedeemClass>
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.