Versions Compared

Key

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

...

This method is not HTTP Get compatable.

Method recieve


method

parameters

return

receive

Code Block

StringusernameStringpasswordString username, String password, Option[] criteria
Code Block

Message[]

Polling criteria include:

Criterion

Description

document-id

A valid documentId returned by MessageCore previously.

source

A particular source address.

destination

A particular destination address.

period-from

(YYYY/MM/DD HH:MM:SS) The arrival time lower limit.  this exact format must be used eg 2008/10/12 00:00:00

period-to

(YYYY/MM/DD HH:MM:SS) The arrival time upper limit. this exact format must be used eg 2008/10/13 00:00:00

tag

User defined tag.

max-messages

Max. number of messages return. Default is 1000.

poll-status

Either POLLED or UNPOLLED


 

Method receiveUnpolled

Client can poll for incoming messages that have not been previously polled for by using the receiveUnpolled method.  This method is the same as the receive method with the option value defaulted to unpolled. This method can be called using HTTP Get

Note

Only messages in response to SMS that have had a replyTo value set to "inbox:" will be retrieved.

...

note

method

parameters

return

receiveUnpolled

Code Block

StringusernameStringpasswordString username, String password, 
Code Block

Message[]

Polling criteria include:

...