Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Operation

Get a list of active RoomMode of one Property

GET
https://{environment}.ulysescloud.com/api/{version}/chain/{chainId}/property/{propertyId}/roomMode


Request

PropertyTypeRequiredDefault valueDescription
chainIdIntegertrue
Unique identificator of the chain.
propertyIdIntegertrue
Unique identificator of the property.
offsetIntegerfalse0Offset of the array of results.
limitIntegerfalse10Limit of results.

Example request

GET https://prod.ulysescloud.com/api/v1/chain/1/property/1/roomMode




Response

PropertyTypeRequiredDescription
PagePagetrueDescription of the response of the success operation

Entity

PropertyTypeRequiredDescription
IdStringtrueUnique identifier of the entity.

property

PropertytrueThe data of Property
chainRoomModeChainRoomModetrueThe data of ChainRoomMode
activeBooleanfalseactive/inactive object
RoomPropertyRoomModeSetRoomPropertyRoomModefalseset 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
    }
  ]
}
  • No labels