IP Locator:REST JSON: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 14: Line 14:
&id={CustomerId}
&id={CustomerId}
&ip={IPAddress}
&ip={IPAddress}
&col={Columns}
</pre>
</pre>


Line 20: Line 21:
<pre>
<pre>
{
{
   "Version":"string",
   "Version": "string",
   "TransmissionReference":"string",
   "TransmissionReference": "string",
   "TransmissionResults":"string",
   "TransmissionResults": "string",
   "Records":[{
   "Records": [{
     "IPAddress":"string",
     "City": "string",
     "Latitude":"string",
    "ConnectionSpeed": "broadband",
     "Longitude":"string",
    "ConnectionType": "string",
     "PostalCode":"string",
    "Continent": "string",
     "Region":"string",
    "CountryAbbreviation": "string",
     "ISPName":"string",
    "CountryName": "string",
     "DomainName":"string",
    "DomainAddress1": "string",
     "City":"string",
    "DomainAdministrativeArea": "string",
     "CountryName":"string",
    "DomainAgeEstimated": "string",
     "CountryAbbreviation":"string",
    "DomainAvailability": "string",
     "ConnectionSpeed":"string",
     "DomainCountry": "string",
     "ConnectionType":"string",
     "DomainCountryCode": "string",
     "UTC":"string",
     "DomainCreatedDate": "string",
     "Continent":"string",
     "DomainEmail": "string",
     "ProxyType":"string",
     "DomainExpirationDate": string",
     "ProxyDescription":"string",
    "DomainLocality": "string",
     "Result":"string"
     "DomainName": "string",
     "DomainOrganization": "string",
    "DomainPostalCode": "string",
    "DomainPrivateProxy": "string",
    "DomainUpdatedDate": "string",
    "DST": "string",
     "IPAddress": "string",
     "ISPName": "string",
     "Latitude": "string",
     "Longitude": "string",
     "PostalCode": "string",
     "ProxyDescription": "string",
     "ProxyType": "string",
     "RecordID": "string",
    "Region": "string",
     "Result": "string",
    "TimeZoneCode": "string",
    "TimeZoneName": "string",
    "UTC": "string"
   }]
   }]
}
}

Latest revision as of 23:56, 16 July 2021

← 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}
&col={Columns}


JSON Response

{
  "Version": "string",
  "TransmissionReference": "string",
  "TransmissionResults": "string",
  "Records": [{
    "City": "string",
    "ConnectionSpeed": "broadband",
    "ConnectionType": "string",
    "Continent": "string",
    "CountryAbbreviation": "string",
    "CountryName": "string",
    "DomainAddress1": "string",
    "DomainAdministrativeArea": "string",
    "DomainAgeEstimated": "string",
    "DomainAvailability": "string",
    "DomainCountry": "string",
    "DomainCountryCode": "string",
    "DomainCreatedDate": "string",
    "DomainEmail": "string",
    "DomainExpirationDate": string",
    "DomainLocality": "string",
    "DomainName": "string",
    "DomainOrganization": "string",
    "DomainPostalCode": "string",
    "DomainPrivateProxy": "string",
    "DomainUpdatedDate": "string",
    "DST": "string",
    "IPAddress": "string",
    "ISPName": "string",
    "Latitude": "string",
    "Longitude": "string",
    "PostalCode": "string",
    "ProxyDescription": "string",
    "ProxyType": "string",
    "RecordID": "string",
    "Region": "string",
    "Result": "string",
    "TimeZoneCode": "string",
    "TimeZoneName": "string",
    "UTC": "string"
  }]
}