GET api/geoip/country-location/{ip}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ip | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CityInfoName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{"Name":"sample string 1","Latitude":1.1,"Longitude":1.1}
application/xml, text/xml
Sample:
<GeoIp.CityInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ia.Cl.Model"> <Latitude>1.1</Latitude> <Longitude>1.1</Longitude> <Name>sample string 1</Name> </GeoIp.CityInfo>