Click or drag to resize
LegacyTelogisServiceCreateFleet Method
Print this page
Create a new Fleet. A Fleet is a collection of Units (typically vehicles).

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

Parameters

tag
Type: SystemString
User-configurable tag for the new Fleet
properties
Type: Telogis.APIProperty
User-configurable properties for the new Fleet

Return Value

Type: Int64
The ID of the created Fleet
Examples
C#
// hang on to the Fleet ID (fid) so we can add units later
long fid = myService.CreateFleet("Couriers", c_props);
// add a unit to our new fleet...
myService.AddUnitToFleet(fid, unit_id);
See Also