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

Method parameters

Returns all the groups which have been created within a list

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

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

Sample GetGroups response

<GetGroupsResult>
<errorCode>0</errorCode>
<errorDescription></errorDescription>
<list>
<listID>1</listID>
<listName>Lista nr.1</listName>
<groups>
<group>
<groupID>1</groupID>
<groupName>Gruppo nr.1</groupName>
</group>
<group>
<groupID>2</groupID>
<groupName>Gruppo nr.2</groupName>
</group>
</groups>
</list>
</GetGroupsResult>




  • No labels