EventDate

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

post/v1/events/dates/search

Request

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

Request body

fieldsstring[]

Example request

{
  "parameters": {
    "rids": [
      "864B768FF0F66542F5BEF8DBCB6E5BA1"
    ],
    "onlyActive": true,
    "lastUpdate": "1926-08-29T06",
    "searchTerm": "Eum.",
    "language": "cs",
    "aroundPosition": {
      "coordinates": [
        "Saepe."
      ],
      "radiusInMeters": 26
    },
    "resultSet": {
      "rid": "4FAB287253528A8D7F5286EBC28B95B3"
    },
    "eventRids": [
      "B2C3B5888BF78798A94CDC21606A138D"
    ],
    "posId": "8209A2317072887F72E7A61AE4597470",
    "startDate": "1931-08-17",
    "endDate": "1969-08-27",
    "publisherRids": [
      "711C6FE943A3EA7A9E73FE07FC4F0F97"
    ],
    "publisherMinImportanceRate": 26,
    "categoryRids": [
      "F0DBA7F83F6AECCDE296FF86E92FD231"
    ],
    "districtRids": [
      "FA3FDCB6C0C58B5A8D644E40FFFAA1EC"
    ],
    "organizerRids": [
      "EEB819CF0C06770ABB56D4E000E092D8"
    ],
    "tagRids": [
      "C7E26DE2DAA85728961B07020AF4D0C3"
    ],
    "ownerRids": [
      "6361394D5F97FFA1E31DCDFA40042869"
    ],
    "onlyVisibleInTicketing": true,
    "classificationRids": [
      "37C4ED74CDF61F6540DC0094DC3A3E23"
    ],
    "paging": {
      "pageNumber": 1,
      "pageSize": 2
    },
    "sorting": [
      {
        "order": "desc"
      }
    ]
  },
  "fields": [
    "rid",
    "date",
    "event.rid",
    "lastUpdate",
    "period.rid",
    "startTime"
  ]
}

Response

successful operation

successboolean required

Example response

{
  "success": true,
  "data": [
    {
      "rid": "DF6D8DAAB611B9CFC6B78983421E0041",
      "date": "2013-01-01",
      "event": {
        "rid": "75980FCB1DD77E99BA43B00C8252A27C"
      },
      "lastUpdate": "1955-08-29T08",
      "period": {
        "rid": "052F6A160AAD6A9222698C82E6E9B60C"
      },
      "startTime": "23"
    }
  ]
}

Changes

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