API referenceEndpoints
Approve a tariff release
Puts a submitted release in force at once, or at a later instant. **Required permission:** `ticketing.tariff:approve`
POST
/ticketing/v1/tariff-releases/{id}/approvePuts a submitted release in force at once, or at a later instant.
Required permission: ticketing.tariff:approve
Authorization
oauth2 AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
body*ApproveTariffReleaseRequest
Response Body
*/*
*/*
curl -X POST "https://example.com/ticketing/v1/tariff-releases/string/approve" \ -H "Content-Type: application/json" \ -d '{}'{ "approved_at": "2019-08-24T14:15:22Z", "approved_by": "string", "effective_at": "2019-08-24T14:15:22Z", "id": "string", "status": "DRAFT"}Revise a draft tariff release
Replaces the draft's name, rounding, kinds of traveller and rows. **Required permission:** `ticketing.tariff:write`
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`