AristoServices

<back to all web services

EmailSend

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/EmailSend HTTP/1.1 
Host: content.pbsdealers.com 
Content-Type: application/json
Content-Length: length

{"SerialNumber":"String","AuthorizationKey":"String","Message":{"From":{"EmailAddress":"String","FriendlyName":"String"},"To":[{"EmailAddress":"String","FriendlyName":"String"}],"CC":[{"EmailAddress":"String","FriendlyName":"String"}],"BCC":[{"EmailAddress":"String","FriendlyName":"String"}],"Subject":"String","TextBody":"String","HtmlBody":"String","MailingId":"String","MessageId":"String","Attachments":[{"Name":"String","ContentType":"String","Content":"String"}],"MergeItems":[{"Data":[{"Field":"String","Value":"String"}]}]}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"WasSuccess":false,"Message":"String","Reference":"String"}