/draftmessage/get
- 1 Minute to read
- Print
- DarkLight
/draftmessage/get
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Get
/draftmessage/get
Returns a draft message identified by the specified draft message ID.
Query parameters
draftMessageId
integer (int64) Required
ID of draft message
Responses
200
Example response:
{
"id": 18060600,
"name": "Test",
"externalId": null,
"messageCategoryId": null,
"message": {
"subject": "Test",
"emailBodyText": null,
"emailBodyHtml": "
"smsText": null,
"faxText": null,
"emailHeaders": [],
"attachments": [],
"attachmentReferences": null,
"encoding": "ISO-8859-1",
"encodingSMS": "ISO-8859-1",
"imageHandlingMode": "none"
}
}
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
400
404
Error response: {
"errorActor": "CLIENT",
"errorCode": "INVALID_REQUEST",
"message": "Not Found"
}
Was this article helpful?