API referenceEndpoints
Search destinations
Returns destinations matching optional text and status filters.
GET
/referential/v1/destinationsReturns destinations matching optional text and status filters.
Authorization
oauth2 AuthorizationBearer <token>
In: header
Query Parameters
search?string
Matches part of a code or display name.
Default
nullstatus?string
Destination lifecycle status.
Default
nullValue in
- "ACTIVE"
- "SUSPENDED"
sort?string
Result ordering.
Default
nullValue in
- "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/destinations"{ "data": [ { "id": "string", "code": "string", "name": "string", "namesByLocale": { "property1": "string", "property2": "string" }, "latitude": 0.1, "longitude": 0.1, "status": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "page": 0, "size": 0, "total": 0}