Operation
Information of the operation
GET
https://{environment}.ulysescloud.com/public/api/{version}/chain/{chainId}/property/{propertyId}/space
Request
Property | Type | Required | Default value | Description |
---|---|---|---|---|
chainId | Integer | true | Unique identificator of the chain. | |
propertyId | Integer | true | Unique identificator of the property. | |
offset | Integer | false | 0 | Offset of the array of results. |
limit | Integer | false | 10 | Limit of results. |
sort | string | false | id | Property of the entity to sort by. |
sortMode | string | false | Asc | Mode of sorting. |
Example request
GET https://prod.ulysescloud.com/public/api/v1/chain/1/property/2/space
Response
Property | Type | Required | Description |
---|---|---|---|
Page | Page | true | Description of the response of the success operation |
Entity
roomSpaceStatusTypeField Type Required Description id int true Unique identifier for the Space. code string true Code of the Space. name string true Name of the Space. RoomSpaceStatusType true Status of this Space.
Example response
{ "count": 10, "offset": 0, "limit": 10, "list": [{ "id": 1, "code": "101", "name": "M101", "roomSpaceStatusType": { "id": 2, "code": "DI", "name": "Dirty" } }, { "id": 2, "code": "102", "name": "M102", "roomSpaceStatusType": { "id": 1, "code": "CL", "name": "Clean" } }, { "id": 3, "code": "103", "name": "M103", "roomSpaceStatusType": { "id": 1, "code": "CL", "name": "Clean" } }, { "id": 4, "code": "104", "name": "M104", "roomSpaceStatusType": { "id": 1, "code": "CL", "name": "Clean" } }, { "id": 5, "code": "105", "name": "M105", "roomSpaceStatusType": { "id": 1, "code": "CL", "name": "Clean" } }, { "id": 6, "code": "106", "name": "M106", "roomSpaceStatusType": { "id": 1, "code": "CL", "name": "Clean" } }, { "id": 7, "code": "107", "name": "M107", "roomSpaceStatusType": { "id": 1, "code": "CL", "name": "Clean" } }, { "id": 8, "code": "108", "name": "M108", "roomSpaceStatusType": { "id": 1, "code": "CL", "name": "Clean" } }, { "id": 9, "code": "109", "name": "M109", "roomSpaceStatusType": { "id": 1, "code": "CL", "name": "Clean" } }, { "id": 10, "code": "110", "name": "M110", "roomSpaceStatusType": { "id": 1, "code": "CL", "name": "Clean" } } ] }