Operation
Update with PUT the status of Presence value of Room 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 | ||
---|---|---|
| ||
PUT |
Div | ||
---|---|---|
| ||
https://{environment}.ulysescloud.com/api/{version}/chain/{chainId}/property/{propertyId}/room/{roomId}/updateStatusPresence |
Request
Property | Type | Required | Default value | Description |
---|---|---|---|---|
chainId | String | true | Unique identificator of the Chain. | |
propertyId | String | true | Unique identificator of the Property. | |
roomId | String | true | Unique identificator of the Room. | |
presence | Boolean | true | Value to define presence in Room. |
Example request
Code Block | ||||
---|---|---|---|---|
| ||||
PUT https://prod.ulysescloud.com/api/v1/chain/1/property/1/room/1/updateStatusPresence?presence=false |
Response
Example response
Code Block | ||
---|---|---|
| ||
{ "httpStatus": "201", "userMessage": "Success", "technicalMessage": "Success room presence updated", "errorCode": "0", "moreInfo": null, "id": null, "entity": null } |