Cancel Trip
Cancel Trip
Cancels a trip. A trip that is already cancelled, or that has active bookings / claims attached, cannot be cancelled; cancel those bookings first. remarks is stored as the cancellation reason.
Request Parameters
Headers
DICE-APP-ID
Company Code of client
X-CLIENT-ID
API Client ID
X-CLIENT-SECRET
API Client Secret
Request
Cancel Trip request body.
tripId
Trip reference to cancel (as returned by Create Trip).
employeeCode
Employee code of the trip owner. One of employeeCode / employeeEmail is mandatory; the code wins if both are sent.
employeeEmail
Email of the trip owner. Used when employeeCode is not sent.
remarks
Reason for cancellation. Stored on the trip.
Response
OK
success
true when the operation succeeded.
data
Reserved (internal envelope). Ignore.
safe
Reserved. Ignore.
