Search permits approaching or past expiry
Returns a cross-fleet worklist in station time, including the expiry watch's durable announcement history. **Required permission:** `referential.vehicle:read`
/referential/v1/vehicle-permits/expiringReturns a cross-fleet worklist in station time, including the expiry watch's durable announcement history.
Required permission: referential.vehicle:read
Authorization
oauth2 In: header
Query Parameters
Matches part of a permit number or vehicle plate.
Restrict to permits approaching expiry or already expired.
Value in
- "ALL"
- "EXPIRING"
- "EXPIRED"
Future window in days, from station today.
int321 <= value <= 365Zero-based page index.
int320 <= valuePage size, at most 200.
int320 <= value <= 200Response Body
*/*
curl -X GET "https://example.com/referential/v1/vehicle-permits/expiring"{ "data": [ { "announcements": [ { "announced_on": "2019-08-24", "created_at": "2019-08-24T14:15:22Z", "horizon_days": 0, "kind": "string", "permit_id": "string" } ], "days_remaining": 0, "id": "string", "number": "string", "plate_number": "string", "source": "string", "valid_from": "2019-08-24", "valid_until": "2019-08-24", "vehicle_id": "string" } ], "page": 0, "size": 0, "total": 0}Revoke an identifier
Withdraws an active identifier with a stated reason. **Required permission:** `referential.vehicle:write`
Run the permit expiry watch
Requests the permit expiry watch now. A request arriving while another run owns the distributed lock is coalesced into that run. **Required permission:** `referential.vehicle:trigger-expiry-watch`