Help

List localities that have a map.

List localities that have a map.

GET
/map-localities

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from POST /directory/connect/token. Scope olifyapi.

In: header

Query Parameters

$filter?string
$orderby?string
$select?string
$expand?string
$count?boolean
$top?integer

Page size. Host OData:MaxTop is 10000.

Range0 <= value <= 10000
$skip?integer
Range0 <= value

Header Parameters

Olify-Tenant-Id*string

Tenant GUID the caller is allowed to access.

Formatuuid

Response Body

LocalityWithMap

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/map-localities" \  -H "Olify-Tenant-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "value": [    {      "code": "string",      "name": "string",      "address": {        "streetAddress1": "string",        "streetAddress2": "string",        "streetAddress3": "string",        "city": "string",        "cityDistrict": "string",        "postalCode": "string",        "coordinates": {          "latitude": "string",          "longitude": "string"        },        "countryCode": "string"      },      "levelEntityCategory": {        "code": "string",        "name": "string",        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"      },      "layerCount": "string",      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"    }  ],  "count": 0}