TourismOrganization

List, search or filter TourismOrganizations

get/v1/tourismorganizations

Request

  • Base URL: https://go.lts.it/api
  • URL: https://go.lts.it/api/v1/tourismorganizations
  • 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
onlyActiveAccommodations0 | 1
onlyActiveGastronomies0 | 1
onlySuedtirolInfoActiveAccommodations0 | 1
lastUpdatestring date-time

Date and time of last change

parentTourismOrganizationRidsstring
searchTermstring
language'cs' | 'de' | 'en' | 'nl' | 'fr' | 'it' | 'pl' | 'ru'
types'tourismOrganization' | 'tourismFederation' | 'touristOfficeMerano' | 'touristOfficeBolzano'

Types of the TourismOrganization (see enums list for possible values in the schema definition)

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 TourismOrganization by record Rids. Rules:multiple, size:32, string<br>filter[onlyActive] If set, it returns only active records. Rules:boolean<br>filter[onlyActiveAccommodations] Rules:boolean<br>filter[onlyActiveGastronomies] Rules:boolean<br>filter[onlySuedtirolInfoActiveAccommodations] Rules:boolean<br>filter[lastUpdate] Date filter for last update. Rules:date_format:Y-m-d\TH:i:s.v<br>filter[parentTourismOrganizationRids] Rules:multiple, size:32, string<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[types] If set, it retursn only the tourism organization of that type (see enums list for possible values in the schema definition). Rules:multiple, string, in:tourismOrganization,tourismFederation,touristOfficeMerano,touristOfficeBolzano<br>filter[aroundPosition][coordinates] Coordinates filter for around position. Rules:multiple, required_with:aroundPosition.radiusInMeters<br>filter[aroundPosition][radiusInMeters] Radius filter in meters for around position. Rules:integer, required_with:aroundPosition.coordinates

{
  "rids": "9CAD23E9BE9166F56DD2643FDED9C5C2",
  "onlyActiveAccommodations": 1,
  "onlyActiveGastronomies": 1,
  "onlySuedtirolInfoActiveAccommodations": 1,
  "lastUpdate": "1937-05-15T10",
  "parentTourismOrganizationRids": "3989271D423AB4446282E52C2CF14AB7",
  "searchTerm": "Illo.",
  "language": "pl",
  "types": "tourismFederation",
  "aroundPosition": {
    "coordinates": "Quis.",
    "radiusInMeters": 43
  }
}
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,code,contacts.*.address.city.cs,contacts.*.address.city.de,contacts.*.address.city.en,contacts.*.address.city.fr,contacts.*.address.city.it,contacts.*.address.city.nl,contacts.*.address.city.pl,contacts.*.address.city.ru,contacts.*.address.country,contacts.*.address.name.cs,contacts.*.address.name.de,contacts.*.address.name.en,contacts.*.address.name.fr,contacts.*.address.name.it,contacts.*.address.name.nl,contacts.*.address.name.pl,contacts.*.address.name.ru,contacts.*.address.postalCode,contacts.*.address.street.cs,contacts.*.address.street.de,contacts.*.address.street.en,contacts.*.address.street.fr,contacts.*.address.street.it,contacts.*.address.street.nl,contacts.*.address.street.pl,contacts.*.address.street.ru,contacts.*.email,contacts.*.fax,contacts.*.firstName,contacts.*.lastName,contacts.*.mobile,contacts.*.phone,contacts.*.type,contacts.*.website,isActive,lastUpdate,parentTourismOrganization.rid,type).

Response

successful operation

successboolean required

Example response

{
  "success": true,
  "data": [
    {
      "type": "tourismOrganization",
      "rid": "E9D26946BE538F7CC2F253564627095F",
      "code": "Et aut.",
      "contacts": [
        {
          "address": {
            "city": {
              "cs": "Et.",
              "de": "Nemo sed aut.",
              "en": "Mollitia.",
              "fr": "Libero.",
              "it": "At nihil.",
              "nl": "Cumque.",
              "pl": "Hic et.",
              "ru": "Ipsa."
            },
            "country": "IT",
            "name": {
              "cs": "Reiciendis.",
              "de": "Quaerat.",
              "en": "Illo quam.",
              "fr": "Quia.",
              "it": "Ipsam.",
              "nl": "Aut quo.",
              "pl": "Aut facilis.",
              "ru": "Ab."
            },
            "postalCode": "Rerum.",
            "street": {
              "cs": "In vero.",
              "de": "In vel.",
              "en": "Architecto.",
              "fr": "Quas eius.",
              "it": "Ut.",
              "nl": "A consequatur.",
              "pl": "Soluta.",
              "ru": "Itaque quasi."
            }
          },
          "email": "vhauck@witting.org",
          "fax": "Est.",
          "firstName": "Marilie",
          "lastName": "Adams",
          "mobile": "Repellat cum.",
          "phone": "Consequatur.",
          "type": "main",
          "website": "http://www.von.com/veniam-illo-eum-soluta-minus-quaerat-sint-qui.html"
        }
      ],
      "isActive": true,
      "lastUpdate": "1944-08-03T06",
      "parentTourismOrganization": {
        "rid": "996CEA90EF95461311CAD2E814D1C31D"
      }
    }
  ]
}

Changes

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