GET api/address/reverse?cityId={cityId}&lat={lat}&lon={lon}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cityId | integer |
Required |
|
| lat | decimal number |
Required |
|
| lon | decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
AddressModel| Name | Description | Type | Additional information |
|---|---|---|---|
| JurisdictionId | integer |
None. |
|
| CityId | integer |
None. |
|
| FullName | string |
None. |
|
| NeighborhoodId | integer |
None. |
|
| NeighborhoodName | string |
None. |
|
| StreetId | integer |
None. |
|
| StreetName | string |
None. |
|
| Number | integer |
None. |
|
| Latitude | string |
None. |
|
| Longitude | string |
None. |
Response Formats
application/json, text/javascript, text/html, text/json
Sample:
{
"JurisdictionId": 1,
"CityId": 2,
"FullName": "sample string 3",
"NeighborhoodId": 1,
"NeighborhoodName": "sample string 4",
"StreetId": 1,
"StreetName": "sample string 5",
"Number": 1,
"Latitude": "sample string 6",
"Longitude": "sample string 7"
}
application/xml, text/xml
Sample:
<AddressModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tecnext.SGM.WebAPI.Models"> <CityId>2</CityId> <FullName>sample string 3</FullName> <JurisdictionId>1</JurisdictionId> <Latitude>sample string 6</Latitude> <Longitude>sample string 7</Longitude> <NeighborhoodId>1</NeighborhoodId> <NeighborhoodName>sample string 4</NeighborhoodName> <Number>1</Number> <StreetId>1</StreetId> <StreetName>sample string 5</StreetName> </AddressModel>