Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| latitude |
The latitude. |
decimal number |
Required |
| longitude |
The longitude. |
decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
A json string result.
Micro.GeoLocation| Name | Description | Type | Additional information |
|---|---|---|---|
| city |
Gets or sets the city. |
City |
None. |
| county |
Gets or sets the county. |
Micro.County |
None. |
| state |
Gets or sets the state. |
Micro.State |
None. |
| zip |
Gets or sets the zip. |
string |
None. |
| country |
Gets or sets the country. |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"city": {
"name": "sample String 1"
},
"county": {
"id": "1",
"fipsId": "sample String 2",
"state": "sample String 3",
"name": "sample String 4"
},
"state": {
"id": "sample String 1",
"abbreviation": "sample String 1",
"state": "sample String 2"
},
"zip": "sample String 1",
"country": "sample String 2"
}
text/html
Sample:
{"city":{"name":"sample String 1"},"county":{"id":"1","fipsId":"sample String 2","state":"sample String 3","name":"sample String 4"},"state":{"id":"sample String 1","abbreviation":"sample String 1","state":"sample String 2"},"zip":"sample String 1","country":"sample String 2"}
application/xml, text/xml
Sample:
<GeoLocation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<City>
<Name>sample String 1</Name>
</City>
<County>
<CountyId>1</CountyId>
<FIPSId>sample String 2</FIPSId>
<State>sample String 3</State>
<Name>sample String 4</Name>
</County>
<State>
<Abbreviation>sample String 1</Abbreviation>
<Name>sample String 2</Name>
</State>
<Zip>sample String 1</Zip>
<Country>sample String 2</Country>
</GeoLocation>