Events

Event Search By Agent

Description

Returns event listing data by agent.

Request

GET /events/{agent}
  • Path Parameters:
    • agent: The agent type (e.g., ticketMaster, skybox, etc.) (required).
  • Query Parameters:
    • dateFrom (DateTime): The start date of the event. Defaults to today.
    • dateTo (DateTime): The end date of the event. Defaults to 2 years from today.
    • pageNumber (int): The page number of the results. Defaults to 1.
    • pageSize (int): The page size of the results. Defaults to 1000 (Max is 5000).
    • eventName (string): The event name to filter by (using SQL '%').

Response

  • Status Code: 200 OK
  • Content Type: application/json
  • Response Body: Event listing data.
  • Possible Status Codes:
    • 400 Bad Request: Returned if the request was not in the correct format.
    • 404 Not Found: Returned if the agent was not found.

Example

GET /events/ticketMaster?dateFrom=2023-01-01&dateTo=2023-12-31

Response:

{
    "events": [
        {
            "id": "evt_12345",
            "name": "Event Name",
            ...
        }
    ]
}
Previous
Event Search