...
- string CreateGroup(string accessKey, int listID, string groupName, stringgroupNotes)
- accessKey: access key obtained using the Login method
- listID: ID of the list that the new Group will belong to
- groupName: name of the new Group
- groupNotes: administrative notes for this new Group
...
Info |
---|
If a group with the same name already exists in the list, then no new group is created and the ID of existing group is returned. |
SOAP Examples
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://services.mailupnet.it/WS">
<soapenv:Header/>
<soapenv:Body>
<ws:CreateGroup>
<ws:accessKey>HzAgwRRJaAKBtkgNWpkAuURfV4SxMm6T3HJegRuSkUivKJElNNcmSQe8nqGyoM9</ws:accessKey>
<ws:listID>2</ws:listID>
<ws:groupName>Top customers</ws:groupName>
<ws:groupNotes>use notes for group description</ws:groupNotes>
</ws:CreateGroup>
</soapenv:Body>
</soapenv:Envelope> |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<CreateGroupsResult> <errorCode>0</errorCode> <errorDescription></errorDescription> <list> <listID>1< <listID>2</listID> <listName>Demo</listName> <groups> <group> <groupID>1</groupID> <groupName>Demo</groupName> <groupdNotes>Note Gruppo</groupNotes> <groupName>Top customers</groupName> <groupdNotes>use notes for group description</groupNotes> </group> </groups> </list> </CreateGroupsResult> |
...