PPylon Developers
ApiTicket Administration

Get ticket statistics

Returns aggregated ticket statistics for a session including total issued, check-ins, refunds, and voids.

GET
/api/v1/sessions/{sessionId}/tickets/statistics
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Path Parameters

sessionId*string
Formatuuid

Response Body

application/json

application/json

application/problem+json

curl -X GET "https://loading/api/v1/sessions/497f6eca-6276-4993-bfeb-53cbbbba6f08/tickets/statistics"
{
  "statistics": {
    "totalIssued": 0,
    "totalValid": 0,
    "totalCheckedIn": 0,
    "totalRefunded": 0,
    "totalVoided": 0,
    "checkInPercentage": 0.1
  }
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}