SOAP RESTful – Message – DeleteMessage
Deletes a message.
If the message has not been sent, then delete message will make sure it is never sent.
DeleteMessage (AccountPhoneNumber, AccountPassword, MessageID)
Input parameter:
AccountName | Your account name | String |
AccountPassword | Your password | String |
MessageID | Your own Message ID of the message you want to delete. | String |
Return value:
Result | Any given result of the operation | Result |
Result values can be:
DeleteeMessageResult
ResponseCode | ResponseText |
---|---|
13110 | Could not validate the user. Wrong username or password. |
13199 | Exception in validateUser. |
13230 | MessageID is too long. Limit is 50 chars. |
13299 | Exception in validateMessageID. |
13310 | Something went wrong when deleting the message. |
134xx | Delete failed. |
0 | Message successful deleted. |