Update Room Status [PUT]

Operation

Information of the operation

PUT
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/room/{roomId}/updateStatus/{roomSpaceStatusTypeId}


Request

PropertyTypeRequiredType parameterDefault valueDescription
chainIdIntegertruepath parameter
Unique identificator of the chain.
propertyIdIntegertruepath parameter
Unique identificator of the property.
roomIdIntegertruepath parameter
Unique identificator of the Room.

roomSpaceStatusTypeId

Integertruepath parameter
The new status of the Room 

Example request

PUT https://publicapi-providers.ulysescloud.com:9797/public/api/v1/con/chain/1/property/2/room/1/updateStatus/2


Response

PropertyTypeRequiredDescription
responseApiMessageResponseApiMessagetrueResponse of the operation.



Example response

{
  "httpStatus": "201",
  "userMessage": "Success",
  "technicalMessage": "Success room updated",
  "errorCode": "0",
  "id": 1
}