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
Add a number/numbers to a 'send' group (excluding 'merge' groups).
int numAdded =3D tmClient.addNumbersToGroup("My Group", &qu= ot;447777000001,447777000002"); System.out.println("Added " + numAdded + " to My Group"= );=20
Arguments:
String groupName:
Name ID of the group to add the numbers to.
String numbersArray:
numbers The MSISDN (mobile number) you wish to add, if you want to add m= ore then one use a comma delimited list.
Returns:
an integer with the total of added numbers to the selected group.
Specific error codes:
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. |
error code 404 is reported if the group does not exist. See General error codes.