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
)
Public Function CreateTeam (
tag As String,
properties As Property()
) As Long
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
long tid = myService.CreateTeam("Delivery Drivers", dd_props);
myService.AddDriverToTeam(tid, 2609515);
myService.AddDriverToTeam(tid, 6757260);
See Also