cancelReservation

With this function you can cancel a reservation. This is only possible with a valid reservationId.

URL
https://globalreseller.nl/webservices/cancelReservation

HMAC calculation
apiKey + environment + reservationId + userId

Input:

Name Datatype Description
apiKey String Your public apiKey needs to be included in every request.
environment Enum "test" or "production"
userId Integer The userId is a reference to the user (museum / attraction). The userId can be requested via getAvailableUsers and can be cached in your application.
reservationId Integer Include the reservationId from the createReservation request.
HMACKey String The HMACKey is calculated based on the input fields.

Output:

Name Datatype Description
success Boolean Indicates if the request was successfully executed.