SOAP RESTful – Message – ReadMessageStatus
Use the ReadMessageStatus method to find the current status of a given message. It is only possible to request status for messages, which have a Message ID, when you submit them.
Not submitting a MessageID, when you call CreateMessage is possible, but then you will not be able to query the status of this message afterwards.
If an error occures, while getting the messagestatus object, the returned message id will be -1 and StatusCode will be the responsecode, the StatusText will be the responseText mentioned in the later table.
ReadMessageStatus (AccountPhoneNumber, AccountPassword, MessageID)
|AccountName||Your account name||String|
|MessageID||The MessageID of the message, you want to know status of.||String|
|Result||A given status of the message.||MessageStatus|
Result values can be:
[ultimatetables 9 /]
If the MessageID of the return is a positiv integer, then you have queried a real message. In that case, the StatusCode and StatusMessage could be the following: