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
)
Public Function CreateFleet (
tag As String,
properties As Property()
) As Long
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
long fid = myService.CreateFleet("Couriers", c_props);
myService.AddUnitToFleet(fid, unit_id);
See Also