AccommodationCategory

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

post/v1/accommodations/categories/search

Request

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

Request body

fieldsstring[]

Example request

{
  "parameters": {
    "language": "fr",
    "lastUpdate": "1963-01-02T04",
    "rids": [
      "637391953AE6711EF5F1F9243B9ABCD6"
    ],
    "paging": {
      "pageNumber": 1,
      "pageSize": 2
    },
    "sorting": [
      {
        "order": "desc"
      }
    ]
  },
  "fields": [
    "rid",
    "lastUpdate",
    "code",
    "order",
    "name.cs",
    "name.pl",
    "name.ru",
    "name.fr",
    "name.nl",
    "name.de",
    "name.en",
    "name.it"
  ]
}

Response

successful operation

successboolean required

Example response

{
  "success": true,
  "data": [
    {
      "rid": "43D3FE5F3DCFF05D22190BA9DB5109CE",
      "lastUpdate": "1973-06-28T11",
      "code": "49F90B2930706EE53",
      "order": 28,
      "name": {
        "cs": "Est sit.",
        "pl": "Sunt.",
        "ru": "Dolor.",
        "fr": "Similique.",
        "nl": "Est at.",
        "de": "Esse.",
        "en": "Sunt.",
        "it": "Aut unde."
      }
    }
  ]
}

Changes

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