Contact Us
Log In

Add Reservation Rule

Last Updated on : 2022-06-21 06:46:53download

Create or update a system meeting room by setting parameters such as the available days of the week, the start and end time of the reservation, and the duration of a single reservation. A value of true indicates that the creation or update is successful.

API address

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

Request parameter

Description of body

Parameter nameTypeINRequiredDescription
booking_dateList trueThe list of available days.
start_timeString trueThe start time of the reservation.
end_timeString trueThe end time of the reservation.
min_minuteInteger trueThe minimum number of minutes for a single reservation.
max_hourInteger trueThe maximum number of hours for a single reservation.
max_dayInteger trueThe maximum number of available days before the reserved date.
release_timeInteger trueThe maximum number of minutes to release a reservation if no one is present after the reserved time.

Return parameter

Parameter nameTypeDescription
resultBooleanThe returned result.

Request example

POST: /v2.0/iot-03/meeting-settings/reservations
  "booking_date": [
  "start_time": "08:30",
  "end_time": "22:00",
  "min_minute": 20,
  "max_hour": 2,
  "max_day": 3,
  "release_time": 2

Return example

    "result": true,
    "t": 1625053614398,
    "success": true

Error code

For more information, see error code.