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 11 Next »

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>"
  • No labels