Query Reservation Rule

Last Updated on : 2023-06-21 07:13:00download

Query the configuration of reservation rules for meeting rooms.

API address

GET: /v2.0/iot-03/meeting-settings/reservations

Return parameter

Parameter nameTypeDescription
resultMeetingRoomReservationConfigResThe returned result.

Description of result

Parameter nameTypeDescription
booking_dateListAvailable days.
start_timeStringThe start time of the reservation.
end_timeStringThe end time of the reservation.
min_minuteIntegerThe minimum number of minutes for a single reservation.
max_hourIntegerThe maximum number of hours for a single reservation.
max_dayIntegerThe maximum number of available days before the reserved date.
release_timeIntegerThe maximum number of minutes to release a reservation if no one is present after the reserved time.

Request example

GET: /v2.0/iot-03/meeting-settings/reservations

Return example

{
    "result": {
        "min_minute": 20,
        "booking_date": [
            "Monday",
            "Tuesday",
            "Wednesday",
            "Thursday",
            "Friday",
            "Sunday"
        ],
        "end_time": "22:00",
        "start_time": "08:30",
        "max_hour": 2,
        "max_day": 3,
        "release_time": 2
    },
    "t": 1625053729293,
    "success": true
}

Error code

For more information, see error code.