SmartGare
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}/submit

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

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"}