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

Version 1 Next »

Operation

Information of the operation

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


Request

PropertyTypeRequiredDefault valueDescription
nameStringtrue
Description of the field.

Example request

PUT https://prod.ulysescloud.com/api/v1/chain/1/property/2/room/1/roomMode


Body

The body that will be sent in the operation

{
	"id": 1,
	"createdDate": "2018-04-12T18:13:50.710Z",
	"code": "CCRT1",
	"name": "ChainCancellationReasonType 1"
}


Response

PropertyTypeRequiredDescription
PagePagetrueDescription of the response of the success operation

Entity

PropertyTypeRequiredDescription
IdStringtrueUnique identifier of the entity.
CreatedDateDatetrueThe date when the entity was persisted on the database.



Example response

{
  "count": 10,
  "offset": 0,
  "limit": 10,
  "list": [
    {
      "id": 1,
      "createdDate": "2018-04-12T18:13:50.710Z",
      "code": "CCRT1",
      "name": "ChainCancellationReasonType 1"
    },
    {
      "id": 2,
      "createdDate": "2018-04-12T18:13:50.717Z",
      "code": "CCRT2",
      "name": "ChainCancellationReasonType 2"
    },
    {
      "id": 3,
      "createdDate": "2018-04-12T18:13:50.720Z",
      "code": "CCRT3",
      "name": "ChainCancellationReasonType 3"
    }
  ]
}
  • No labels