AristoServices

<back to all web services

MessageGet

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/MessageGet HTTP/1.1 
Host: content.pbsdealers.com 
Content-Type: application/json
Content-Length: length

{"SerialNumber":"String","AuthorizationKey":"String","MailServer":"String","UserName":"String","Password":"String","Type":"String","ModSequence":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Items":[{"Id":"00000000000000000000000000000000","Subject":"String","Body":"String","Date":"0001-01-01T00:00:00.0000000","From":{"EmailAddress":"String","FriendlyName":"String"},"To":[{"EmailAddress":"String","FriendlyName":"String"}],"CC":[{"EmailAddress":"String","FriendlyName":"String"}],"BCC":[{"EmailAddress":"String","FriendlyName":"String"}],"Attachments":[{"Name":"String","Content":"String"}],"Folder":"Inbox","Viewed":false}],"WasSuccess":false,"Message":"String","ModSequence":0}