Board 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
GET Multiproperty request
https://{environment}.ulysescloud.com/public/api/{version}/con/chain/{chainId}/property/board

Request

PropertyTypeRequiredType ParameterDefault valueDescription
chainIdIntegertruepath parameter
Unique identificator of the chain.
propertyIdIntegertruepath parameter
Unique identificator of the property.
offsetIntegerfalserequest parameter0Offset of the array of results.
limitIntegerfalserequest parameter10Limit of results.
sortstringfalserequest parameteridProperty of the entity to sort by.
sortModestringfalserequest parameterAscMode of sorting.
propertyIdListInteger Listfalserequest parameter
Property Id List - Only for Multiproperty Get

Example Single Property request

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

Example Multiproperty request

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


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
    },
    {
      "id": 6,
      "code": null,
      "name": "Bed And Breakfast",
      "serviceList": [
        {
          "id": 63,
          "code": "BRK",
          "name": "Breakfast"
        }
      ]
    },
    {
      "id": 7,
      "code": null,
      "name": "HalfBoard",
      "serviceList": [
        {
          "id": 63,
          "code": "BRK",
          "name": "Breakfast"
        },
        {
          "id": 68,
          "code": "DINNER",
          "name": "Dinner"
        }
      ]   
    }
  ]
}

Example Multiproperty response

{
  "count": 14,
  "offset": 0,
  "limit": 1000,
  "list": [
           {
             "id": 1,
             "chainBoardId": 1,
             "code": "RO",
             "name": "Room Only",
             "propertyId": 1,
             "serviceList": null
           },
           {
             "id": 15,
             "chainBoardId": 2,
             "code": "BB",
             "name": "Bed and Breakfast",
             "propertyId": 1,
             "serviceList": [
				              {
                			    "id": 22,
			                    "code": "1BRE",
            			        "name": "Breakfast"
                			   }
            				]
        	},
        	{
              "id": 16,
              "chainBoardId": 3,
              "code": "HB",
              "name": "Half Board Dinner",
              "propertyId": 1,
              "serviceList": [
           				      {
                    			"id": 22,
			                    "code": "1BRE",
			                    "name": "Breakfast"
            			      },
			                  {
              			        "id": 24,
			                    "code": "4DIN",
			                    "name": "Dinner"
			                  }
				             ]
	         }
			]
}