Method parameters
Allows to retrieve all non-cloned messages for each list.
- string GetMessages(string accessKey, intlistID)
- accessKey: access key obtained using the Login method
- listId: list identifier
The output is the same as the WS_MailUpSend.GetNewsletters method
In the Microsoft Dynamics CRM, messages are connected to Campaign Activities, and lists to Org. Calling the GetNewsLetters method allows to track the Campaign Activities of an Org.
GetMessages response is different from the one returned by GetNewsletters when some messages have been cloned: GetMessages does not list cloned messages
Ruby Example
# Refer to https://mailup.atlassian.net/wiki/display/mailupapi/MailUp+RubyGem for gem information. require 'mailup' m = MailUp::Send.new('username', 'password') m.get_newsletters # => <GetNewslettersResult><errorCode>0</errorCode><errorDescription></errorDescription><list><listID>0</listID><listName></listName><newsletters></newsletters></list></GetNewslettersResult>"