/messagedb/update
<base-url>/messagedb/update.[xml|json]
Example: https://127.0.0.1:7000/messagedb/update.json
Use this URL to update a single message or multiple new messages in the server. This will update all of the properties specified in this body of this call.
Update messages of any message type this way. Including SMS or E-mail messages. Look at the database structure to find all the fields that are available for each message type.
The structure of the message is the same as for the Create URL. Please look at the create URL for examples with multiple messages, attachments, TLV’s, etc.
Post body
The post body needs to contain the ID of the message to update.
{
"message": [
{
"ID" : 95557
, "TriggerStatusID" : ""
, "Body" : "Reprocess this message"
}]
}
<update>
<message>
<ID>95557</ID>
<TriggerStatusID></TriggerStatusID>
<Body>Reprocess this message</Body>
</message>
</update>
Response body
{
"result":[
{
"LocalID":"[]",
"ID":"95557",
"LastError":0,
"LastErrorDescription":"Success"
}
]
}
<response>
<result>
<LocalID></LocalID>
<ID>95557</ID>
<LastError>0</LastError>
<LastErrorDescription>Success</LastErrorDescription>
</result>
</response>