Versions Compared

Key

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

This method is only an http get method and returns a simple flat text file this is easy to parse for organisations not wishing to use webservices

 

 

URL

[https://primary.smartmessagingservices.net:8843/gateway/

...

querySms?username=[]&password=[]

...

&

...

documentid=

...

[]

Attribute

Description

Parameter username

Valid messagecore username

Parameter password

Password for username

Parameter documentid

Document id returned when using either "send" "sendSingle" or 'senddocument" method

...


Returns

Returns Flat Text with 4 columns that are space delimited and one line per message sent from the original send method. 


Return Columns 


Column

Data

Format

1

Sent to Phone Number

Text

2

State

Text

3

Date

YYYY-MM-DD

4

Time

hh:mm:ss

...


YYYY = four-digit year

MM   = two-digit month (01=January, etc.)

...

s    = one or more digits representing a decimal fraction of a second 


Eg 


61423282862 DELIVERED 2009-02-15 14:19:30

...