Create an email footer

post

/api/REST/1.0/assets/email/footer

Creates an email footer that matches the criteria specified by the request body.

Request

Supported Media Types
Body ()
The request body defines the details of the email footer to be created.
Root Schema : EmailFooter
Type: object
Title: EmailFooter
Show Source
Nested Schema : fieldMerges
Type: array
A list of associated Field Merges.
Show Source
Nested Schema : FieldMerge
Type: object
Title: FieldMerge
Show Source
Nested Schema : Hyperlink
Type: object
Title: Hyperlink
Show Source
Back to Top

Response

Supported Media Types

201 Response

Success.
Body ()
Root Schema : EmailFooter
Type: object
Title: EmailFooter
Show Source
Nested Schema : fieldMerges
Type: array
A list of associated Field Merges.
Show Source
Nested Schema : FieldMerge
Type: object
Title: FieldMerge
Show Source
Nested Schema : Hyperlink
Type: object
Title: Hyperlink
Show Source

400 Response

Bad request. See Status Codes for information about other possible HTTP status codes.

401 Response

Unauthorized. See Status Codes for information about other possible HTTP status codes.

403 Response

Forbidden. See Status Codes for information about other possible HTTP status codes.

404 Response

The requested resource was not found. See Status Codes for information about other possible HTTP status codes.

500 Response

The service has encountered an error. See Status Codes for information about other possible HTTP status codes.
Back to Top

Examples

Create a new email footer:


POST /api/REST/1.0/assets/email/footer
Content-Type: application/json 
			

Request body:


{
    "name":"Test Footer",
    "body":"<p>Here is some text.</p>"
}
			

Response:


{
    "type": "EmailFooter",
    "id": "13",
    "createdAt": "1469450883",
    "createdBy": "9",
    "depth": "complete",
    "folderId": "1271",
    "name": "Test Footer",
    "permissions": "fullControl",
    "updatedAt": "1469450883",
    "updatedBy": "9",
    "body": "<p>Here is some text.</p>",
    "fieldMerges": [],
    "hyperlinks": [],
    "text": "\r\nHere is some text.\r\n\r\n"
}
			
Back to Top