AristoServices

<back to all web services

MessageGet

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

HTTP + JSV

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

POST /jsv/reply/MessageGet HTTP/1.1 
Host: content.pbsdealers.com 
Content-Type: text/jsv
Content-Length: length

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

{
	Items: 
	[
		{
			Id: 00000000000000000000000000000000,
			Subject: String,
			Body: String,
			Date: 0001-01-01,
			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
}