Post
/draftmessage/update
Updates a message draft.
Request body example:
{
"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"
}
}
Body parameters
object
id
integer (int64)
name
string
externalId
string
messageCategoryId
integer (int64)
message
object (MessageBase)
subject
string
emailBodyText
string
emailBodyHtml
string
smsText
string
faxText
string
emailHeaders
Array of object (Attribute)
object
name
string
value
string
attachments
Array of object (Attachment)
object
name
string
contentType
string
content
string
attachmentReferences
Array of object (AttachmentReference)
object
contentId
string
reference
string
encoding
string
encodingSMS
string
imageHandlingMode
string
Responses
200
400