Update Message
Updates an existing Message based on the Mime Type.
Function
updateMessage()
Url
- POST:
/PuresendService/v1/updateMessage
Parameters
- message:
Message
- new message to replace existing message.
- mimeType:
String
- for the message version to be updated. Valid types are:
text/html
,text/plain
,text/x-html-mobile
- for the message version to be updated. Valid types are:
Return
- statusCode:
int
1
: success.
Exception
- Exception
Documentation
- Updates an existing Message based on the Mime Type.
Examples
{
"messageId" : "12345",
"categoryId" : -1,
"mimeType" : "text/html",
"htmlContent" : "<p> Updated html content</p>",
"textContent" : "",
"mobileContent" : "",
"headerId" : 0,
"footerId": 0
}
{
"statusCode": 1
}