Business Coder UK:REST JSON: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
<pre>
<pre>
https://globalbusinesscoder.melissadata.net/WEB/BusinessCoder/doBusinessCoderGB
https://globalbusinesscoder.melissadata.net/WEB/BusinessCoder/doBusinessCoderGB
?id={License Key}
?t={Transmission Reference}
&id={License Key}
&cols={Columns}
&cols={Columns}
&opt={Options}
&opt={Options}
&format={Format}
&rec={Record ID}
&rec={Record ID}
&comp={Company}
&comp={Company}
&a1={Address1}
&a1={Address Line 1}
&a2={Address2}
&a2={Address Line 2}
&a3={Address Line 3}
&a4={Address Line 4}
&loc={Locality}
&loc={Locality}
&area={AdministrativeArea}
&dloc={Dependent Locality}
&ddloc={Double Dependent Locality}
&sarea={Sub Administrative Area}
&area={Administrative Area}
&subnat={Sub National Area}
&postal={Postal Code}
&postal={Postal Code}
&ctry={Country}
&ctry={Country}
&mak={Melissa Address Key}
</pre>
</pre>



Revision as of 19:06, 31 October 2017

← Business Coder UK

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



REST Request

Using Address as Input

https://globalbusinesscoder.melissadata.net/WEB/BusinessCoder/doBusinessCoderGB
?t={Transmission Reference}
&id={License Key}
&cols={Columns}
&opt={Options}
&format={Format}
&rec={Record ID}
&comp={Company}
&a1={Address Line 1}
&a2={Address Line 2}
&a3={Address Line 3}
&a4={Address Line 4}
&loc={Locality}
&dloc={Dependent Locality}
&ddloc={Double Dependent Locality}
&sarea={Sub Administrative Area}
&area={Administrative Area}
&subnat={Sub National Area}
&postal={Postal Code}
&ctry={Country}
&mak={Melissa Address Key}


JSON Response

{
    "TransmissionResults": "string",
    "TransmissionReference": "string",
    "Version": "string",
    "TotalRecords": "string",
    "Records": [
        {
            "AddressLine1": "string",
            "AddressLine2": "string",
            "AddressLine3": "string",
            "AddressLine4": "string",
            "AdministrativeArea": "string",
            "Building": "string",
            "CompanyName": "string",
            "CountryCode": "string",
            "CountryName": "string",
            "CountyName": "string",
            "DeliveryIndicator": "string",
            "DependentLocality": "string",
            "DependentThoroughfare": "string",
            "DependentThoroughfareLeadingType": "string",
            "DependentThoroughfareName": "string",
            "DependentThoroughfarePostDirection": "string",
            "DependentThoroughfarePreDirection": "string",
            "DependentThoroughfareTrailingType": "string",
            "DoubleDependentLocality": "string",
            "FormattedAddress": "string",
            "IncorporationDate": "string",
            "Latitude": "string",
            "Locality": "string",
            "Longitude": "string",
            "MelissaAddressKey": "string",
            "MelissaAddressKeyBase": "string",
            "PostBox": "string",
            "PostalCode": "string",
            "PremisesNumber": "string",
            "PremisesType": "string",
            "RecordID": "string",
            "Results": "string",
            "SICCode1": "string",
            "SICCode2": "string",
            "SICCode3": "string",
            "SICCode4": "string",
            "SICDescription1": "string",
            "SICDescription2": "string",
            "SICDescription3": "string",
            "SICDescription4": "string",
            "SubAdministrativeArea": "string",
            "SubNationalArea": "string",
            "SubPremises": "string",
            "SubPremisesNumber": "string",
            "SubPremisesType": "string",
            "Thoroughfare": "string",
            "ThoroughfareLeadingType": "string",
            "ThoroughfareName": "string",
            "ThoroughfarePostDirection": "string",
            "ThoroughfarePreDirection": "string",
            "ThoroughfareTrailingType": "string"
        }
    ]
}