CommunicationHub.API

<back to all web services

ReceiveMail

The following routes are available for this service:
POST/Mail/Receive
ReceiveMail Parameters:
NameParameterData TypeRequiredDescription
MessageIdbodystringNo
RecipientbodystringNo
SenderbodystringNo
FrombodystringNo
TobodystringNo
InReplyTobodystringNo
CCbodystringNo
BCCbodystringNo
SubjectbodystringNo
TextbodystringNo
HTMLbodystringNo
AttachmentCountbodyintNo

To override the Content-type in your clients, use the 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 /Mail/Receive HTTP/1.1 
Host: communicationhub.carelogic-cloud.de 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	message-id: String,
	Recipient: String,
	Sender: String,
	From: String,
	To: String,
	In-Reply-To: String,
	CC: String,
	BCC: String,
	Subject: String,
	stripped-text: String,
	stripped-html: String,
	attachment-count: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

False