GeoRequest
A single geo entity lookup criterion used in a geo location search request.
Declaration
object GeoRequestProperties
| Name | Type | Description |
|---|---|---|
id | string | Numeric string geo location identifier ( |
legacyId | string | Pipe-delimited geo code encoding the hierarchy, such as |
entity Required | GeoEntityType | Geo entity type. Values: |
Discussion
The GeoRequest object specifies a single geographic entity to look up within a GeoSearchPostRequest. Both identifiers work for any entity type. Use whichever you already have. Search results return both so you can switch between them freely.
To batch-resolve geo entity eligibility in one call, use multiple GeoRequest objects in a single GeoSearchPostRequest.
Example
{
"id": "123456789",
"entity": "Locality"
}