Ticket Information

Use this endpoint to display the information of a ticket in your app.

GET https://api.e-guma.ch/v1/ticketing/tickets/{ticket_number}/info.json?apikey={api-key}

Parameters

ticket_number
required

The 19 digit ticket number

api-key
required

Return

id

The id of the ticket.

ticket_number

The same ticket number that you provided as parameter.

created_at

The date the ticket has been created (ISO 8601 format).

price_in_cents

The price of the ticket in cents.

is_checked_in

If the ticket has been used.

checked_in_at

When the ticket has been checked in. Null if it has not been checked in.

event_or_admission_id

The id of the event or admission.

Example

GET https://api.e-guma.ch/v1/ticketing/tickets/4688892266798743783/info.json?apikey=510e32c594d84816a4af9df1
{
  "id": "5c92a097a412b70f68370de9",
  "ticket_number": "4688892266798743783",
  "created_at": "2019-03-20T21:20:39",
  "price_in_cents": 4900,
  "is_checked_in": false,
  "checked_in_at": null,
  "event_or_admission_id": "5a8d3112a412b76a64ab9ab6"
}