POST v1/EMails/{mailId}/SendReply?includeOriginalMailthread={includeOriginalMailthread}&mailTemplateId={mailTemplateId}&keepAsDraft={keepAsDraft}
This endpoint can be used to create a reply mail.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| mailId |
The Id of the original email. |
integer |
Required. |
| includeOriginalMailthread |
If includeOriginalMailthread is true(default) $$ApiMailData.Content$$ can be used in the specified mailtemplate. If it is false the template and mail conversation are ignored and the provided content is used as is. |
boolean |
Is Optional. Default value is True. |
| mailTemplateId |
The Id of the template to use. If not specified, the Shop default reply template will be used. |
integer |
Is Optional. Default value is (null). |
| keepAsDraft |
If true the reply will be saved as draft. |
boolean |
Is Optional. Default value is False. |
Body Parameters
The reply mail contents.
EMailChanges| Name | Description | Type | Additional information |
|---|---|---|---|
| ToAddress |
Gets or sets the 'To' address. |
string |
Max length: 2147483647 |
| CcAddress |
Gets or sets the 'CC' address. |
string |
None. |
| BccAddress |
Gets or sets the 'BCC' address. |
string |
None. |
| Subject |
Gets or sets the email subject. |
string |
Max length: 255 |
| Content |
Gets or sets the content. |
string |
Max length: 2147483647 |
| Note |
Gets or sets the note. |
string |
None. |
| Categories |
Gets or sets the categories. |
Collection of MessageCategory |
None. |
| EmployeeId |
Gets or sets the handling employee identifier. |
integer |
None. |
| OrderId |
Gets or sets the order identifier. |
integer |
None. |
Request Formats
application/json, text/json
{
"ToAddress": "sample string 7",
"CcAddress": "sample string 8",
"BccAddress": "sample string 9",
"Subject": "sample string 10",
"Content": "sample string 11",
"Note": "sample string 12",
"Categories": null,
"EmployeeId": 1,
"OrderId": 1
}
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |