Update Email Full Content¶
POST /rest/asset/v1/email/{id}/fullContent.json
Method: POST
Path: /rest/asset/v1/email/{id}/fullContent.json
Tag: Emails
Operation ID: createEmailFullContentUsingPOST
Replaces the HTML of an Email that has had its relationship broken from its template. Required Permissions: Read-Write Assets
Formats¶
- Request:
multipart/form-data - Response:
application/json
Request¶
Path parameters¶
| Name | Type | Required | Description | Constraints |
|---|---|---|---|---|
id |
integer (int32) | Yes | Id of the email |
Request body¶
Name: updateEmailFullContentRequest
Required: Yes
Schema: model: UpdateEmailFullContentRequest
Content is multipart file parameter
Generated example¶
Referenced models¶
Example request¶
POST {{base_url}}/rest/asset/v1/email/{{id}}/fullContent.json
Content-Type: multipart/form-data
Accept: application/json
{
"content": "string"
}
Responses¶
200 — OK¶
Schema: model: ResponseOfUpdateEmailFullContentResponse
Generated example¶
{
"errors": [
{
"code": "string",
"message": "string"
}
],
"requestId": "123",
"result": [
{
"id": 123
}
],
"success": true,
"warnings": [
"string"
]
}
Referenced models¶
Source¶
Generated from swagger-asset.json.
Generated examples are inferred from the schema. They are illustrative and may not be valid production payloads.