MatchUp Web Service:REST JSON: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
Created page with "{{MatchUpWebServiceNav |InputOutputCollapse= }} {{CustomTOC}} ==GetMatchcodeList== ===REST Request=== <pre> GetMatchcodeList ?loc={Localization} &t={TransmissionReference} ..."
 
No edit summary
 
Line 1: Line 1:
{{MatchUpWebServiceNav
{{MatchUpWebServiceNav
|InputOutputCollapse=
|ExampleCollapse=
}}
}}



Latest revision as of 18:37, 24 March 2017

← MatchUp

MatchUp Navigation
Introduction
Licensing
Input/Output
GetMatchcodeList
CreateJob
SubmitRecords
SubmitJob
GetJobStatus
RetrieveRecords
Examples
REST JSON
Batch JSON
Result Codes
Result Code Use
MatchUp Result Codes
Sample Code



GetMatchcodeList

REST Request

GetMatchcodeList
?loc={Localization}
&t={TransmissionReference}
&format={Format}

JSON Response

{
  "Matchcodes":[
    {
      "Name": {"type":"string"},
      "Description": {"type":"string"},
      "InputFields":[{"type":"array"}]
    }
  ],
  "TransmissionReference": {"type":"string"},
  "Version": {"type":"string"}
}


CreateJob

REST Request

CreateJob
?id={CustomerID}
&mc={Matchcode}
&opt={Options}
&t={TransmissionReference}
&format={Format}

JSON Response

{
  "JobID": {"type":"string"},
  "Results": {"type":"string"},
  "TransmissionReference": {"type":"string"}
}


SubmitRecords

REST Request

SubmitRecords
?id={CustomerID}
&job={JobID}
&frame={DataFrame}
&recid={RecordID}
&full={FullName}
&fn={FirstName}
&ln={LastName}
&comp={CompanyName}
&a1={AddressLine1}
&a2={AddressLine2}
&a3={AddressLine3}
&city={City}
&state={State}
&postal={PostalCode}
&phone={PhoneNumber}
&email={EmailAddress}
&t={TransmissionReference}
&format={Format}

JSON Response

{
  "Results": {"type":"string"},
  "TransmissionReference": {"type":"string"}
}


SubmitJob

REST Request

SubmitJob
?id={CustomerID}
&job={JobId}
&recs={TotalRecords}
&t={TransmissionReference}
&format={Format}

JSON Response

{
  "EstimatedExecutionTime": {"type":"integer"},
  "Results": {"type":"string"},
  "TransmissionReference": {"type":"string"}
}


GetJobStatus

REST Request

GetJobStatus
?id={CustomerID}
&job={JobID}
&t={TransmissionReference}
&format={Format}

JSON Response

{
  "EstimatedExecutionTime": {"type":"integer"},
  "PercentComplete": {"type":"string"},
  "Results": {"type":"string"},
  "TransmissionReference": {"type":"string"}
}


RetrieveRecords

REST Request

RetrieveRecords
?id={CustomerID}
&job={JobId}
&frame={DataFrame}
&t={TransmissionReference}
&format={Format}

JSON Response

{
  "Records":[
    {
      "RecordID": {"type":"string"},
      "DupeGroup": {"type":"integer"},
      "Count": {"type":"integer"},
      "MatchcodeKey": {"type":"string"},
      "Results": {"type":"string"}
    }
  ],
  "TransmissionReference": {"type":"string"}
}