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