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

false