Business Search:REST JSON

From Melissa Data Wiki
Jump to: navigation, search

← Business Search

Business Search Navigation
Introduction
Licensing
Input/Output
Request Fields
Response Fields
Examples
REST JSON
Result Codes
Result Code Use
Business Search Result Codes
Sample Code



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"}
  }
  ]
}
Personal tools
Namespaces

Variants
Actions
Navigation
Products
Support