API referenceEndpoints
Search station areas
Returns station areas matching optional text, kind and status filters.
GET
/referential/v1/station-areasReturns station areas matching optional text, kind and status filters.
Authorization
oauth2 AuthorizationBearer <token>
In: header
Query Parameters
search?string
Matches part of a code or name.
Default
nullkind?string
Restrict to one area kind, e.g. FORECOURT.
Default
nullstatus?string
Restrict to one lifecycle status; defaults to ACTIVE.
Default
nullValue in
- "ACTIVE"
- "RETIRED"
- "ACTIVE"
- "RETIRED"
sort?string
Result ordering.
Default
nullValue in
- "codeAsc"
- "codeDesc"
- "newest"
- "oldest"
- "codeAsc"
- "codeDesc"
- "newest"
- "oldest"
- "codeAsc"
- "codeDesc"
- "newest"
- "oldest"
page?integer
Zero-based page index.
Format
int32Range
0 <= valueDefault
nullsize?integer
Page size, at most 200.
Format
int32Range
0 <= value <= 200Default
nullResponse Body
*/*
curl -X GET "https://example.com/referential/v1/station-areas"{ "data": [ { "id": "string", "code": "string", "name": "string", "kind": "string", "status": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "page": 0, "size": 0, "total": 0}