Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

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

Code Block
themeRDark
languagec#
titleExample
linenumberstrue
int numAdded = tmClient.addNumbersToGroup("My Group", "447777000001,447777000002");
Console.WriteLine("Added {0} numbers to My Group", result);

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:

CodeMeaning
0

The group ID or name was not specified or was invalid.

1DEPRECATED.
2No numbers were supplied for adding to the group.
3

A number was not of a valid format.

4This service will not add to a merge group. Merge groups are not handled by this function.
Note

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

Panel
title
  • Next