ℹ️ The Auron SMS Server is now Auron Omni. Learn more here.

How can we help?

/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 messages in the server. This call updates all of the properties specified in the body.

Update messages of any message type this way. This includes SMS or email 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, TLVs, 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>