Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 5 Current »

Query SMS Status

This provides the capability to query the status of previously submitted SMS. A query is made using the documentId returned from above. An list of phone numbers and current status is returned

method

parameters

return

query

(String username, String password, String documentId);

SubmitStatus[]

Class SubmitStatus{
    String recipient;
    int    statusCode;
}

StatusCodes

if recipient = "" (empty string)

Status

Value

MESSAGE_STATE_CODE_PENDING

1001

MESSAGE_STATE_CODE_PARSED

1002

MESSAGE_STATE_CODE_PARSE_ERROR

1003

MESSAGE_STATE_CODE_AUTHENTICATED

1004

MESSAGE_STATE_CODE_AUTHORISED

1005

MESSAGE_STATE_CODE_BLOCKED

1006

MESSAGE_STATE_CODE_SUBMITTED

1007

MESSAGE_STATE_CODE_INVALID_DOCUMENT

1008

MESSAGE_STATE_CODE_ERROR

1009

MESSAGE_STATE_CODE_IGNORED

1010

if recipient = phone number

Status

Value

SMS_STATE_CODE_UNKNOWN

0

SMS_STATE_CODE_EN_ROUTE

1

SMS_STATE_CODE_DELIVERED

2

SMS_STATE_CODE_EXPIRED

3

SMS_STATE_CODE_DELETED

4

SMS_STATE_CODE_UNDELIVERABLE

5

SMS_STATE_CODE_ACCEPTED

6

SMS_STATE_CODE_INVALID

7

SMS_STATE_CODE_REJECTED

8

SMS_STATE_CODE_PENDING

9

SMS_STATE_CODE_SUBMITTED

10

SMS_STATE_CODE_SENT

11

  • No labels