PUT api/Emails
Put method for an email update.
Request Information
URI Parameters
None.
Body Parameters
The email object with the data for the update operation.
Email| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Event | string |
None. |
|
| Subject | string |
None. |
|
| Body | string |
None. |
|
| IsBodyHtml | boolean |
None. |
|
| RecipientsTo | string |
None. |
|
| RecipientsCc | string |
None. |
|
| AttachmentPath | string |
None. |
|
| ErstellDat | date |
None. |
|
| ErstellUs | string |
None. |
|
| AendDat | date |
None. |
|
| AendUs | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Event": "sample string 2",
"Subject": "sample string 3",
"Body": "sample string 4",
"IsBodyHtml": true,
"RecipientsTo": "sample string 6",
"RecipientsCc": "sample string 7",
"AttachmentPath": "sample string 8",
"ErstellDat": "2026-04-07T13:22:01.7180106+02:00",
"ErstellUs": "sample string 9",
"AendDat": "2026-04-07T13:22:01.7180106+02:00",
"AendUs": "sample string 10"
}
application/xml, text/xml
Sample:
<Email xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BestaendeWeb.Models"> <AendDat>2026-04-07T13:22:01.7180106+02:00</AendDat> <AendUs>sample string 10</AendUs> <AttachmentPath>sample string 8</AttachmentPath> <Body>sample string 4</Body> <ErstellDat>2026-04-07T13:22:01.7180106+02:00</ErstellDat> <ErstellUs>sample string 9</ErstellUs> <Event>sample string 2</Event> <Id>1</Id> <IsBodyHtml>true</IsBodyHtml> <RecipientsCc>sample string 7</RecipientsCc> <RecipientsTo>sample string 6</RecipientsTo> <Subject>sample string 3</Subject> </Email>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The success of the operation as a bool.
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>