AristoServices

<back to all web services

EmailSend

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

HTTP + CSV

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

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

SerialNumber,AuthorizationKey,Message
String,String,"{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/csv
Content-Length: length

WasSuccess,Message,Reference
False,String,String