DELETE api/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 |
Body Parameters
None.
Response Information
Resource Description
Returns if booking is successfully deleted.
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>