Personator:JSON Request: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
[[Personator|← Personator]]
[[Personator|← 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>
<pre>
{
{
   "TransmissionReference":"",
   "TransmissionReference":"",
  "CustomerID":"12345678",
   "Actions":"Check",
   "Actions":"Check",
  "Columns":"",
  "CustomerID":"1234567890",
   "Options":"",
   "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>
{
  "TransmissionReference":"",
  "Actions":"Check",
   "Columns":"",
   "Columns":"",
  "CustomerID":"1234567890",
  "Options":"",
   "Records":[
   "Records":[
     {
     {
       "RecordID":"1",
       "AddressLine1":"22382 Avenida Empresa",
      "AddressLine2":"",
      "City":"Rancho Santa Margarita",
       "CompanyName":"",
       "CompanyName":"",
      "Country":"",
      "EmailAddress":"",
      "FirstName":"",
      "FreeForm":"",
       "FullName":"",
       "FullName":"",
      "LastLine":"",
      "LastName":"",
      "PhoneNumber":"",
      "PostalCode":"92688",
      "RecordID":"1",
      "State":"CA"
    },
    {
       "AddressLine1":"22382 Avenida Empresa",
       "AddressLine1":"22382 Avenida Empresa",
       "AddressLine2":"",
       "AddressLine2":"",
      "Suite":"",
       "City":"Rancho Santa Margarita",
       "City":"Rancho Santa Margarita",
       "State":"CA",
       "CompanyName":"",
      "PostalCode":"92688",
       "Country":"",
       "Country":"",
      "EmailAddress":"",
      "FirstName":"",
      "FreeForm":"",
      "FullName":"",
      "LastLine":"",
      "LastName":"",
       "PhoneNumber":"",
       "PhoneNumber":"",
       "EmailAddress":"",
       "PostalCode":"92688",
       "FreeForm":""
       "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"
    }
  ]
}