HolidayPackageService

Advanced and json-based endpoint to list, search and filter HolidayPackageServices

post/v1/holidaypackages/services/search

Request

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

Request body

fieldsstring[]

Example request

{
  "parameters": {
    "rids": [
      "68142EDB8034D4B1425F8EF8A6826A1C"
    ],
    "lastUpdate": "1949-08-14T02",
    "searchTerm": "Quo alias.",
    "language": "it",
    "paging": {
      "pageNumber": 1,
      "pageSize": 2
    },
    "sorting": [
      {
        "order": "desc"
      }
    ]
  },
  "fields": [
    "rid",
    "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",
    "isActive",
    "isReadOnly",
    "name.cs",
    "name.de",
    "name.en",
    "name.fr",
    "name.it",
    "name.nl",
    "name.pl",
    "name.ru",
    "priceSettings",
    "rates.*.amount",
    "rates.*.endDate",
    "rates.*.maxAge",
    "rates.*.minAge",
    "rates.*.rid",
    "rates.*.startDate",
    "rates.*.value",
    "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"
  ]
}

Response

successful operation

successboolean required

Example response

{
  "success": true,
  "data": [
    {
      "rid": "F446E2789DDEAAA05A877D1D7DB32350",
      "id": 63,
      "images": [
        {
          "applicableEndDate": "08-23",
          "applicableStartDate": "03-07",
          "copyright": "Non enim.",
          "heightPixel": 63,
          "license": "lts",
          "name": {
            "cs": "Fuga.",
            "de": "Quia vel.",
            "en": "Omnis.",
            "fr": "Accusamus.",
            "it": "Modi.",
            "nl": "Neque.",
            "pl": "Qui.",
            "ru": "Dolores."
          },
          "order": 23,
          "rid": "33D4112EA22E0FEE1499E7E19DF1291D",
          "url": "http://www.purdy.org/perferendis-sed-quibusdam-sint-et",
          "widthPixel": 55
        }
      ],
      "isActive": true,
      "name": {
        "cs": "Occaecati.",
        "de": "Quia.",
        "en": "Ut.",
        "fr": "Quam voluptas.",
        "it": "Vero cum.",
        "nl": "Nobis sequi.",
        "pl": "Ipsam.",
        "ru": "Ex ut quod."
      },
      "priceSettings": "pricePerDate",
      "rates": [
        {
          "amount": 567,
          "endDate": "1930-02-12",
          "maxAge": 34,
          "minAge": 13,
          "rid": "D6AAEF14D4564735396530DCD522FAC8",
          "startDate": "1926-05-13",
          "value": 3165251
        }
      ],
      "videos": [
        {
          "rid": "F564DFE44C2055D3C871E30D3490AB30",
          "copyright": "Aut.",
          "genre": {
            "rid": "8E142B0B0AA83506D5871BCDCE4A68D9"
          },
          "license": "cc0",
          "name": {
            "cs": "Repellendus.",
            "de": "Est.",
            "en": "Suscipit.",
            "fr": "Aut.",
            "it": "Placeat.",
            "nl": "Ut saepe ea.",
            "pl": "Harum.",
            "ru": "Omnis aut aut."
          },
          "description": {
            "cs": "Commodi.",
            "de": "Possimus.",
            "en": "Modi ut.",
            "fr": "Animi.",
            "it": "Minima.",
            "nl": "Quidem.",
            "pl": "Et aut at.",
            "ru": "Eius."
          },
          "url": {
            "cs": "Dolorem.",
            "de": "Ut.",
            "en": "Qui.",
            "fr": "Vitae est.",
            "it": "Aut.",
            "nl": "Velit.",
            "pl": "Et.",
            "ru": "Molestias."
          },
          "htmlSnippet": {
            "cs": "Quas.",
            "de": "Expedita.",
            "en": "Sunt a.",
            "fr": "Et nobis.",
            "it": "Qui nisi.",
            "nl": "Corrupti.",
            "pl": "Ipsum.",
            "ru": "Ut ut."
          }
        }
      ],
      "descriptions": [
        {
          "type": "howToArrive|shortDescription|longDescription|whatToBring|cancellationModality|servicesIncluded|faq|whatIsOffered|routeDescription|howToPark|publicTransport|authorTip|safetyInstructions|equipment|undefined|generalDescription",
          "description": {
            "cs": "In harum.",
            "de": "Tenetur.",
            "en": "Aut omnis.",
            "fr": "Sit.",
            "it": "Eius qui aut.",
            "nl": "Rem.",
            "pl": "Nam.",
            "ru": "Consequatur."
          }
        }
      ]
    }
  ]
}

Changes

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