...
method | parameters | return |
---|---|---|
receiveUnpolled | String username, String password, | Message[] |
Method receiveInboundMessage
method | parameters | return |
---|---|---|
receiveInboundMessage | Stringusername,Stringpassword, Option[] criteria | InboundMessage[] |
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 |
Return Parameters in Message[] array
parameter | type | notes |
---|---|---|
arrivalTimestamp | nillable="true" type="soapenc:string" | time and date of MO received from smsc |
replyLink | nillable="true" type="tns1:Address" | as defined by replyto address of MT message - if set to inbox: will contain "inbox:dId=... where dId is the MT Document ID that is matched to the MO message |
payload | nillable="true" type="tns1:Payload" | format of text string eg ASCII or HEX or UTF-8 |
responseText | nillable="true" type="soapenc:string" | text of MO message |
responseTimestamp | nillable="true" type="soapenc:string" | time of collection of message |
sourceAddress|nillable="true" type="tns1:Address"|MSISDN of MO message sender|