Skip to main content
POST
/
calendar
/
dates
/
bulk
Get calendar dates in bulk
curl --request POST \
  --url https://spaportal.cz/api/v2/calendar/dates/bulk \
  --header 'Content-Type: application/json' \
  --header 'X-SpaPortal-Public-Key: <api-key>' \
  --data '
{
  "items": [
    {
      "visitTypeId": "<string>",
      "hotelId": "<string>",
      "roomTypeId": "<string>",
      "destinationId": "<string>",
      "guests": 1,
      "dateFrom": "2023-12-25",
      "dateTo": "2023-12-25",
      "key": "<string>"
    }
  ],
  "shared": {
    "visitTypeId": "<string>",
    "hotelId": "<string>",
    "roomTypeId": "<string>",
    "destinationId": "<string>",
    "guests": 1,
    "dateFrom": "2023-12-25",
    "dateTo": "2023-12-25"
  }
}
'
{
  "results": [
    {
      "key": "<string>",
      "data": [
        {
          "date": "2023-12-25",
          "selectable": true,
          "price": {
            "isFinal": true,
            "amounts": {
              "CZK": {
                "amountMinor": 180000
              },
              "EUR": {
                "amountMinor": 180000
              }
            }
          }
        }
      ]
    }
  ]
}

Authorizations

X-SpaPortal-Public-Key
string
header
required

Headers

X-Request-Id
string

Optional client-provided request identifier echoed in error responses.

Body

application/json
items
object[]
required
Required array length: 1 - 20 elements
shared
object

Response

Calendar date results for each item.

results
object[]