Operation
Get a single element of Reservation by its Id.
Rw ui textbox macro | ||
---|---|---|
| ||
Only accessible with permission of pms.integration.room |
Style |
---|
table { width: 100%; } body.page-gadget { padding-top: 20px; } .separator{ margin: 5px 0; } |
Div | ||
---|---|---|
| ||
GET |
Div | ||
---|---|---|
| ||
https://{environment}.ulysescloud.com/api/{version}/chain/{chainId}/property/{propertyId}/room/{roomId} |
Request
Property | Type | Required | Default value | Description |
---|---|---|---|---|
chainId | String | true | Unique identificator of the Chain. | |
propertyId | String | true | Unique identificator of the Hotel. | |
roomId | String | true | Unique identificator of the Room. |
Example request
Code Block | ||||
---|---|---|---|---|
| ||||
GET https://prod.ulysescloud.com/api/v1/chain/1/property/1/room/1 |
Response
Property | Type | Required | Description |
---|---|---|---|
Page | Page | true | Description of the response of the success opertarion. |
Entity
Property | Type | Required | Description |
---|---|---|---|
id | String | true | Unique identifier of the Room. |
code | String | true | The code of the Room. |
name | String | true | The name of the Room. |
roomSpaceStatusType | RoomSpaceStatusType | true | RoomSpaceStatusType were the Room is linked to. |
reservationRoomStay | ReservationRoomStay | false | ReservationRoomStay were the Room is linked to. |
Example response
Code Block | ||
---|---|---|
| ||
{ "id": 1, "code": "101", "name": "101", "roomSpaceStatusType": { "id": 1, "code": "CL", "name": "Clean" }, "reservationRoomStay": null } |