Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Team new

From Catglobe Wiki
Revision as of 02:20, 22 June 2017 by Nguyenduyan (talk | contribs) (Created page with "Category:Team_Functions {{HelpFiles}} = Team_new = Create a new Team on a resource (On GUI, Team is under Team tab of resource) == Syntax == Team_new(resourceId, team...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Team_new

Create a new Team on a resource (On GUI, Team is under Team tab of resource)

Syntax

Team_new(resourceId, teamTypeId, groupResourceId);

Arguments

number resourceId: is ResourceId of resource that you want to create a Team into

number teamTypeId: is Id of Team Type that the Team belong to (on GUI, the Team Type at Administration/HR/Team types)

number groupResourceId: is ResourceId of group that belong to the Team

Return type

array of Team object

Example

number resourceId = 15562383;
number teamTypeId = 1;
number groupResourceId = 15567436;
Team_new(resourceId, teamTypeId, groupResourceId);//{33,1,My Team,15567436,15562383,{}}