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

getGroup - Java

=20
=20
=20
=20

 

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

Shows the details of a group. Only gets the details of one group at a ti= me, and includes all the numbers in the group, if there are any.
Also = lists the numbers in a 'stop' groups - numbers in these groups will never b= e sent messages. Every account has at least one stop group, so that your re= cipients can always opt out of receiving messages from you. This is a legal= requirement.

=20
=20
=20
=20
=20
=20
Example
=20
String[] numbers =3D tmClient.getGroup("My Group");
for(String number: numbers)
=09System.out.println("Number: " + number);
=20
=20
=20
=20
=20
=20
=20

Arguments:

=20
=20
=20
=20

 

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

String group:

=20
=20
=20
=20

Group name or group ID to get the numbers of.

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

Returns:

=20
=20
=20
=20

an String array with the numbers of the group

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

Specific error codes:

=20
=20
=20
=20

None. 

=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
Next
=20 =20
=20
=20
=20
=20

 

=20
=20
=20
=20

 

=20
=20
=20
------=_Part_15846_1530523305.1614958425360--