Search vehicles
Returns a page of vehicles matching optional text, carrier, type, status and standing (REGULAR or REPLACEMENT). **Required permission:** `referential.vehicle:read`
/referential/v1/vehiclesReturns a page of vehicles matching optional text, carrier, type, status and standing (REGULAR or REPLACEMENT).
Required permission: referential.vehicle:read
Authorization
oauth2 In: header
Query Parameters
Matches part of a plate, fleet number or identifier value.
Matches part of a fleet number.
Vehicle category code; unknown is not-found.
Vehicle lifecycle status.
Value in
- "ACTIVE"
- "SUSPENDED"
Keep only vehicles a non-revoked permit covers today (true), or only those none covers (false); computed at read time.
Keep only coaches of this standing: REGULAR or REPLACEMENT.
Value in
- "REGULAR"
- "REPLACEMENT"
Result ordering.
Value in
- "plateAsc"
- "plateDesc"
- "newest"
- "oldest"
Zero-based page index.
int320 <= valuePage size, at most 200.
int320 <= value <= 200Response Body
*/*
curl -X GET "https://example.com/referential/v1/vehicles"{ "data": [ { "brand": "string", "capacity": 0, "carrier_id": "string", "created_at": "2019-08-24T14:15:22Z", "fleet_number": "string", "id": "string", "length_m": 0, "model": "string", "plate_number": "string", "replacement": true, "seating_mode": "string", "service_category": "string", "standing": "string", "status": "string", "suspension_reason": "string", "type": "string", "uhf_tag_missing": true, "updated_at": "2019-08-24T14:15:22Z" } ], "page": 0, "size": 0, "total": 0}List the statuses a coach may be in
**Required permission:** `referential.vehicle:read`
Register a vehicle
Creates a vehicle for a known type. A replacement coach — standing REPLACEMENT — names the carrier it stands in for, which must be one that may operate. **Required permission:** `referential.vehicle:write`