Cancel Reservation

Last Updated on : 2021-07-16 07:46:06download

Cancel a reservation by reservation event ID. If the user ID is entered, it will be verified whether the reservation ID belongs to the user. > Note: The cancel operation cannot be undone after execution. Please carefully confirm the parameters before they are deleted.

API address

POST: /v1.0/iot-03/seat-reservations/actions/cancel

Request parameter

Description of body

Parameter name Type IN Required Description
uid String false The user ID.
reservation_id String true The reservation ID.

Return parameter

Parameter name Type Description
result Boolean Indicates whether the operation is successful.

Request example

POST: /v1.0/iot-03/seat-reservations/actions/cancel
{ "uid": "bsh16219351491774xxx", "reservation_id": "1401793112065454xxx" }

Return example

{ "result": true, "t": 1623049682607, "success": true }

Error code

For more information, see error code.