Last Updated on : 2023-06-21 07:12:54download
Create a meeting room based on the meeting room group ID, meeting room name and type, and other information. The meeting room ID will be returned after the creation is successful.
POST: /v2.0/iot-03/meeting-rooms
Description of body
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| name | String | true | The name of a specified meeting room, with up to 50 characters. | |
| image_urls | List | false | The URL of up to 3 images for a specified meeting room. | |
| type | String | true | The type of a specified meeting room. Valid values: normal: general meeting room. vip: VIP meeting room. | |
| address | String | true | The location of a specified meeting room, with up to 100 characters. | |
| longitude | String | false | The longitude of a specified meeting room. | |
| latitude | String | false | The latitude of a specified meeting room. | |
| parent_asset_id | String | true | The group ID of specified meeting rooms. | |
| range_type | String | true | The opening range of a specified meeting room. Valid values: all: The meeting room is open to all persons. personnel: The meeting room is open to specified persons. | |
| range_ids | List | false | The list of up to 100 IDs of the opening range. This field is required when the type of the opening range is personnel. | |
| room_status | String | true | The status of a specified meeting room. Valid values: open: The meeting room is open for reservation. stop: The meeting room is suspended. | |
| suspension_remark | String | false | The remarks on suspension, with up to 128 characters. | |
| reservation_approved | String | true | Specifies whether to enable approval of the reservation. Valid values: Y: enable. N: disable. | |
| approval_process_id | String | false | The ID of the approval process for a specified meeting room. This field is required when the value of reservation_approved is Y. | |
| preemptible | String | true | Indicates whether a meeting room can be preempted by another person if the person who makes the reservation does not appear within the specified time. Valid values: Y: yes. N: no. | |
| system_release | String | true | Indicates whether the reservation of a meeting room can be released by the system. Valid values: Y: enabled. N: disabled. | |
| space | Integer | true | The number of people that can be accommodated in a specified meeting room. The value must be greater than 0. | |
| tag_codes | List | false | The codes of meeting room labels. |
| Parameter name | Type | Description |
|---|---|---|
| result | String | The returned result. |
POST: /v2.0/iot-03/meeting-rooms
{
"name": "Meeting Room No. 11",
"type": "normal",
"address": "Building A, Grand Center",
"parent_asset_id": "141230266758935****",
"range_type": "all",
"room_status": "open",
"reservation_approved": "N",
"preemptible": "Y",
"system_release": "Y",
"space": 12
}
{
"result": "141230243019603****",
"t": 1625554113377,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback