Versions Compared

Key

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

...

  • string CreateGroup(string accessKey, int listID, string groupName, stringgroupNotes)
    • accessKey: access key obtained using the Login LoginFromID 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
languagehtml/xml
titleSOAP request
linenumberstrue
<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> 

...