ServiceForecast List [GET]
GET Single property request
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/service/forecast
Request
Property | Type | Required | Type Parameter | Default value | Description |
---|---|---|---|---|---|
chainId | Integer | true | path parameter | Unique identificator of the chain. | |
propertyId | Integer | true | path parameter | Unique identificator of the property. | |
date | LocalDate | false | request parameter | date of the offset | |
limit | Integer | false | request parameter | 10 | Limit of results. |
Example Single Property request
GET https://publicapi-providers.ulysescloud.com/public/api/v1/con/chain/1/property/1/service/forecast
Response
Property | Type | Required | Description |
---|---|---|---|
Page | Page | true | Description of the response of the success operation |
Entity
The entity returned is a Page with a list of Service's. Description of the Board entity:
Field | Type | Required | Description |
---|---|---|---|
id | int | true | Unique identifier for the Board. |
chainId | int | true | ChainBoard Identifier related to the Board. |
code | string | true | Code of the Board. |
name | string | true | Name of the Board. |
propertyId | int | false | PropertyId of the Board. |
serviceList | Array of Service | false | A list of associated Service to this Board. |
forecastList | Array of BoardAvailability | false | A list of associated BoardAvailability to this Board. Only apears if we have data. |
Example Single Property response
{ "count": 4, "offset": 0, "limit": 10, "list": [ { "id": 5, "code": ECR, "name": "Extra Charge Room", "forecastList": [ { "serviceId": 2, "date": "2022-08-25", "quantityConsumed": 5 }... ] }, { "id": 6, "code": COT, "name": "Cot", "forecastList": [ { "serviceId": 6, "date": "2022-08-15", "quantityConsumed": 5 }... ] }, { "id": 7, "code": PKG, "name": "Parking", "forecastList": [ { "serviceId": 7, "date": "2022-08-25", "quantityConsumed": 5 }... ] } ] }