API referenceEndpoints
Withdraw a tariff release
Withdraws a draft, a submitted release, or an approved one whose instant has not come. **Required permission:** `ticketing.tariff:write`
POST
/ticketing/v1/tariff-releases/{id}/withdrawWithdraws a draft, a submitted release, or an approved one whose instant has not come.
Required permission: ticketing.tariff:write
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
*/*
*/*
curl -X POST "https://example.com/ticketing/v1/tariff-releases/string/withdraw"{ "id": "string", "status": "DRAFT", "withdrawn_at": "2019-08-24T14:15:22Z"}Submit a tariff release for approval
Checks the draft whole and freezes its content under a fingerprint. Two rows of one priority that can price the same trip are refused. **Required permission:** `ticketing.tariff:write`
Search tickets
Returns the tickets sold, newest first, found by a ticket or sale id or narrowed by optional departure, boarding station, destination station and status filters, paginated. **Required permission:** `ticketing.ticket:read`