Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 3 Next »

Method parameters

Returns all the newsletters created within a list

  • string GetNewsletters(string accessKey, int listID)
  • accessKey: access key obtained using the Login method
  • listID: Id of the list in which the desired newsletters 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 newsletters in the list.

Sample GetNewsletters response

<GetNewslettersResult>
<errorCode>0</errorCode>
<errorDescription></errorDescription>
<list>
<listID>1</listID>
<listName>Lista nr.1</listName>
<newsletters>
<newsletter>
<newsletterID>1</newsletterID>
<subject>Newsletter nr.1 Aprile 2009 | Le novità del mese</subject>
<creationdate>20090402</creationdate>
</newsletter>
<newsletter>
<newsletterID>1</newsletterID>
<subject>Newsletter nr.2 Maggio 2009 | Le novità del mese</subject>
<creationdate>20090505</creationdate>
</newsletter>
</newsletters>
</list>
</GetNewslettersResult> 
  • No labels