Search vehicle categories
Returns vehicle categories matching optional text and status filters. **Required permission:** `referential.vehicle-category:read`
/referential/v1/vehicle-categoriesReturns vehicle categories matching optional text and status filters.
Required permission: referential.vehicle-category:read
Authorization
oauth2 In: header
Query Parameters
Matches part of a code or name.
Restrict to one lifecycle status; defaults to ACTIVE.
Value in
- "ACTIVE"
- "RETIRED"
- "ACTIVE"
- "RETIRED"
- "ACTIVE"
- "RETIRED"
- "ACTIVE"
- "RETIRED"
Result ordering.
Value in
- "codeAsc"
- "codeDesc"
- "nameAsc"
- "nameDesc"
- "codeAsc"
- "codeDesc"
- "nameAsc"
- "nameDesc"
Zero-based page index.
int320 <= valuePage size, at most 200.
int320 <= value <= 200Response Body
*/*
curl -X GET "https://example.com/referential/v1/vehicle-categories"{ "data": [ { "code": "string", "description": "string", "name": "string", "status": "string" } ], "page": 0, "size": 0, "total": 0}Search the official list of places
Returns the active places whose name, in any language, contains the letters given, those that start with them first, each with its kind, the places it lies in and each source's code for it. **Required permission:** `referential.locality:read`
Add a vehicle category
Adds a vehicle category to the catalog and answers its code, the reference it is read by. **Required permission:** `referential.vehicle-category:write`