GET api/v1/Geocoding?City={City}&Country={Country}
GetAddresses
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| City |
Define this parameter in the request URI. |
|
| Country |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
[
{
"Line1": "sample string 1",
"Line2": "sample string 2",
"Place": "sample string 3",
"City": {
"Code": "sample string 1",
"Name": "sample string 2"
},
"PostalCode": "sample string 4",
"StateProvince": {
"Code": "sample string 1",
"Name": "sample string 2"
},
"Country": {
"Code": "sample string 1",
"Name": "sample string 2"
},
"Location": {
"lat": 1.1,
"lng": 2.1
}
},
{
"Line1": "sample string 1",
"Line2": "sample string 2",
"Place": "sample string 3",
"City": {
"Code": "sample string 1",
"Name": "sample string 2"
},
"PostalCode": "sample string 4",
"StateProvince": {
"Code": "sample string 1",
"Name": "sample string 2"
},
"Country": {
"Code": "sample string 1",
"Name": "sample string 2"
},
"Location": {
"lat": 1.1,
"lng": 2.1
}
},
{
"Line1": "sample string 1",
"Line2": "sample string 2",
"Place": "sample string 3",
"City": {
"Code": "sample string 1",
"Name": "sample string 2"
},
"PostalCode": "sample string 4",
"StateProvince": {
"Code": "sample string 1",
"Name": "sample string 2"
},
"Country": {
"Code": "sample string 1",
"Name": "sample string 2"
},
"Location": {
"lat": 1.1,
"lng": 2.1
}
}
]
application/xml, text/xml
Sample:
<ArrayOfLocalAddressDTO>
<LocalAddressDTO>
<Line1>sample string 1</Line1>
<Line2>sample string 2</Line2>
<Place>sample string 3</Place>
<City>
<Code>sample string 1</Code>
<Name>sample string 2</Name>
</City>
<PostalCode>sample string 4</PostalCode>
<StateProvince>
<Code>sample string 1</Code>
<Name>sample string 2</Name>
</StateProvince>
<Country>
<Code>sample string 1</Code>
<Name>sample string 2</Name>
</Country>
<Location>
<lat>1.1</lat>
<lng>2.1</lng>
</Location>
</LocalAddressDTO>
<LocalAddressDTO>
<Line1>sample string 1</Line1>
<Line2>sample string 2</Line2>
<Place>sample string 3</Place>
<City>
<Code>sample string 1</Code>
<Name>sample string 2</Name>
</City>
<PostalCode>sample string 4</PostalCode>
<StateProvince>
<Code>sample string 1</Code>
<Name>sample string 2</Name>
</StateProvince>
<Country>
<Code>sample string 1</Code>
<Name>sample string 2</Name>
</Country>
<Location>
<lat>1.1</lat>
<lng>2.1</lng>
</Location>
</LocalAddressDTO>
<LocalAddressDTO>
<Line1>sample string 1</Line1>
<Line2>sample string 2</Line2>
<Place>sample string 3</Place>
<City>
<Code>sample string 1</Code>
<Name>sample string 2</Name>
</City>
<PostalCode>sample string 4</PostalCode>
<StateProvince>
<Code>sample string 1</Code>
<Name>sample string 2</Name>
</StateProvince>
<Country>
<Code>sample string 1</Code>
<Name>sample string 2</Name>
</Country>
<Location>
<lat>1.1</lat>
<lng>2.1</lng>
</Location>
</LocalAddressDTO>
</ArrayOfLocalAddressDTO>