Operation
Get a single element of Reservation by its Id.
GET
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
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
{ "id": 1, "code": "101", "name": "101", "roomSpaceStatusType": { "id": 1, "code": "CL", "name": "Clean" }, "reservationRoomStay": null }