Operation
Get a list of active RoomMode of one Property
GET
https://{environment}.ulysescloud.com/api/{version}/chain/{chainId}/property/{propertyId}/roomMode
Request
Property | Type | Required | Default value | Description |
---|---|---|---|---|
chainId | Integer | true | Unique identificator of the chain. | |
propertyId | Integer | true | Unique identificator of the property. | |
offset | Integer | false | 0 | Offset of the array of results. |
limit | Integer | false | 10 | Limit of results. |
Example request
GET https://prod.ulysescloud.com/api/v1/chain/1/property/1/roomMode
Response
Property | Type | Required | Description |
---|---|---|---|
Page | Page | true | Description of the response of the success operation |
Entity
Property | Type | Required | Description |
---|---|---|---|
Id | String | true | Unique identifier of the entity. |
property | Property | true | The data of Property |
chainRoomMode | ChainRoomMode | true | The data of ChainRoomMode |
active | Boolean | false | active/inactive object |
RoomPropertyRoomModeSet | RoomPropertyRoomMode | false | set of RoomPropertyRoomMode's |
Example response
{ "count": 1, "offset": 0, "limit": 10, "list": [ { "id": 1, "createdDate": "2020-03-18T11:59:16.098Z", "createdUser": 12, "property": null, "chainRoomMode": { "id": 1, "createdDate": "2020-03-18T11:25:08.148Z", "modifiedDate": "2020-03-18T11:53:44.078Z", "modifiedUser": 12, "code": "TEST1", "name": "Test 1 updated 1", "nameI18nId": 5491, "nameI18n": "Test 1", "description": "Test Number 1", "descriptionI18nId": 5492, "descriptionI18n": "Test Number 1", "icon": "Icon 1", "propertyRoomModeSet": null }, "active": true, "roomPropertyRoomModeSet": null } ] }