Lookup
Detail
This feature retrieves detailed information about an entity. The id is usually retrieved from a previous entity search results list. The entity details will be dependent on the entity type which are an address or a POI. Generally, the entity details will be evaluated to determine entity detail results type. The developer will build logic based on the entity detail results type.
Request URI
Request URI | Supported Methods |
---|---|
/v5/detail/json | GET, POST |
GET
Request Parameters
Name | Description | Required |
---|---|---|
entity_ids | This API support look-up for single entity or batch look-up for multiple entities. Accepts list of entity IDs separated by ",". | Yes |
detail_level | Indicates how much data about entity to return. BASIC: returns just basic information. FULL: returns all available information. | No |
locale | The preferred language for the response content. | No |
show_address_lines | An optional parameter to return formatted address in one or multiple lines. If this parameter is set, "address_lines" will be returned in response. | No |
user_id | The id associated with the user who is sending the request. | No |
1 |
|
POST
Request Body
Name | Data Type | Required/Optional | Description |
---|---|---|---|
requestParam | EntityGetDetailRequest | required | Request object to customize the request. |
1 2 3 4 5 6 7 8 9 10 11 |
|
Response Body
Top-level JSON object:
Name | Data Type | Required/Optional | Description |
---|---|---|---|
status | Status | required | Status |
response_time | Number | required | Response time in milliseconds. |
reference_id | String | required | Reference id associated with response. |
results | [ Entity ] | required | List of results that match search criteria. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
|
Status Code
Code | Message | Description |
---|---|---|
12200 | SUCCESS | Indicates that no errors occurred. |
12200 | PARTIAL_SUCCESS | Only applicable for "batch" look-up. Indicates that look-up operation for some of IDs was not successful. |
12301 | ENTITY_MOVED | Indicates an entity id change in detail response. |
12400 | INVALID_REQUEST | Indicates either that a required parameter is missing or value of a parameter cannot be parsed. |
12404 | ENTITY_NOT_FOUND | Applicable only for "single" look-up. Indicates that service was not able to find data for the requested ID. |
12500 | INTERNAL_SERVER_ERROR | Indicates technical difficulties on API. |