Name
|
Description
|
---|---|
status_code
|
Status code of the response. For more information, see Geocode API Response Status Codes below.
|
status_message
|
Status message of the response.
|
Items
|
Array of matching addresses, with latitude and longitude value for each location.
|
latitude
|
Latitude value for a matching address.
|
longitude
|
Longitude value for a matching address.
|
address
|
Full address details for matching addresses. If no detailed addresses are returned from the Map Provider API, returns address fragments instead (word parameter). Used to identify each matching address when multiple addresses are returned.
|
Name
|
Description
|
---|---|
status_code
|
Status code of the response. For more information, see Geocode API Response Status Codes below.
|
status_message
|
Status message of the response.
|
Items
|
Array of matching addresses, each with longitude and latitude and full address details including street, city, state, country, and so on.
|
Latitude
|
Latitude of a matching address.
|
Longitude
|
Longitude of a matching address.
|
Address
|
Detailed address information, formatted as a single-line address
|
Country
|
Country of a matching address.
|
State
|
Province or state of a matching address.
|
City
|
City of a matching address.
|
District
|
District of a matching address.
|
Route
|
Route for a matching address, for example, US 101.
|
Street
|
Street name of a matching address.
|
street_number
|
Street number of a matching address.
|
country_code
|
Country code of a matching address, for example, US.
|
postal_code
|
Postal code of a matching address.
|
Code
|
Message
|
Description
|
---|---|---|
0
|
Success
|
Successful request. Single matched address returned.
|
1
|
Request success but no result return.
|
Successful request. No matched result returned, for example, for example, because invalid address or latitude/longitude values were passed.
|
2
|
Request success with multiple results return.
|
Successful request. Multiple matched addresses returned.
|
3
|
Invalid request, missing the "addressKeyword" parameter.
Invalid request, missing the "latitude" or "longitude" parameter.
|
Parameter is null, empty, or invalid. Latitude and longitude values must be numbers in String format, with a latitude scope of –90 to 90 and longitude scope of –180 to 180. For example, addressKeyword = "", latitude = "100" causes this error.
|
4
|
No default map provider specified in current setting.
|
No default map provider specified in the active system setting.
|
5
|
Invalid API Key.
|
Specified API key is invalid.
|
6
|
Invalid signature or client id.
|
Specified signature value is invalid for the specified client ID, or the specified client value is invalid.
|
7
|
Request over query limit.
|
Request exceeds the query quota.
|
8
|
Unable to authenticate the request.
|
Unsuccessful request caused by a map provider server authentication issue.
|
9
|
Current map provider is not supported.
|
Current map provider not supported for the Geocode and Reverse Geocode APIs. At this time, only Google and OpenStreetMap are supported.
|
101
|
Server Internal Error.
|
Server internal errors occurred on the map provider server.
|
102
|
Unknown error.
|
Other unknown errors returned from the map provider server.
|
|
All latitude and longitude input values must be in the WGS84 coordinate system. Output values are also in this format. Each map provider API has different response attributes, which are converted to a consistent object with a single set of attributes, for example, resultObject.
|