POST api/CancelRide
Request Information
URI Parameters
None.
Body Parameters
CancelRide| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId | integer |
None. |
|
| RideId | integer |
None. |
|
| CancelReason | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountId": 1,
"RideId": 2,
"CancelReason": "sample string 3"
}
application/xml, text/xml
Sample:
<CancelRide xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models"> <AccountId>1</AccountId> <CancelReason>sample string 3</CancelReason> <RideId>2</RideId> </CancelRide>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RideCancelResposes| Name | Description | Type | Additional information |
|---|---|---|---|
| IsRideCancel | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsRideCancel": true
}
application/xml, text/xml
Sample:
<RideCancelResposes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models"> <IsRideCancel>true</IsRideCancel> </RideCancelResposes>