IP Locator:REST JSON

From Melissa Data Wiki
Revision as of 23:01, 7 October 2016 by Admin (talk | contribs) (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:/...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

← 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",
    "Result":"string"
  }]
}