Versions Compared

Key

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

 

Create a new 'send' group.

Code Block
themeRDark
languagejava
titleExample
linenumberstrue
if(tmClient.addGroup("My Group"))
	System.out.println("'My Group' added with success.");

Arguments:

 

String group: 

the name of the group to be created. Up to 25 alpha-numeric characters, and '-' are allowed. The name cannot consist of only digits.

Returns:

an true boolean if the group is added with success 

Specific error codes:

CodeMeaning
0

DEPRECATED.

1A group with that name already exists (group names are not case-sensitive).
2

The group name is invalid. Only up to 25 alpha-numeric characters, and '-' are allowed. The name cannot consist of only digits, at least one alpha character or '-' must be present.

Note

error code 404 is reported if the group does not exist; error code 400 is reported if the group name was not specified. See General error codes.

Panel
title
  • Next
Panel
titleAll Functions
Panel
titleDownload