Get Seat Settings

Last Updated on : 2023-06-15 05:46:54

Query seat settings, which will be displayed on the pages. A blocked list can be configured and verified during seat reservation settings.

API address

GET: /v1.0/iot-03/seat-reservations/seat-settings

Return parameter

Parameter name Type Description
result SeatVO

Description of result

Parameter name Type Description
repeat_flag String Indicates whether to allow one person to reserve multiple seats during the same time period. Valid values: Y: yes. N: no.
max_days Integer The maximum number of available days before the reserved date.
blacklist_flag String Indicates whether to enable the reservation allowlist rule. Valid values: Y: yes. N: no.
blacklist_days Integer The total number of days for which the reservation allowlist rule is effective.
blacklist_times Integer The threshold of times when a specified person reserves a seat but does not use it.
blacklist_disabled_days Integer The number of days for which a specified person is not allowed to reserve a seat.
reservation_time Integer The granularity of seat reservation time in minutes. Valid values: 15, 30, and 60.
charge_flag String Indicates whether there is a charge for seat reservation. Valid values: Y: yes. N: no.
charge_url String The URL of charging the seat reservation.
charge_callback_url String The callback URL of charging the seat reservation.

Request example

GET: /v1.0/iot-03/seat-reservations/seat-settings

Return example

{ "result": { "repeat_flag": "Y", "charge_callback_url": "ddddddd", "blacklist_disabled_days": 7, "blacklist_flag": "N", "reservation_time": 30, "charge_url": "sdfgsdfgsdfgsdfgsdfgsdfgsdfgsdfgsdfgsd", "blacklist_times": 5, "charge_flag": "N", "max_days": 8, "blacklist_days": 7 }, "t": 1623049229455, "success": true }

Error code

For more information, see error code.