Personator:JSON Request: Difference between revisions
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|← 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> | |||
{ | |||
"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":"", | |||
"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" | |||
} | |||
] | |||
} | } | ||
</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
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" } ] }