Versions Compared

Key

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

Method parameters

Returns the HTML code of a newsletterspecific message by specifying the IDs of either the message or the MailUp list that contains it

Method parameters

  • string GetNewsletterCode (string accessKey, int listID, int newsletterID, bool bool usingTemplate)

...

Code Examples

Code Block
languageruby
titleRuby
# Refer to https://mailup.atlassian.net/wiki/display/mailupapi/MailUp+RubyGem for gem information.
require 'mailup'
m = MailUp::Send.new('username', 'password')
m.get_newsletter_code(:listId => 1, :newsletterID => 3, :usingTemplate => false)
# => <GetNewsletterCodeResult><errorCode>0</errorCode><errorDescription></errorDescription>...</GetNewsletterCodeResult>"