Personator:JSON Request: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
Created page with "← Personator __NOTOC__ ==Sample JSON Request== <pre> { "TransmissionReference":"", "CustomerID":"12345678", "Actions":"Check", "Options":"", "Columns"..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Personator|&larr; Personator]]
[[Personator|&larr; Personator]]
__NOTOC__
__NOTOC__
==Sample JSON Request==
==Sample JSON Request Header==
<pre>
Content-Type: application/json; charset=utf-8
Accept: application/json
Host: personator.melissadata.net
Expect: 100-continue
Connection: Keep-Alive
</pre>
 
 
==Sample JSON Single Record Request==
<pre>
{
  "TransmissionReference":"",
  "Actions":"Check",
  "Columns":"",
  "CustomerID":"1234567890",
  "Options":"",
  "Records":[
    {
      "AddressLine1":"22382 Avenida Empresa",
      "AddressLine2":"",
      "City":"Rancho Santa Margarita",
      "CompanyName":"",
      "Country":"",
      "EmailAddress":"",
      "FirstName":"",
      "FreeForm":"",
      "FullName":"",
      "LastLine":"",
      "LastName":"",
      "PhoneNumber":"",
      "PostalCode":"92688",
      "RecordID":"1",
      "State":"CA"
    }
  ]
}
</pre>
 
 
==Sample JSON Multiple Record Request==
<pre>
<pre>
{
{
"TransmissionReference":"",
  "TransmissionReference":"",
"CustomerID":"12345678",
  "Actions":"Check",
"Actions":"Check",
  "Columns":"",
"Options":"",
  "CustomerID":"1234567890",
"Columns":"",
  "Options":"",
"Records":[
  "Records":[
{
    {
"RecordID":"1",
      "AddressLine1":"22382 Avenida Empresa",
"CompanyName":"",
      "AddressLine2":"",
"FullName":"",
      "City":"Rancho Santa Margarita",
"AddressLine1":"22382 Avenida Empresa",
      "CompanyName":"",
"AddressLine2":"",
      "Country":"",
"Suite":"",
      "EmailAddress":"",
"City":"Rancho Santa Margarita",
      "FirstName":"",
"State":"CA",
      "FreeForm":"",
"PostalCode":"92688",
      "FullName":"",
"Country":"",
      "LastLine":"",
"PhoneNumber":"",
      "LastName":"",
"EmailAddress":"",
      "PhoneNumber":"",
"FreeForm":""
      "PostalCode":"92688",
}
      "RecordID":"1",
]
      "State":"CA"
    },
    {
      "AddressLine1":"22382 Avenida Empresa",
      "AddressLine2":"",
      "City":"Rancho Santa Margarita",
      "CompanyName":"",
      "Country":"",
      "EmailAddress":"",
      "FirstName":"",
      "FreeForm":"",
      "FullName":"",
      "LastLine":"",
      "LastName":"",
      "PhoneNumber":"",
      "PostalCode":"92688",
      "RecordID":"1",
      "State":"CA"
    }
  ]
}
}
</pre>
</pre>


[[Category:Web Services]]
[[Category:Web Services]]
[[Category:Personator]]
[[Category:Personator]]
[[Category:Reference]]
[[Category:Reference]]

Latest revision as of 22:19, 11 October 2016

← Personator

Sample JSON Request Header

Content-Type: application/json; charset=utf-8
Accept: application/json
Host: personator.melissadata.net
Expect: 100-continue
Connection: Keep-Alive


Sample JSON Single Record Request

{
  "TransmissionReference":"",
  "Actions":"Check",
  "Columns":"",
  "CustomerID":"1234567890",
  "Options":"",
  "Records":[
    {
      "AddressLine1":"22382 Avenida Empresa",
      "AddressLine2":"",
      "City":"Rancho Santa Margarita",
      "CompanyName":"",
      "Country":"",
      "EmailAddress":"",
      "FirstName":"",
      "FreeForm":"",
      "FullName":"",
      "LastLine":"",
      "LastName":"",
      "PhoneNumber":"",
      "PostalCode":"92688",
      "RecordID":"1",
      "State":"CA"
    }
  ]
}


Sample JSON Multiple Record Request

{
  "TransmissionReference":"",
  "Actions":"Check",
  "Columns":"",
  "CustomerID":"1234567890",
  "Options":"",
  "Records":[
    {
      "AddressLine1":"22382 Avenida Empresa",
      "AddressLine2":"",
      "City":"Rancho Santa Margarita",
      "CompanyName":"",
      "Country":"",
      "EmailAddress":"",
      "FirstName":"",
      "FreeForm":"",
      "FullName":"",
      "LastLine":"",
      "LastName":"",
      "PhoneNumber":"",
      "PostalCode":"92688",
      "RecordID":"1",
      "State":"CA"
    },
    {
      "AddressLine1":"22382 Avenida Empresa",
      "AddressLine2":"",
      "City":"Rancho Santa Margarita",
      "CompanyName":"",
      "Country":"",
      "EmailAddress":"",
      "FirstName":"",
      "FreeForm":"",
      "FullName":"",
      "LastLine":"",
      "LastName":"",
      "PhoneNumber":"",
      "PostalCode":"92688",
      "RecordID":"1",
      "State":"CA"
    }
  ]
}