Skip to main content

Get transit statistics

GET

https://api-v2.test.eldowallet.fr/transits/stats

Returns statistics on the wallet's transit tickets: total (totalCustomers), active (totalActifCustomers) and redeemed (redeemedPassesCount). Filter by template, transit type or creation period.

Good to know
  • The wallet must have the TRANSIT pass type enabled.

Request​

query parameters
  • transitId string
    Limits the statistics to this transit template. Takes precedence over `transitType`.
  • transitType string
    Limits the statistics to templates of this type: `Bus`, `Boat`, `Train`, `Air`, `Generic` or `Tram`.
    enum: Bus, Boat, Train, Air, Generic, Tram
  • startDate string <date-time>
    Start of the period (ISO 8601), applied to the passes' creation date.
  • endDate string <date-time>
    End of the period (ISO 8601), applied to the passes' creation date.
header parameters
  • x-lang string
    Language for responses
    enum: en, frdefault: "en"

Responses​

Schema application/json
  • totalCustomers number required
    Total customers
  • totalActifCustomers number required
    Total active customers
  • redeemedPassesCount number required
    Redeemed passes count

API news, once a month

New endpoints, upcoming changes, guides and use cases. No spam, one-click unsubscribe.

Report a technical problem

An API error, a pass that does not update, an email that does not arrive? Describe the problem: our technical team will answer.

For a fast answer, include:

  • The method and endpoint (e.g. POST /clients)
  • The error code returned (errorCode) and the body sent
  • The date and time of the call
  • The identifiers involved (customer, template, pass)

Never include an API token or a password.

AI assistant

Beta

Loading…

AI-generated answers (Claude): double-check important details.

Sign in to use the assistant