Check-in

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

Parameters

ticket_number
required
The 19 digit ticket number
api-key
required

Return

is_successfulIndicates if the ticket could be checked-in. If the ticket could not be checked-in, you find the reason in unsuccessful_code
unsuccessful_codeThere are 3 possible error codes:
- ticket_not_found

- ticket_deleted

- ticket_already_checkedin

Example: Successful check-in

POST https://api.e-guma.ch/v1/ticketing/tickets/4688892266798743783/checkin.json?apikey=510e32c594d84816a4af9df1
{
    "is_successful": true,
    "unsuccessful_code": null
}

Example: Unsuccessful check-in

POST https://api.e-guma.ch/v1/ticketing/tickets/4688892266798743783/checkin.json?apikey=510e32c594d84816a4af9df1
{
    "is_successful": false,
    "unsuccessful_code": "ticket_already_checkedin"
}