Difference between revisions of "IP Locator:REST JSON"

From Melissa Data Wiki
Jump to navigation Jump to search
(Created page with "{{IPLocatorNav |ExampleCollapse= }} {{CustomTOC}} ==REST Request== There is no recordID element because a REST request can only submit one record per request. <pre> http:/...")
 
Line 38: Line 38:
     "UTC":"string",
     "UTC":"string",
     "Continent":"string",
     "Continent":"string",
    "ProxyType":"string",
    "ProxyDescription":"string",
     "Result":"string"
     "Result":"string"
   }]
   }]

Revision as of 22:10, 20 March 2017

← Global IP

Global IP Navigation
Introduction
Licensing
Input/Output
Request Fields
Response Fields
Examples
REST JSON
Batch JSON
Result Codes
Result Code Use
Global IP Result Codes
Sample Code



REST Request

There is no recordID element because a REST request can only submit one record per request.

http://globalip.melissadata.net/v4/web/iplocation/doiplocation
?t={TransmissionReference}
&id={CustomerId}
&ip={IPAddress}


JSON Response

{
  "Version":"string",
  "TransmissionReference":"string",
  "TransmissionResults":"string",
  "Records":[{
    "IPAddress":"string",
    "Latitude":"string",
    "Longitude":"string",
    "PostalCode":"string",
    "Region":"string",
    "ISPName":"string",
    "DomainName":"string",
    "City":"string",
    "CountryName":"string",
    "CountryAbbreviation":"string",
    "ConnectionSpeed":"string",
    "ConnectionType":"string",
    "UTC":"string",
    "Continent":"string",
    "ProxyType":"string",
    "ProxyDescription":"string",
    "Result":"string"
  }]
}