Click or drag to resize
LegacyTelogisServiceCreateTeam Method
Print this page
Create a Team. A Team is a collection of Driver objects.

Namespace: Telogis.API
 
Syntax
public long CreateTeam(
	string tag,
	Property[] properties
)

Parameters

tag
Type: SystemString
User-configurable tag for this team
properties
Type: Telogis.APIProperty
User-assigned properties for this team

Return Value

Type: Int64
The ID of the created Team
Remarks
A Fleet is a collection of Unit (typically vehicle) objects.
Examples
C#
// Create a Team of Drivers
long tid = myService.CreateTeam("Delivery Drivers", dd_props);
// now we can add Drivers to our new Team
myService.AddDriverToTeam(tid, 2609515);
myService.AddDriverToTeam(tid, 6757260);
See Also