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 9: Line 9:
===Using Address as Input===
===Using Address as Input===
<pre>
<pre>
https://businesscoderuk.melissadata.net/WEB/BusinessCoder/doBusinessCoderGB
https://businesscoder.melissadata.net/WEB/BusinessCoder/doBusinessCoderGB
?id={License Key}
?id={License Key}
&cols={Columns}
&cols={Columns}
Line 26: Line 26:
===Using Melissa Address Key (MAK) and Company as Input===
===Using Melissa Address Key (MAK) and Company as Input===
<pre>
<pre>
https://businesscoderuk.melissadata.net/WEB/BusinessCoder/doBusinessCoderGB
https://businesscoder.melissadata.net/WEB/BusinessCoder/doBusinessCoderGB
?id={License Key}
?id={License Key}
&cols={Columns}
&cols={Columns}

Revision as of 17:40, 13 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://businesscoder.melissadata.net/WEB/BusinessCoder/doBusinessCoderGB
?id={License Key}
&cols={Columns}
&opt={Options}
&rec={Record ID}
&comp={Company}
&a1={Address1}
&a2={Address2}
&loc={Locality}
&area={AdministrativeArea}
&postal={Postal Code}
&ctry={Country}


Using Melissa Address Key (MAK) and Company as Input

https://businesscoder.melissadata.net/WEB/BusinessCoder/doBusinessCoderGB
?id={License Key}
&cols={Columns}
&opt={Options}
&rec={Record ID}
&comp={Company}
&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"
        }
    ]
}