Difference between revisions of "Business Search:REST JSON"

From Melissa Data Wiki
Jump to navigation Jump to search
(Created page with "{{GlobalBusinessSearchNav |ExampleCollapse= }} {{CustomTOC}} ==REST Request== ===Using Address as Input=== <pre> https://globalbusinesssearch.melissadata.net/WEB/doBusiness...")
 
Line 123: Line 123:
 
         "MelissaAddressKey":{"type":"string"},
 
         "MelissaAddressKey":{"type":"string"},
 
         "MelissaAddressKeyBase":{"type":"string"}
 
         "MelissaAddressKeyBase":{"type":"string"}
 +
        "MoveDate":{"type":"string"}
 +
      },
 +
    "PreviousAddresses":
 +
      {
 +
        "AddressLine1":{"type":"string"},
 +
        "AddressLine2":{"type":"string"},
 +
        "AddressLine3":{"type":"string"},
 +
        "AddressLine4":{"type":"string"},
 +
        "AddressLine5":{"type":"string"},
 +
        "AddressLine6":{"type":"string"},
 +
        "AddressLine7":{"type":"string"},
 +
        "AddressLine8":{"type":"string"},
 +
        "SubPremise":{"type":"string"},
 +
        "Locality":{"type":"string"},
 +
        "AdministrativeArea":{"type":"string"},
 +
        "PostalCode":{"type":"string"},
 +
        "CountryName":{"type":"string"},
 +
        "CountryISO31661_1_Alpha2":{"type":"string"},
 +
        "MelissaAddressKey":{"type":"string"},
 +
        "MelissaAddressKeyBase":{"type":"string"}
 +
        "MoveDate":{"type":"string"}
 
       },
 
       },
 
     "PhoneRecords": [
 
     "PhoneRecords": [

Revision as of 02:14, 11 July 2018

Template:GlobalBusinessSearchNav



REST Request

Using Address as Input

https://globalbusinesssearch.melissadata.net/WEB/doBusinessSearch
?id={License Key}
&cols={Columns}
&opt={Options}
&comp={Company Name}
&a1={Address Line 1}
&loc={Locality}
&area={Administrative Area}
&postal={Postal Code}


Using Melissa Address Key (MAK) as Input

https://globalbusinesssearch.melissadata.net/WEB/doBusinessSearch
?id={License Key}
&cols={Columns}
&opt={Options}
&mak={Melissa Address Key}


Using Melissa Enterprise Key (MEK) as Input

https://globalbusinesssearch.melissadata.net/WEB/doBusinessSearch
?id={License Key}
&cols={Columns}
&opt={Options}
&mek={Melissa Enterprise Key}


Using Stock Ticker as Input

https://globalbusinesssearch.melissadata.net/WEB/doBusinessSearch
?id={License Key}
&cols={Columns}
&opt={Options}
&stock={Stock Ticker}


Using Website URL as Input

https://globalbusinesssearch.melissadata.net/WEB/doBusinessSearch
?id={License Key}
&cols={Columns}
&opt={Options}
&web={Website URL}


Using Name and ZIP as Input

https://globalbusinesssearch.melissadata.net/WEB/doBusinessSearch
?id={License Key}
&cols={Columns}
&opt={Options}
&comp={Company Name}
&postal={Postal Code}


Using Phone as Input

https://globalbusinesssearch.melissadata.net/WEB/doBusinessSearch
?id={License Key}
&cols={Columns}
&opt={Options}
&phone={Phone Number}


JSON Response

{
"TransmissionResults": {"type":"string"},
"TransmissionReference":{"type":"string"},
"TotalPages":{"type":"string"},
"TotalRecords":{"type":"string"},
"Version":{"type":"string"},
"Records": [
  {
    "RecordID":{"type":"string"},
    "Results":{"type":"string"},
    "Company":
      {
        "CompanyName":{"type":"string"},
        "StockTicker":{"type":"string"},
        "WebAddress":
          {
            "URL":{"type":"string"}
          }
        "EIN":{"type":"string"},
        "MelissaEnterpriseKey":{"type":"string"}
      },
    "CurrentAddress":
      {
        "AddressLine1":{"type":"string"},
        "AddressLine2":{"type":"string"},
        "AddressLine3":{"type":"string"},
        "AddressLine4":{"type":"string"},
        "AddressLine5":{"type":"string"},
        "AddressLine6":{"type":"string"},
        "AddressLine7":{"type":"string"},
        "AddressLine8":{"type":"string"},
        "SubPremise":{"type":"string"},
        "Locality":{"type":"string"},
        "AdministrativeArea":{"type":"string"},
        "PostalCode":{"type":"string"},
        "CountryName":{"type":"string"},
        "CountryISO31661_1_Alpha2":{"type":"string"},
        "MelissaAddressKey":{"type":"string"},
        "MelissaAddressKeyBase":{"type":"string"}
        "MoveDate":{"type":"string"}
      },
    "PreviousAddresses":
      {
        "AddressLine1":{"type":"string"},
        "AddressLine2":{"type":"string"},
        "AddressLine3":{"type":"string"},
        "AddressLine4":{"type":"string"},
        "AddressLine5":{"type":"string"},
        "AddressLine6":{"type":"string"},
        "AddressLine7":{"type":"string"},
        "AddressLine8":{"type":"string"},
        "SubPremise":{"type":"string"},
        "Locality":{"type":"string"},
        "AdministrativeArea":{"type":"string"},
        "PostalCode":{"type":"string"},
        "CountryName":{"type":"string"},
        "CountryISO31661_1_Alpha2":{"type":"string"},
        "MelissaAddressKey":{"type":"string"},
        "MelissaAddressKeyBase":{"type":"string"}
        "MoveDate":{"type":"string"}
      },
    "PhoneRecords": [
      {
        "PhoneNumber":{"type":"string"}
      }
    ],
    "Sources":{"type":"number"}
  }
  ]
}