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

addNumbersToGroup - Java

=20
=20
=20
=20

 

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

Add a number/numbers to a 'send' group (excluding 'merge' groups).

=20
=20
=20
=20
=20
=20
Example
=20
int numAdded =3D tmClient.addNumbersToGroup("My Group", &qu=
ot;447777000001,447777000002");
System.out.println("Added " + numAdded + " to My Group"=
);
=20
=20
=20
=20
=20
=20
=20

Arguments:

=20
=20
=20
=20

 

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

String groupName:

=20
=20
=20
=20

Name ID of the group to add the numbers to.

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

String numbersArray: 

=20
=20
=20
=20

numbers The MSISDN (mobile number) you wish to add, if you want to add m= ore then one use a comma delimited list.

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

Returns:

=20
=20
=20
=20

an integer with the total of added numbers to the selected group.

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

Specific error codes:

=20
=20
=20
=20
Code Meaning
0 The group ID or name was not specified or was in= valid.
1 DEPRECATED
2 No numbers were supplied for adding to the group= .
3

A number was not of a valid format.

4 This service will not add to a merge group. Merg= e groups are not handled by this function.
=20 =20

error code 404 is reported if the group does not exist. See General error codes.

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

 

=20
=20
=20
=20

 

=20
=20
=20
------=_Part_15836_334271329.1614958380446--