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 3 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


FieldTypeRequiredDescription
idIntegertrueUnique identifier for the .
codeStringtrueCode of the PropertyRoomMode.
nameStringtrue

Name of the PropertyRoomMode.

activeBooleantrueIf this entity is active or not.
inactiveReasonStringfalseThe reason why is not active.
appliedBooleanfalseIf this applies to a certain Room or not.

Example response

{
  "count": 3,
  "offset": 0,
  "limit": 10,
  "list": [
    {
      "id": 4,
      "name": "Don't disturb",
      "code": "DND",
      "active": true,
      "inactiveReason": null,
      "applied": null
    },
    {
      "id": 5,
      "name": "Service requested",
      "code": "SER",
      "active": true,
      "inactiveReason": null,
      "applied": null
    },
    {
      "id": 6,
      "name": "Cleaning requested",
      "code": "CLE",
      "active": true,
      "inactiveReason": null,
      "applied": null
    }
  ]
}
  • No labels