The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/EmailSend HTTP/1.1
Host: content.pbsdealers.com
Content-Type: text/jsv
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: text/jsv
Content-Length: length
{
WasSuccess: False,
Message: String,
Reference: String
}