CommunicationHub.API

<back to all web services

SetMailStatus

The following routes are available for this service:
POST/Mail/Status
SetMailStatus Parameters:
NameParameterData TypeRequiredDescription
SignaturebodyObjectNo
EventDatabodyMailGunResponseNo
MailGunResponse Parameters:
NameParameterData TypeRequiredDescription
MessageformMessageResponseContentNo
EventformstringNo
MessageResponseContent Parameters:
NameParameterData TypeRequiredDescription
HeadersformHeaderResponseContentNo
HeaderResponseContent Parameters:
NameParameterData TypeRequiredDescription
ToformstringNo
MessageIdformstringNo
FromformstringNo
SubjectformstringNo

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/Status HTTP/1.1 
Host: communicationhub.carelogic-cloud.de 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Signature: {},
	event-data: 
	{
		Message: 
		{
			Headers: 
			{
				To: String,
				message-id: String,
				From: String,
				Subject: String
			}
		},
		Event: String
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

False