Last Updated on : 2023-06-21 07:13:02download
Modify the information about a specified room based on the unique room ID, including the room name, room code, contact number, room description, and other information.
PUT: /v1.0/osaas/rooms/{room_id}
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
roomId | String | uri | true | The unique ID of a specified room. |
Parameter name | Type | Description |
---|---|---|
code | Integer | The response code if the API call fails. This parameter value is empty if the API call succeeds. |
success | String | Indicates whether the operation is successful. |
msg | String | The response message that is returned if the request fails. It is empty if the request is successful. |
t | Long | The 13-bit timestamp. |
result | Boolean | The operation result. |
PUT: {url}/v1.0/osaas/rooms/1160823965053****
{
"room_no": "101",
"room_name": "Room **",
}
{
"result": true,
"t": 1566053034624,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback