Business Coder:Response: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 116: Line 116:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"TransmissionResults":"string"
|JSON||<code>"TransmissionResults":"'''''string'''''"</code>
|}
|}


Line 126: Line 126:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"TransmissionReference":"string"
|JSON||<code>"TransmissionReference":"'''''string'''''"</code>
|}
|}


Line 136: Line 136:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"Version":"string"
|JSON||<code>"Version":"'''''string'''''"</code>
|}
|}


Line 146: Line 146:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"TotalRecords":"string"
|JSON||<code>"TotalRecords":"'''''string'''''"</code>
|}
|}


Line 156: Line 156:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"Records":"string"
|JSON||<code>"Records":"'''''string'''''"</code>
|}
|}


Line 166: Line 166:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"Results":"string"
|JSON||<code>"Results":"'''''string'''''"</code>
|}
|}


Line 176: Line 176:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"RecordID":"string"
|JSON||<code>"RecordID":"'''''string'''''"</code>
|}
|}


Line 186: Line 186:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"CompanyName":"string"
|JSON||<code>"CompanyName":"'''''string'''''"</code>
|}
|}


Line 196: Line 196:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"AddressLine1":"string"
|JSON||<code>"AddressLine1":"'''''string'''''"</code>
|}
|}


Line 206: Line 206:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"Suite":"string"
|JSON||<code>"Suite":"'''''string'''''"</code>
|}
|}


Line 216: Line 216:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"City":"string"
|JSON||<code>"City":"'''''string'''''"</code>
|}
|}


Line 226: Line 226:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"State":"string"
|JSON||<code>"State":"'''''string'''''"</code>
|}
|}


Line 236: Line 236:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"PostalCode":"string"
|JSON||<code>"PostalCode":"'''''string'''''"</code>
|}
|}


Line 262: Line 262:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"LocationType":"string"
|JSON||<code>"LocationType":"'''''string'''''"</code>
|}
|}


Line 272: Line 272:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"Phone":"string"
|JSON||<code>"Phone":"'''''string'''''"</code>
|}
|}


Line 282: Line 282:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"EmployeesEstimate":"string"
|JSON||<code>"EmployeesEstimate":"'''''string'''''"</code>
|}
|}


Line 292: Line 292:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"SalesEstimate":"string"
|JSON||<code>"SalesEstimate":"'''''string'''''"</code>
|}
|}


Line 302: Line 302:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"StockTicker":"string"
|JSON||<code>"StockTicker":"'''''string'''''"</code>
|}
|}


Line 312: Line 312:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"WebAddress":"string"
|JSON||<code>"WebAddress":"'''''string'''''"</code>
|}
|}


Line 323: Line 323:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"Plus4":"string"
|JSON||<code>"Plus4":"'''''string'''''"</code>
|}
|}


Line 333: Line 333:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"DeliveryIndicator":"string"
|JSON||<code>"DeliveryIndicator":"'''''string'''''"</code>
|}
|}


Line 343: Line 343:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"MelissaAddressKey":"string"
|JSON||<code>"MelissaAddressKey":"'''''string'''''"</code>
|}
|}


Line 353: Line 353:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"MelissaAddressKeyBase":"string"
|JSON||<code>"MelissaAddressKeyBase":"'''''string'''''"</code>
|}
|}


Line 364: Line 364:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"SICCode1":"string"
|JSON||<code>"SICCode1":"'''''string'''''"</code>
|}
|}


Line 374: Line 374:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"SICCode2":"string"
|JSON||<code>"SICCode2":"'''''string'''''"</code>
|}
|}


Line 384: Line 384:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"SICCode3":"string"
|JSON||<code>"SICCode3":"'''''string'''''"</code>
|}
|}


Line 394: Line 394:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"NAICSCode1":"string"
|JSON||<code>"NAICSCode1":"'''''string'''''"</code>
|}
|}


Line 404: Line 404:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"NAICSCode2":"string"
|JSON||<code>"NAICSCode2":"'''''string'''''"</code>
|}
|}


Line 414: Line 414:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"NAICSCode3":"string"
|JSON||<code>"NAICSCode3":"'''''string'''''"</code>
|}
|}


Line 425: Line 425:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"SICDescription1":"string"
|JSON||<code>"SICDescription1":"'''''string'''''"</code>
|}
|}


Line 435: Line 435:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"SICDescription2":"string"
|JSON||<code>"SICDescription2":"'''''string'''''"</code>
|}
|}


Line 445: Line 445:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"SICDescription3":"string"
|JSON||<code>"SICDescription3":"'''''string'''''"</code>
|}
|}


Line 455: Line 455:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"NAICSDescription1":"string"
|JSON||<code>"NAICSDescription1":"'''''string'''''"</code>
|}
|}


Line 465: Line 465:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"NAICSDescription2":"string"
|JSON||<code>"NAICSDescription2":"'''''string'''''"</code>
|}
|}


Line 475: Line 475:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"NAICSDescription3":"string"
|JSON||<code>"NAICSDescription3":"'''''string'''''"</code>
|}
|}


Line 486: Line 486:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"Latitude":"string"
|JSON||<code>"Latitude":"'''''string'''''"</code>
|}
|}


Line 496: Line 496:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"Longitude":"string"
|JSON||<code>"Longitude":"'''''string'''''"</code>
|}
|}


Line 507: Line 507:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"CountyName":"string"
|JSON||<code>"CountyName":"'''''string'''''"</code>
|}
|}


Line 517: Line 517:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"CountyFIPS":"string"
|JSON||<code>"CountyFIPS":"'''''string'''''"</code>
|}
|}


Line 527: Line 527:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"CensusTract":"string"
|JSON||<code>"CensusTract":"'''''string'''''"</code>
|}
|}


Line 537: Line 537:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"CensusBlock":"string"
|JSON||<code>"CensusBlock":"'''''string'''''"</code>
|}
|}


Line 547: Line 547:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"PlaceCode":"string"
|JSON||<code>"PlaceCode":"'''''string'''''"</code>
|}
|}


Line 557: Line 557:
!Protocol !! Syntax
!Protocol !! Syntax
|-
|-
|JSON||"PlaceName":"string"
|JSON||<code>"PlaceName":"'''''string'''''"</code>
|}
|}



Revision as of 21:13, 7 October 2016

← 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



A response is the result of a request. This consists of returned results codes and Business details.

Business Coder supports the JSON response protocol.


Field Names

This is a list of the response field names and their grouping.

You can choose what output columns to return by entering the column name in the Column input. Specifying a group name will return all columns in the group.

Field Name Group
TransmissionResults [DEFAULT]

Always return in the output structure.

TransmissionReference
Version
TotalRecords
Records
Results
RecordID
CompanyName
AddressLine1
Suite
City
State
PostalCode
LocationType [NO GROUP]

These columns must be requested individually.

Phone
EmployeesEstimate
SalesEstimate
StockTicker
WebAddress
Plus4 GrpAddressDetails
DeliveryIndicator
MelissaAddressKey
MelissaAddressKeyBase
SICCode1 GrpBusinessCodes
SICCode2
SICCode3
NAICSCode1
NAICSCode2
NAICSCode3
SICDescription1 GrpBusinessDescription
SICDescription2
SICDescription3
NAICSDescription1
NAICSDescription2
NAICSDescription3
Latitude GrpGeoCode
Longitude
CountyName GrpCensus
CountyFIPS
CensusTract
CensusBlock
PlaceCode
PlaceName


[DEFAULT]

TransmissionResults

Returns the generic web service level result/error codes. For more information, see Business Coder Result Codes.
Protocol Syntax
JSON "TransmissionResults":"string"


TransmissionReference

A pass-through of the input Transmission Reference.
Protocol Syntax
JSON "TransmissionReference":"string"


Version

The current web service version.
Protocol Syntax
JSON "Version":"string"


TotalRecords

The total number of records returned in the records array.
Protocol Syntax
JSON "TotalRecords":"string"


Records

This is the returned array of records.
Protocol Syntax
JSON "Records":"string"


Results

Returns record specific result codes. For more information, see Business Coder Result Codes.
Protocol Syntax
JSON "Results":"string"


RecordID

Position of the record in the response array.
Protocol Syntax
JSON "RecordID":"string"


CompanyName

Name of the business.
Protocol Syntax
JSON "CompanyName":"string"


AddressLine1

Address Line 1 of the business.
Protocol Syntax
JSON "AddressLine1":"string"


Suite

Protocol Syntax
JSON "Suite":"string"


City

City of the business.
Protocol Syntax
JSON "City":"string"


State

State of the business.
Protocol Syntax
JSON "State":"string"


PostalCode

Zip/Postal Code of the business.
Protocol Syntax
JSON "PostalCode":"string"


[NO GROUP]

The following elements set the basic options for each request. These apply to the entire request, not the individual records.

LocationType

Code denoting the business location type.
Code Definition
1 Headquarters
2 Branches
3 Subsidiary Headquarters
4 Single Location


Protocol Syntax
JSON "LocationType":"string"


Phone

10-digit phone number.
Protocol Syntax
JSON "Phone":"string"


EmployeesEstimate

The number of employees who work at this business location.
Protocol Syntax
JSON "EmployeesEstimate":"string"


SalesEstimate

The sales volume and/or assets of the business.
Protocol Syntax
JSON "SalesEstimate":"string"


StockTicker

The assigned stock exchange abbreviation/symbol for the business.
Protocol Syntax
JSON "StockTicker":"string"


WebAddress

The web address/domain for the business.
Protocol Syntax
JSON "WebAddress":"string"


GrpAddressDetails

Plus4

The Plus4 of the address.
Protocol Syntax
JSON "Plus4":"string"


DeliveryIndicator

The RBDI Indicator based on the address.
Protocol Syntax
JSON "DeliveryIndicator":"string"


MelissaAddressKey

(MAK) A unique key assigned to an address record.
Protocol Syntax
JSON "MelissaAddressKey":"string"


MelissaAddressKeyBase

A unique key assigned to the base address of a complex with apartments or suites.
Protocol Syntax
JSON "MelissaAddressKeyBase":"string"


GrpBusinessCodes

SICCode1

A 6-digit SIC code for the business's primary line of business.
Protocol Syntax
JSON "SICCode1":"string"


SICCode2

The second SIC code.
Protocol Syntax
JSON "SICCode2":"string"


SICCode3

The third SIC code.
Protocol Syntax
JSON "SICCode3":"string"


NAICSCode1

North American Industry Classification System code. This is related to SICCode1.
Protocol Syntax
JSON "NAICSCode1":"string"


NAICSCode2

Second NAICS code. This is related to SICCode2.
Protocol Syntax
JSON "NAICSCode2":"string"


NAICSCode3

Third NAICS code. This is related to SICCode3.
Protocol Syntax
JSON "NAICSCode3":"string"


GrpBusinessDescription

SICDescription1

First SIC code description. Related to SICCode1.
Protocol Syntax
JSON "SICDescription1":"string"


SICDescription2

Second SIC code description. Related to SICCode2.
Protocol Syntax
JSON "SICDescription2":"string"


SICDescription3

Third SIC code description. Related to SICCode3.
Protocol Syntax
JSON "SICDescription3":"string"


NAICSDescription1

First NAICS code description. Related to NAICSCode1.
Protocol Syntax
JSON "NAICSDescription1":"string"


NAICSDescription2

Second NAICS code description. Related to NAICSCode2.
Protocol Syntax
JSON "NAICSDescription2":"string"


NAICSDescription3

Third NAICS code description. Related to NAICSCode3.
Protocol Syntax
JSON "NAICSDescription3":"string"


GrpGeoCode

Latitude

The latitude geo coordinate.
Protocol Syntax
JSON "Latitude":"string"


Longitude

The longitude geo coordinate.
Protocol Syntax
JSON "Longitude":"string"


GrpCensus

CountyName

The name of the county.
Protocol Syntax
JSON "CountyName":"string"


CountyFIPS

The FIPS code of the county.
Protocol Syntax
JSON "CountyFIPS":"string"


CensusTract

The census tract number for the address.
Protocol Syntax
JSON "CensusTract":"string"


CensusBlock

The census block number for the address.
Protocol Syntax
JSON "CensusBlock":"string"


PlaceCode

The Census Bureau place code.
Protocol Syntax
JSON "PlaceCode":"string"


PlaceName

The Census Bureau place name.
Protocol Syntax
JSON "PlaceName":"string"