Message-ID: <1635044163.15835.1614958371321.JavaMail.confluence@wiki> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_15834_720513067.1614958371320" ------=_Part_15834_720513067.1614958371320 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html addGroup - Java

addGroup - Java

=20
=20
=20
=20

 

=20
=20
=20
=20
=20
=20

Create a new 'send' group.

=20
=20
=20
=20
=20
=20
Example
=20
if(tmClient.addGroup("My Group"))
=09System.out.println("'My Group' added with success.");
=20
=20
=20
=20
=20
=20
=20

Arguments:

=20
=20
=20
=20

 

=20
=20
=20
=20
=20
=20

String group: 

=20
=20
=20
=20

the name of the group to be created. Up to 25 alpha-numeric characters, = and '-' are allowed. The name cannot consist of only digits.

=20
=20
=20
=20
=20
=20

Returns:

=20
=20
=20
=20

an true boolean if the group is added with success 

=20
=20
=20
=20
=20
=20

Specific error codes:

=20
=20
=20
=20
Code Meaning
0

DEPRECATED.

1 A group with that name already exists (group nam= es are not case-sensitive).
2

The group name is invalid. Only up to 25 alph= a-numeric characters, and '-' are allowed. The name cannot consist of only = digits, at least one alpha character or '-' must be present.

=20 =20

error code 404 is reported if the group does not exist; error code 400 i= s reported if the group name was not specified. See General error codes.

=20
=20
=20
=20
=20
=20
=20
=20
=20
=20
=20
=20

 

=20
=20
=20
=20

 

=20
=20
=20
=20
=20
=20

 

=20
=20
=20
=20

 

=20
=20
=20
=20

 

=20
=20
=20
------=_Part_15834_720513067.1614958371320--