GET api/geocode/{address}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| address | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Coordinates| Name | Description | Type | Additional information |
|---|---|---|---|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| Source | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Latitude": 1.1,
"Longitude": 2.1,
"Source": "sample string 3"
}
application/xml, text/xml
Sample:
<Coordinates xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PrismAPI.Models"> <Latitude>1.1</Latitude> <Longitude>2.1</Longitude> <Source>sample string 3</Source> </Coordinates>