Method parameters:
CreateGroup(int idList, int listGUID, string newGroupName)
Creates a new group for the specified list.
- idList: list identifier
- listGuid: GUID of the list
- newGroupName: name of the group to be created
If a group with the same name already exists in the list, then no new group is created and an error code is returned, otherwise the ID of the created group is returned.
Sample CreateGroup response
<mailupMessage> <mailupBody> <ReturnCode>12</ReturnCode> </mailupBody> </mailupMessage>
Error codesĀ
Error code | Description |
---|---|
-300 | unrecognized error |
-301 | the list has not been specified |
-302 | the group name has not been specified |
-303 | the group already exists |