Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • REST (GET): /services/rest/message/status?username=[]&password=[]&documentId=[]
  • SOAP: /services/ws/message?wsdl (method: status)


 

   <soapenv:Header/>
   <soapenv:Body>
      <ser:status>
         <username>?</username>
         <password>?</password>
         <documentId>?</documentId>
      </ser:status>
   </soapenv:Body>
</soapenv:Envelope>

 


What information to return?

...

For the SOAP endpoint (XML):


 

   <soap:Body>
         <return>            
        <documentId>4fbb6cd21a88393bc47baf33</documentId>            
            <recipient>48660703691</recipient>
            <messageStatus>10</messageStatus>
         </return>
   </soap:Body>
</soap:Envelope>
 


Status codes
Anchor
Status_codes
Status_codes

...

If message parts have different statuses, the status returned in the query process will be the lowest priority status within the relevant message parts.   It is possible for one message part to show as delivered while the others show as sent.  A multipart message will not display on a handset until all message parts are delivered so the valid total message status is sent and this is what your message status query will return.   You can log into the user web application on MC5 and view the status of the individual message parts as each Outbound message to the SMSC shows as a separate entry in the SMS Out Volume Report 


Status code

Final

Meaning

When?

-101

Y

No username

 


-102

Y

No password

 


-103

Y

No document id

 


-104YInvalid recipientRecipient number invalid - validation rules - numeric length: 8-16 inclusive
-105YInvalid sourceSender number invalid - validation rules - in the system - hardcoded So alpha <2, 11>, digit < 3, 16>
-106YEmpty textSMS text was empty
-107YMissing sender or replyToBoth sender and replyTo value were missing. Exactly of them should be present.
-108YBoth sender and replyTo providedBoth sender and replyTo were provided. Exactly one of them is allowed.
-109YInvalid rotation algorithm providedAvailable algorithms are: max_rotation, conversation
-110YInvalid encoding nameAvailable encodings are e.g. "utf-16", "gsm", "iso-8859-1" etc. (see Send Single Message)

-200

Y

Invalid username/password

Last event: "invalid username/pass"

-201

Y

User disabled

Last event: "user disabled"

-202YUser blockedLast event: "user blocked"

-210

Y

Insufficient credits

Last event: "no credits"

-230YDocument ID not matchedUser does not have rights to check message status
-240YInvalid (not supported) replyTo value 

-910

Y

SMSC error

Last event: "send failure" 

-999

Y

Internal error 


Missing status codes:

  • -110 (invalid xml): not possible? It would be an WS-framework error?
  • -211 (invalid service), -930 (status query timeout): N/A
  • -900 (service not available): ?
  • -940 (query too fast)

...