Board Forecast List [GET]

Operation

Get a list of all the boards.

GET Single property request
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/{propertyId}/board/forecast



Request

PropertyTypeRequiredType ParameterDefault valueDescription
chainIdIntegertruepath parameter
Unique identificator of the chain.
propertyIdIntegertruepath parameter
Unique identificator of the property.
dateLocalDatefalserequest parameter
date of the offset
limitIntegerfalserequest parameter10Limit of results.

Example Single Property request

GET https://publicapi-providers.ulysescloud.com/public/api/v1/con/chain/1/property/1/board/forecast


Response

PropertyTypeRequiredDescription
PagePagetrueDescription of the response of the success operation

Entity

The entity returned is a Page with a list of Board's. Description of the Board entity:


FieldTypeRequiredDescription
idinttrueUnique identifier for the Board.
chainIdinttrueChainBoard Identifier related to the Board.
codestringtrueCode of the Board.
namestringtrueName of the Board.
propertyIdintfalsePropertyId of the Board.
serviceListArray of ServicefalseA list of associated Service to this Board.
forecastList

Array of BoardAvailability

falseA 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": null,
      "name": "Room Only",
      "serviceList": null, 
	  "forecastList": [
			{
			    "boardId": 2,
			    "date": "2022-08-25",
			    "quantityConsumedAdult": 5,
			    "quantityConsumedJunior": 4,
			    "quantityConsumedChild": 2,
			    "quantityConsumedInfant": 1,
			}...
		]
    },
    {
      "id": 6,
      "code": null,
      "name": "Bed And Breakfast",
      "serviceList": [
        {
          "id": 63,
          "code": "BRK",
          "name": "Breakfast"
        }
      ], 
	  "forecastList": [
			{
			    "boardId": 6,
			    "date": "2022-08-15",
			    "quantityConsumedAdult": 5,
			    "quantityConsumedJunior": 4,
			    "quantityConsumedChild": 2,
			    "quantityConsumedInfant": 1,
			}...
		]
    },
    {
      "id": 7,
      "code": null,
      "name": "HalfBoard",
      "serviceList": [
        {
          "id": 63,
          "code": "BRK",
          "name": "Breakfast"
        },
        {
          "id": 68,
          "code": "DINNER",
          "name": "Dinner"
        }
      ], 
	  "forecastList": [
			{
			    "boardId": 7,
			    "date": "2022-08-25",
			    "quantityConsumedAdult": 5,
			    "quantityConsumedJunior": 4,
			    "quantityConsumedChild": 2,
			    "quantityConsumedInfant": 1,
			}...
		]   
    }
  ]
}