HolidayPackage

List, search or filter HolidayPackages

get/v1/holidaypackages

Request

  • Base URL: https://go.lts.it/api
  • URL: https://go.lts.it/api/v1/holidaypackages
  • Auth: one of:
    • HTTP basic and API key in header X-LTS-ClientID
    • HTTP bearer

Query parameters

language'cs' | 'de' | 'en' | 'nl' | 'fr' | 'it' | 'pl' | 'ru'

The preferred language for the API response. Available options include cs, de, en, nl, fr, it, pl, and ru. Note If no language is specified, the API response will include all available languages. Only one language can be passed at a time.

page[size]integer

The number of records per page for the API response. Allows you to control the amount of data returned per page. Default value is 100. Maximum value is 100, unless the 'fields' parameter is passed with only 'rid' field, in this case the page size limit is unlimited.

page[number]integer

The page number for the API response. Allows you to paginate through large data sets by specifying the desired page number. Default value is 1.

ridsstring
onlyActive0 | 1
lastUpdatestring date-time

Date and time of last change

searchTermstring
language'cs' | 'de' | 'en' | 'nl' | 'fr' | 'it' | 'pl' | 'ru'
ownerRidsstring
themeRidsstring
seasonStartDateTimestring date-time
seasonEndDateTimestring date-time
marketingGroupRidsstring
tourismOrganizationRidsstring

The API's filter parameter enables data filtering. To apply multiple filters, connect them using & e.g filter[a]=1&filter[b]=test. The available filters are: <br>filter[rids] Filter HolidayPackage by record Rids. Rules:multiple, size:32, string<br>filter[onlyActive] If set, it returns only active records. Rules:boolean<br>filter[lastUpdate] Date filter for last update. Rules:date_format:Y-m-d\TH:i:s.v<br>filter[searchTerm] Search term filter. Rules:string, max:255<br>filter[language] Filter by language. Rules:string, in:cs,de,en,nl,fr,it,pl,ru<br>filter[ownerRids] Filter by owner records. Rules:multiple, size:32, string<br>filter[themeRids] Filter by theme rids. Rules:multiple, size:32, string<br>filter[seasonStartDateTime] Filter by season start Date time. Rules:date_format:Y-m-d\TH:i:s.v<br>filter[seasonEndDateTime] Filter by season end Date time. Rules:date_format:Y-m-d\TH:i:s.v<br>filter[marketingGroupRids] Filter by marketing Group rids. Rules:multiple, size:32, string<br>filter[tourismOrganizationRids] Filter by tourism organization rids. Rules:multiple, size:32, string

{
  "rids": "7CC2A17D04D3563583F1B863B3BDA43F",
  "onlyActive": 1,
  "lastUpdate": "1933-04-27T06",
  "searchTerm": "Modi.",
  "language": "de",
  "ownerRids": "6E6C473E2BB5D96BCA63FE9CD96300B9",
  "themeRids": "C9E9CAFCA4E44E566BEB31249730665A",
  "seasonStartDateTime": "1932-02-05T09",
  "seasonEndDateTime": "1993-01-03T14",
  "marketingGroupRids": "A1B15C52EF3F69F44D5E74A54839895A",
  "tourismOrganizationRids": "1C6D27F2FFE80D6C61E32C5F2E6FAD46"
}
sortstring

Requests for retrieved resources to be sorted by the value some selected field. Sorting requests may be in ascending (e.g., sort=startDate) or descending order (e.g., sort=-length) by prefixing the field name with a MINUS (U+002D) character. If the sort value includes a language, the language parameter is also required. Sorting is available over (rid,name,lastUpdate) the primitive attributes of an endpoint's resources.

fieldsstring

Selects which fields (i.e., attributes or relationships) should be present in returned resource. To exclude a field, add a "-" before its value. Multiple fields can be passed separated by a comma ",". If only "rid" or "id" is passed, pagination size is unlimited by default. (e.g. rid,adultsMaxNumber,adultsMinNumber,arrivalDays.isPermittedOnFriday,arrivalDays.isPermittedOnMonday,arrivalDays.isPermittedOnSaturday,arrivalDays.isPermittedOnSunday,arrivalDays.isPermittedOnThursday,arrivalDays.isPermittedOnTuesday,arrivalDays.isPermittedOnWednesday,childrenMaxNumber,childrenMinNumber,departureDays.isPermittedOnFriday,departureDays.isPermittedOnMonday,departureDays.isPermittedOnSaturday,departureDays.isPermittedOnSunday,departureDays.isPermittedOnThursday,departureDays.isPermittedOnTuesday,departureDays.isPermittedOnWednesday,id,images.*.applicableEndDate,images.*.applicableStartDate,images.*.copyright,images.*.heightPixel,images.*.isMainImage,images.*.license,images.*.name.cs,images.*.name.de,images.*.name.en,images.*.name.fr,images.*.name.it,images.*.name.nl,images.*.name.pl,images.*.name.ru,images.*.order,images.*.rid,images.*.url,images.*.widthPixel,videos.*.rid,videos.*.copyright,videos.*.isActive,videos.*.genre.rid,videos.*.license,videos.*.name.cs,videos.*.name.de,videos.*.name.en,videos.*.name.fr,videos.*.name.it,videos.*.name.nl,videos.*.name.pl,videos.*.name.ru,videos.*.description.cs,videos.*.description.de,videos.*.description.en,videos.*.description.fr,videos.*.description.it,videos.*.description.nl,videos.*.description.pl,videos.*.description.ru,videos.*.url.cs,videos.*.url.de,videos.*.url.en,videos.*.url.fr,videos.*.url.it,videos.*.url.nl,videos.*.url.pl,videos.*.url.ru,videos.*.htmlSnippet.cs,videos.*.htmlSnippet.de,videos.*.htmlSnippet.en,videos.*.htmlSnippet.fr,videos.*.htmlSnippet.it,videos.*.htmlSnippet.nl,videos.*.htmlSnippet.pl,videos.*.htmlSnippet.ru,descriptions.*.type,descriptions.*.description.cs,descriptions.*.description.de,descriptions.*.description.en,descriptions.*.description.fr,descriptions.*.description.it,descriptions.*.description.nl,descriptions.*.description.pl,descriptions.*.description.ru,isActive,isReadOnly,lastUpdate,maxStayDuration,minStayDuration,name.cs,name.de,name.en,name.fr,name.it,name.nl,name.pl,name.ru,owner.rid,participatingAccommodations.*.accommodation.rid,participatingAccommodations.*.status,participationDeadline,seasons.*.endDateTime,seasons.*.startDateTime,services.*.rid,skiArea.rid,themes.*.rid,website,winterCategory).

Response

successful operation

successboolean required

Example response

{
  "success": true,
  "data": [
    {
      "rid": "DB671204DCF2C54B45E2AE0361D7CC92",
      "adultsMaxNumber": 86,
      "adultsMinNumber": 48,
      "arrivalDays": {
        "isPermittedOnFriday": true,
        "isPermittedOnSunday": true
      },
      "childrenMaxNumber": 88,
      "childrenMinNumber": 91,
      "departureDays": {
        "isPermittedOnFriday": true,
        "isPermittedOnMonday": true,
        "isPermittedOnSunday": true,
        "isPermittedOnThursday": true,
        "isPermittedOnTuesday": true,
        "isPermittedOnWednesday": true
      },
      "id": 17,
      "images": [
        {
          "applicableEndDate": "1982-09-14T21",
          "applicableStartDate": "1995-04-02T23",
          "copyright": "Quis qui.",
          "heightPixel": 98,
          "license": "cc0",
          "name": {
            "cs": "Facilis et.",
            "de": "Aut.",
            "en": "Error ullam.",
            "fr": "Iusto et.",
            "it": "Quos.",
            "nl": "Enim.",
            "pl": "Ullam.",
            "ru": "Hic tempore."
          },
          "order": 63,
          "rid": "CE9A4565198E980D1135A7B64C710B4D",
          "url": "http://christiansen.com/quia-dignissimos-dicta-laborum-eveniet-libero-commodi",
          "widthPixel": 93
        }
      ],
      "videos": [
        {
          "rid": "AD12ABE6BD30854DF95E3AB7C79FC80F",
          "copyright": "Et.",
          "isActive": true,
          "genre": {
            "rid": "111CD4CE4C4CEA4FB7389FBE6157225D"
          },
          "license": "lts",
          "name": {
            "cs": "In quas.",
            "de": "Saepe.",
            "en": "Sapiente.",
            "fr": "Sunt.",
            "it": "Accusantium.",
            "nl": "Sequi.",
            "pl": "Sunt sapiente.",
            "ru": "Sunt."
          },
          "description": {
            "cs": "Sed et.",
            "de": "Magnam.",
            "en": "Minus.",
            "fr": "Quia.",
            "it": "Est odit.",
            "nl": "Aut amet.",
            "pl": "Minima.",
            "ru": "Quo."
          },
          "url": {
            "cs": "Expedita.",
            "de": "Enim.",
            "en": "Est.",
            "fr": "In soluta.",
            "it": "Beatae.",
            "nl": "Quis sunt.",
            "pl": "Quam.",
            "ru": "Ea velit."
          },
          "htmlSnippet": {
            "cs": "Ex.",
            "de": "Nulla.",
            "en": "Molestiae.",
            "fr": "Numquam.",
            "it": "Quia.",
            "nl": "Quisquam.",
            "pl": "Quae amet.",
            "ru": "Nesciunt."
          }
        }
      ],
      "descriptions": [
        {
          "type": "howToArrive|shortDescription|longDescription|whatToBring|cancellationModality|servicesIncluded|faq|whatIsOffered|routeDescription|howToPark|publicTransport|authorTip|safetyInstructions|equipment|undefined|generalDescription",
          "description": {
            "cs": "Omnis sint.",
            "de": "Nihil optio.",
            "en": "Accusantium.",
            "fr": "Repellat.",
            "it": "Qui.",
            "nl": "Qui ex.",
            "pl": "Vel.",
            "ru": "Consequatur."
          }
        }
      ],
      "isReadOnly": true,
      "lastUpdate": "2015-09-15T08",
      "maxStayDuration": 16,
      "minStayDuration": 29,
      "name": {
        "cs": "Autem.",
        "de": "Quia odio.",
        "en": "Vitae.",
        "fr": "Esse.",
        "it": "Consectetur.",
        "nl": "In corrupti.",
        "pl": "In.",
        "ru": "Error ad nam."
      },
      "owner": {
        "rid": "86644F201AEEB1DBBEF917327D68AFB6"
      },
      "participatingAccommodations": [
        {
          "accommodation": {
            "rid": "69EF9AC319EC88F26638154DFB91980C"
          },
          "status": "selected"
        }
      ],
      "participationDeadline": "2024-06-22",
      "seasons": [
        {
          "endDateTime": "1926-10-19T10",
          "startDateTime": "1998-10-03T02"
        }
      ],
      "services": [
        {
          "rid": "8B1453DC2B9A00EEAEA91EB60B408C15"
        }
      ],
      "skiArea": {
        "rid": "82437BCF43169C88A9410EA390E21AB1"
      },
      "themes": [
        {
          "rid": "CB6A4BC53A79E61F8A23B523134D2C45"
        }
      ],
      "website": "http://grimes.com/mollitia-voluptatem-voluptas-voluptas-voluptatem",
      "winterCategory": 53
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.