IP Locator:Response: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
{| class="alternate01 sortable" | {| class="alternate01 sortable" | ||
!Field Name !! Level !! JSON | !Field Name !! Level !! JSON | ||
|- | |- | ||
| | |Version||rowspan="3" valign="center"|Response||Version | ||
|- | |- | ||
|Transmission | |Transmission Reference||TransmissionReference | ||
|- | |- | ||
| | |Transmission Results||TransmissionResults | ||
|- | |- | ||
|Record ID||Record||RecordID | |Record ID||rowspan="16" valign="center"|Record||RecordID | ||
|- | |- | ||
|IP Address | |IP Address||IPAddress | ||
|- | |- | ||
|Latitude | |Latitude||Latitude | ||
|- | |- | ||
|Longitude | |Longitude||Longitude | ||
|- | |- | ||
|Postal Code | |Postal Code||PostalCode | ||
|- | |- | ||
|Region | |Region||Region | ||
|- | |- | ||
|ISP Name | |ISP Name||ISPName | ||
|- | |- | ||
|Domain Name | |Domain Name||DomainName | ||
|- | |- | ||
|City | |City||City | ||
|- | |- | ||
|Country Name | |Country Name||CountryName | ||
|- | |- | ||
|Country Abbreviation | |Country Abbreviation||CountryAbbreviation | ||
|- | |- | ||
|Connection Speed | |Connection Speed||ConnectionSpeed | ||
|- | |- | ||
|Connection Type | |Connection Type||ConnectionType | ||
|- | |- | ||
|UTC | |UTC||UTC | ||
|- | |- | ||
|Continent | |Continent||Continent | ||
|- | |- | ||
|Result | |Result||Result | ||
|} | |} | ||
Line 69: | Line 67: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON|| | |JSON||<code>"Version":"'''''string'''''"</code> | ||
|} | |} | ||
Line 80: | Line 78: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON|| | |JSON||<code>"TransmissionReference":"'''''string'''''"</code> | ||
|} | |} | ||
Line 110: | Line 97: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON|| | |JSON||<code>"RecordID":"'''''string'''''"</code> | ||
|} | |} | ||
Line 121: | Line 108: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON|| | |JSON||<code>"IPAddress":"'''''string'''''"</code> | ||
|} | |} | ||
Line 132: | Line 119: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON|| | |JSON||<code>"Latitude":"'''''string'''''"</code> | ||
|} | |} | ||
Line 143: | Line 130: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON|| | |JSON||<code>"Longitude":"'''''string'''''"</code> | ||
|} | |} | ||
Line 154: | Line 141: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON|| | |JSON||<code>"PostalCode":"'''''string'''''"</code> | ||
|} | |} | ||
Line 165: | Line 152: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON|| | |JSON||<code>"Region":"'''''string'''''"</code> | ||
|} | |} | ||
Line 176: | Line 163: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON|| | |JSON||<code>"ISPName":"'''''string'''''"</code> | ||
|} | |} | ||
Line 187: | Line 174: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON|| | |JSON||<code>"DomainName":"'''''string'''''"</code> | ||
|} | |} | ||
Line 198: | Line 185: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON|| | |JSON||<code>"City":"'''''string'''''"</code> | ||
|} | |} | ||
Line 209: | Line 196: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON|| | |JSON||<code>"CountryName":"'''''string'''''"</code> | ||
|} | |} | ||
Line 220: | Line 207: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON|| | |JSON||<code>"CountryAbbreviation":"'''''string'''''"</code> | ||
|} | |} | ||
Line 231: | Line 218: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON|| | |JSON||<code>"ConnectionSpeed":"'''''string'''''"</code> | ||
|} | |} | ||
Line 242: | Line 229: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON|| | |JSON||<code>"ConnectionType":"'''''string'''''"</code> | ||
|} | |} | ||
Line 253: | Line 240: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON|| | |JSON||<code>"UTC":"'''''string'''''"</code> | ||
|} | |} | ||
Line 264: | Line 251: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON|| | |JSON||<code>"Continent":"'''''string'''''"</code> | ||
|} | |} | ||
Line 275: | Line 262: | ||
!Protocol !! Syntax | !Protocol !! Syntax | ||
|- | |- | ||
|JSON|| | |JSON||<code>"Result":"'''''string'''''"</code> | ||
|} | |} | ||
Revision as of 22:54, 7 October 2016
Global IP Navigation | |||
---|---|---|---|
| |||
| |||
| |||
| |||
Sample Code |
A response is the result of a request. This consists of returned results codes, IP address details, and appended geographic information.
IP Locator supports the JSON response protocol.
Field Names
This is a list of the response field names and their protocol naming conventions.
Field Name | Level | JSON |
---|---|---|
Version | Response | Version |
Transmission Reference | TransmissionReference | |
Transmission Results | TransmissionResults | |
Record ID | Record | RecordID |
IP Address | IPAddress | |
Latitude | Latitude | |
Longitude | Longitude | |
Postal Code | PostalCode | |
Region | Region | |
ISP Name | ISPName | |
Domain Name | DomainName | |
City | City | |
Country Name | CountryName | |
Country Abbreviation | CountryAbbreviation | |
Connection Speed | ConnectionSpeed | |
Connection Type | ConnectionType | |
UTC | UTC | |
Continent | Continent | |
Result | Result |
Response Elements
The following elements return the details for each request. These apply to the entire request, not the individual records.
Version
- The version number of the service.
Protocol Syntax JSON "Version":"string"
Transmission Reference
- This is a string value that serves as a unique identifier for this set of records. This is the same value as the corresponding request and can be used to match requests to responses.
Protocol Syntax JSON "TransmissionReference":"string"
Response Record Elements
Protocol | Definition |
---|---|
JSON | Each IP address will be contained within [{}] under the Records element. |
Record ID
- This is a string value containing a unique identifier for the current record. Use this to match the record submitted with the record returned. It will return what is inputted.
Protocol Syntax JSON "RecordID":"string"
IP Address
- The IP address being looked up.
Protocol Syntax JSON "IPAddress":"string"
Latitude
- The latitude for the IP address. This usually points to the postal code.
Protocol Syntax JSON "Latitude":"string"
Longitude
- The longitude for the IP address. This usually points to the postal code.
Protocol Syntax JSON "Longitude":"string"
Postal Code
- The postal code where the IP address is located.
Protocol Syntax JSON "PostalCode":"string"
Region
- The region where the IP address is located, specific meaning varies from country to country. For IPs in the US this field returns the state that the IP is located within.
Protocol Syntax JSON "Region":"string"
ISP Name
- The name of the Internet Service Provider.
Protocol Syntax JSON "ISPName":"string"
Domain Name
- The domain name associated with this IP address.
Protocol Syntax JSON "DomainName":"string"
City
- The city where the IP address is located.
Protocol Syntax JSON "City":"string"
Country Name
- The full name of the country where the IP address is located.
Protocol Syntax JSON "CountryName":"string"
Country Abbreviation
- The ISO 3166-1 alpha-2 country code of the country where the IP address is located.
Protocol Syntax JSON "CountryAbbreviation":"string"
Connection Speed
- The connection speed associated with this IP address. Possible values are: dialup, broadband, and ultra broadband.
Protocol Syntax JSON "ConnectionSpeed":"string"
Connection Type
- The type of connection used by this IP address. Possible values are: dialup, wired, wifi, mobile, and satellite.
Protocol Syntax JSON "ConnectionType":"string"
UTC
- The GMT offset for the area where the IP address is located.
Protocol Syntax JSON "UTC":"string"
Continent
- The continent where the IP address is located.
Protocol Syntax JSON "Continent":"string"
Result
- Returns a comma delimited list of result codes that provide more information from the service.
Protocol Syntax JSON "Result":"string"