SmartGare
API referenceEndpoints

Read the ticketing model in force on a day

The model the carrier held on a station day, today when none is stated. **Required permission:** `referential.carrier:read`

GET/referential/v1/carriers/{id}/ticketing-model

The model the carrier held on a station day, today when none is stated.

Required permission: referential.carrier:read

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Query Parameters

as_of?string

Station day, ISO date; today when absent.

Formatdate

Response Body

*/*

curl -X GET "https://example.com/referential/v1/carriers/string/ticketing-model"
{  "as_of": "2019-08-24",  "carrier_id": "string",  "ticketing_model": "string"}