cancelCompleteReservation
With this function you can cancel a complete reservation. This is only possible with a valid reservationId and if the user allows to cancel a complete reservation.
URL
https://globalreseller.nl/webservices/cancelCompleteReservation
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 cancelCompleteReservation 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. |