Message-ID: <835311479.15875.1614958552073.JavaMail.confluence@wiki> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_15874_855848341.1614958552073" ------=_Part_15874_855848341.1614958552073 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", "=
;447777000001,447777000002");
Console.WriteLine("Added {0} numbers to My Group", result);
=20
Arguments:
String groupName:
Name ID of the group to add the numbers to.
String numbersArray:
The MSISDN (mobile number) you wish to add. If you want to add more than= one number 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= invalid. |
| 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.