| POST | /Mail/Receive |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MessageId | body | string | No | |
| Recipient | body | string | No | |
| Sender | body | string | No | |
| From | body | string | No | |
| To | body | string | No | |
| InReplyTo | body | string | No | |
| CC | body | string | No | |
| BCC | body | string | No | |
| Subject | body | string | No | |
| Text | body | string | No | |
| HTML | body | string | No | |
| AttachmentCount | body | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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