Versions Compared

Key

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

...

Method parameters

Returns all the text messages (SMS) created within a list

  • string GetSMS(string accessKey, int listID)
  • accessKey:

...

  •  access key obtained using the Login method
  • listID: Id of the list in which the desired text messages are contained. Lists and corresponding IDs can be obtained calling the GetLists Method

If error code=0, the message will contain the IDs of all the text messages in the list.

Sample GetSMS response

Code Block
languagehtml/xml
linenumberstrue
<GetSMSResult>
<errorCode>0</errorCode>
<errorDescription></errorDescription>
<list>
<listID>1</listID>
<listName>Lista nr.1</listName>
<messages>
<SMS>
<smsID>1</ smsID >
<subject>SMS nr.1 Aprile 2009 | Le novità del mese</subject>
<creationdate>20090402</creationdate>
</SMS>
</messages>
</list>
</GetSMSResult>