DELETE api/v{version}/clients/{clientId}/trips/{bookingId}/droptrip?isNew={isNew}
Removes trip from system
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientId |
Client Id to which the booking belongs |
integer |
Required |
| bookingId |
Booking Id for the trip to be removed |
integer |
Required |
| isNew |
Flag to identify if a booking is newly created booking |
boolean |
Default value is True |
| version |
The requested API version |
string |
Required Default value is 2.0 |
Body Parameters
None.
Response Information
Resource Description
Returns if booking is successfully deleted.
booleanResponse Formats
application/json, text/json, application/problem+json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>