Last Updated on : 2023-06-21 07:13:01download
Query the information about rooms under a specified hotel industry project.
GET: /v1.0/osaas/projects/{project_id}/rooms
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
projectId | String | uri | true | The unique ID of a specified project. |
Parameter name | Type | Description |
---|---|---|
total | int | The total number of results. |
pageNo | int | The current page number. |
pageSize | int | The number of items returned on each page. |
rooms | RoomResponse[] | A list of rooms. |
GET: {url}/v1.0/osaas/projects/1160823965053******/rooms
{
"result": {
"rooms": [
{
"room_id": "116082396505314*****",
"gmt_create": 1559707046000,
"description": "Description of the room",
"gmt_modified": 1559707046000,
"room_name": "Room **",
"construction_status": "UNAUTHORIZED",
"room_no": "1001"
}
],
"page_no": 1,
"total": 1,
"page_size": 10
},
"t": 1561381210234,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback