Business Coder:REST JSON

From Melissa Data Wiki
Jump to navigation Jump to search

← Business Coder

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



REST Request

Using Address as Input

https://businesscoder.melissadata.net/WEB/BusinessCoder/doBusinessCoderUS
?id={License Key}
&cols={Columns}
&opt={Options}
&rec={Record ID}
&comp={Company}
&a1={Address1}
&a2={Address2}
&city={City}
&state={State}
&postal={Postal Code}
&ctry={Country}


Using Melissa Address Key (MAK) and Company as Input

https://businesscoder.melissadata.net/WEB/BusinessCoder/doBusinessCoderUS
?id={License Key}
&cols={Columns}
&opt={Options}
&rec={Record ID}
&comp={Company}
&mak={Melissa Address Key}


Using StockTicker as Input

https://businesscoder.melissadata.net/WEB/BusinessCoder/doBusinessCoderUS
?id={License Key}
&cols={Columns}
&opt={Options}
&rec={Record ID}
&stock={Stock Ticker}


Using Web Address as Input

https://businesscoder.melissadata.net/WEB/BusinessCoder/doBusinessCoderUS
?id={License Key}
&cols={Columns}
&opt={Options}
&rec={Record ID}
&web={Web Address}


Using Phone as Input

https://businesscoder.melissadata.net/WEB/BusinessCoder/doBusinessCoderUS
?id={License Key}
&cols={Columns}
&opt={Options}
&rec={Record ID}
&phone={Phone}


Using Melissa Enterprise Key as Input

https://businesscoder.melissadata.net/WEB/BusinessCoder/doBusinessCoderUS
?id={License Key}
&cols={Columns}
&opt={Options}
&rec={Record ID}
&mek={MEK}


Using FreeForm as Input

https://businesscoder.melissadata.net/WEB/BusinessCoder/doBusinessCoderUS
?id={LicenseKey}
&cols={Columns}
&opt={Options}
&rec={Record ID}
&ff={Free Form}


JSON Response

{
"TransmissionResults":"string",
  "TransmissionReference":"string",
  "Version":"string",
  "TotalRecords":"string",
  "Records": [{
    "AddressLine1": "string",
    "CensusBlock": "string",
    "CensusTract": "string",
    "City": "string",
    "CompanyName": "string",
    "CurrentCompanyName": "string",
    "CountryCode": "string",
    "CountryName": "string",
    "CountyFIPS": "string",
    "CountyName": "string",
    "DeliveryIndicator": "string",
    "EIN": "string",
    "EmployeesEstimate": "string",
    "Latitude": "string",
    "LocationType": "string",
    "Longitude": "string",
    "MelissaEnterpriseKey": "string",
    "MelissaAddressKey": "string",
    "MelissaAddressKeyBase": "string",
    "NAICSCode1": "string",
    "NAICSCode2": "string",
    "NAICSCode3": "string",
    "NAICSDescription1": "string",
    "NAICSDescription2": "string",
    "NAICSDescription3": "string",
    "Phone": "string",
    "PlaceCode": "string",
    "PlaceName": "string",
    "Plus4": "string",
    "PostalCode": "string",
    "RecordID": "string",
    "Results": "string",
    "SICCode1": "string",
    "SICCode2": "string",
    "SICCode3": "string",
    "SICDescription1": "string",
    "SICDescription2": "string",
    "SICDescription3": "string",
    "SalesEstimate": "string",
    "State": "string",
    "StockTicker": "string",
    "Suite": "string",
    "TotalContacts": "string",
    "WebAddress": "string",
    "Contacts": [
                {
                    "NameFirst": "string",
                    "NameLast": "string",
                    "Gender": "string",
                    "Title": "string",
                    "ContactPhone:" "string",
                    "Email": "string"
                },
                {
                    "NameFirst": "string",
                    "NameLast": "string",
                    "Gender": "string",
                    "Title": "string",
                    "ContactPhone:" "string",
                    "Email": "string"
                }
            ]
  }]
}