Page tree
Skip to end of metadata
Go to start of metadata


Returns all the groups which have been created within a list

Method parameters

  • string GetGroups(string accessKey, intlistID)
    • accessKey: access key obtained using the LoginFromId method
    • listID: ID of the list within which the newsletter has to be created. Lists and corresponding IDs can be obtained calling the WS_MailUpSend.GetLists

If error code=0, the message will contain the IDs of all the groups in the specified list.

SOAP Examples

SOAP Response
<listName>Lista nr.1</listName>
<groupName>Gruppo nr.1</groupName>
<groupName>Gruppo nr.2</groupName>

Code Examples

# Refer to for gem information.
require 'mailup'
m ='username', 'password')
m.get_groups(:listId => 1)
# => "<GetGroupsResult><errorCode>0</errorCode><errorDescription></errorDescription><list><listID>0</listID><listName></listName><groups></groups></list></GetGroupsResult>"
  • No labels