GET api/Geocoder?addresses={addresses}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| addresses | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GeocodeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| status | string |
None. |
|
| error | string |
None. |
|
| address | string |
None. |
|
| lat | decimal number |
None. |
|
| lng | decimal number |
None. |
|
| fromCache | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"status": "sample string 1",
"error": "sample string 2",
"address": "sample string 3",
"lat": 1.1,
"lng": 1.1,
"fromCache": true
},
{
"status": "sample string 1",
"error": "sample string 2",
"address": "sample string 3",
"lat": 1.1,
"lng": 1.1,
"fromCache": true
}
]
text/javascript
Sample:
[{"status":"sample string 1","error":"sample string 2","address":"sample string 3","lat":1.1,"lng":1.1,"fromCache":true},{"status":"sample string 1","error":"sample string 2","address":"sample string 3","lat":1.1,"lng":1.1,"fromCache":true}]
application/xml, text/xml
Sample:
<ArrayOfGeocodeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ccx.Xrm.ZipCodes.Models">
<GeocodeDto>
<address>sample string 3</address>
<error>sample string 2</error>
<fromCache>true</fromCache>
<lat>1.1</lat>
<lng>1.1</lng>
<status>sample string 1</status>
</GeocodeDto>
<GeocodeDto>
<address>sample string 3</address>
<error>sample string 2</error>
<fromCache>true</fromCache>
<lat>1.1</lat>
<lng>1.1</lng>
<status>sample string 1</status>
</GeocodeDto>
</ArrayOfGeocodeDto>