GET api/GeoCode/GetGeocodedAddress?address={address}&key={key}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
address | string |
Required |
|
key | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
GeoCodeResponseDTOName | Description | Type | Additional information |
---|---|---|---|
results | Collection of Result |
None. |
|
status | GeoCodeResponseStatusEnum |
None. |
|
state | string |
None. |
|
city | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "results": [ { "address_components": [ { "long_name": "sample string 1", "short_name": "sample string 2", "types": [ "sample string 1", "sample string 2" ] }, { "long_name": "sample string 1", "short_name": "sample string 2", "types": [ "sample string 1", "sample string 2" ] } ], "formatted_address": "sample string 1", "geometry": { "location": { "lat": 1.1, "lng": 2.1 }, "location_type": "sample string 1" }, "place_id": "sample string 2", "types": [ "sample string 1", "sample string 2" ] }, { "address_components": [ { "long_name": "sample string 1", "short_name": "sample string 2", "types": [ "sample string 1", "sample string 2" ] }, { "long_name": "sample string 1", "short_name": "sample string 2", "types": [ "sample string 1", "sample string 2" ] } ], "formatted_address": "sample string 1", "geometry": { "location": { "lat": 1.1, "lng": 2.1 }, "location_type": "sample string 1" }, "place_id": "sample string 2", "types": [ "sample string 1", "sample string 2" ] } ], "status": 0, "state": "sample string 1", "city": "sample string 2" }