BookingCancellation

DELETE {{endpoint}}/hotel-api/1.0/bookings/{{bookingReference}}?cancellationFlag=CANCELLATION

The BookingCancellation operation cancels a booking or simulates a booking cancellation.

Request Params

KeyDatatypeRequiredDescription
cancellationFlagstringType of cancellation method to be used. Values:

SIMULATION: To simulate a booking cancellation

CANCELLATION: To cancel the booking (default value if not specified) | | language | string | | Response language. |

HEADERS

KeyDatatypeRequiredDescription
Api-keystringAPI Key used in the request
X-SignaturestringSHA256 hash in Hex format from your API Key, your secret plus current timestamps in seconds
AcceptstringDefines response format, posible values: application/xml, application/json
Accept-EncodingstringDefines type of encoding used on the data