Page tree
Skip to end of metadata
Go to start of metadata

Description

Updates a message draft.

Request path

POST [REST URL]/draftmessage/update

Request Body Type

DraftMessageSummary

Example body

{
    "id": 18060600,
    "name": "Test Draft Message",
    "externalId": null,
    "messageCategoryId": null,
    "message":
    {
        "subject": "This is draft test",
        "emailBodyText": null,
        "emailBodyHtml": "Test",
        "smsText": null,
        "faxText": null,
        "emailHeaders":
        [
        ],
        "attachments":
        [
        ],
        "attachmentReferences": null,
        "encoding": "ISO-8859-1",
        "encodingSMS": "ISO-8859-1",
        "imageHandlingMode": "none"
    }
}

Example response

HTTP 204
  • No labels