SmartGare
API referenceEndpoints

List the voided ticket codes

Returns the codes a reissue voided, oldest first, from `since` on when given, paginated: each code exactly as printed on the lost or copied paper, its ticket and when it was voided. The gate maker reads it so its offline readers refuse that paper. Changes nothing. **Required permission:** `ticketing.signing-key:read`

GET/ticketing/v1/tickets/voided-codes

Returns the codes a reissue voided, oldest first, from since on when given, paginated: each code exactly as printed on the lost or copied paper, its ticket and when it was voided. The gate maker reads it so its offline readers refuse that paper. Changes nothing.

Required permission: ticketing.signing-key:read

AuthorizationBearer <token>

In: header

Query Parameters

since?string

Only the codes voided at or after this moment; every one when absent.

Formatdate-time
page?integer

Zero-based page index, at most 10000.

Formatint32
Range0 <= value <= 10000
size?integer

Page size, at most 1000.

Formatint32
Range0 <= value <= 1000

Response Body

*/*

curl -X GET "https://example.com/ticketing/v1/tickets/voided-codes"
{  "data": [    {      "code": "string",      "ticket_id": "string",      "voided_at": "2019-08-24T14:15:22Z"    }  ],  "page": 0,  "size": 0,  "total": 0}