Search localities
Returns localities matching optional text and status filters. **Required permission:** `referential.locality:read`
/referential/v1/localitiesReturns localities matching optional text and status filters.
Required permission: referential.locality:read
Authorization
oauth2 In: header
Query Parameters
Matches part of a code or display name.
Locality lifecycle status.
Value in
- "ACTIVE"
- "SUSPENDED"
Result ordering.
Value in
- "codeAsc"
- "codeDesc"
- "newest"
- "oldest"
Zero-based page index.
int320 <= valuePage size, at most 200.
int320 <= value <= 200Response Body
*/*
curl -X GET "https://example.com/referential/v1/localities"{ "data": [ { "code": "string", "created_at": "2019-08-24T14:15:22Z", "id": "string", "latitude": 0.1, "longitude": 0.1, "name": "string", "names_by_locale": { "property1": "string", "property2": "string" }, "status": "string", "updated_at": "2019-08-24T14:15:22Z" } ], "page": 0, "size": 0, "total": 0}Pause a route
Every version of the route does not run from a day, today or later, through a last day or with none until it is resumed; its versions and timetables are kept. **Required permission:** `referential.itinerary:write`
Declare a locality
Picks the locality from the official list of places; a typed town is refused. Its names and, when the place has one, its position come from the place. Answers 503 while no list is loaded. **Required permission:** `referential.locality:write`