API referenceEndpoints
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`
POST
/ticketing/v1/tariff-releases/{id}/submitChecks 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
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
*/*
*/*
curl -X POST "https://example.com/ticketing/v1/tariff-releases/string/submit"{ "content_hash": "string", "id": "string", "status": "DRAFT", "submitted_at": "2019-08-24T14:15:22Z"}Approve a tariff release
Puts a submitted release in force at once, or at a later instant. **Required permission:** `ticketing.tariff:approve`
Withdraw a tariff release
Withdraws a draft, a submitted release, or an approved one whose instant has not come. **Required permission:** `ticketing.tariff:write`