{
  1. Introduction
  2. Version Control
  3. Ticket Shop Api
    1. Authentication
    2. Events List
    3. Event
      1. Calculation Of Fees
    4. Discount Codes
    5. Calendar
      1. Time Slots Year Month
      2. Time Slots Year Month Day
    6. Reservation
      1. Create Reservation
      2. Update Reservation
    7. Checkout

Events

Get all a list of future and/or ongoing events.

GET https://api.cmtelecom.com/ticketingapi/v1.0/ticketshop/events?key=KEY123

GET Parameters

Type Name Description Required Example
Header X-CM-PRODUCTTOKEN The product token. True 00000000-0000-0000-0000-000000000000
Header Content-Type The content type which the application expects. True application/json
Query Parameter key In some cases, an organiser wants to lock the ticket store. This can be done with our access key option. The end user has a key to unlock the ticket store. In the case the access keys are activated, the key needs to be send to our API. False KEY123

Response

Http status Description Example
200 Successful operation Event List Object
400 Bad request Info Message

Response: Event List Object

[
    {
        "uuid": "00000000-0000-0000-0000-000000000000",
        "name": "Flow Festival",
        "start_at": "2019-12-01T11:30:00+00:00",
        "end_at": "2019-12-02T11:30:00+00:00",
        "venue_name": "Amsterdam"
    },
    {
        "uuid": "00000000-0000-0000-0000-000000000000",
        "name": "Other Event",
        "start_at": null,
        "end_at": null,
        "venue_name": null
    }
]