Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Code Block
languagehtml/xml
linenumberstrue
<mailupMessage>
<mailupBody>
<ReturnCode>0</ReturnCode>
<Lists>
<List idList="1" listGUID="F9168C5E-CEB2-4FAA-B6BF-329BF39FA1E4">
<Groups>
<Group idGroup="1" groupName="First Group" />
<Group idGroup="2" groupName="Second Group" />
</Groups>
</List>
</Lists>
</mailupBody>
</mailupMessage>

Error

...

codes

Error codeDescription
0request execution succeeded
-200 unrecognized error

...

Ruby Example

Code Block
languageruby
# Refer to https://mailup.atlassian.net/wiki/display/mailupapi/MailUp+RubyGem for gem information.
require 'mailup'
m = MailUp::Import.new('username', 'password', 'console_url')
m.get_nl_lists_user(:userId => 123456)
# => <?xml version=\"1.0\" encoding=\"windows-1252\" ?><mailupMessage><mailupBody><ReturnCode>0</ReturnCode><Lists>...</Lists></mailupBody></mailupMessage>