Click or drag to resize
LegacyTelogisServiceCreateHierarchyItem Method
Print this page
Create a new hierarchy item within the hierarchy.

Namespace: Telogis.API
 
Syntax
public HierarchyItem CreateHierarchyItem(
	long parentId,
	long objectId,
	string name,
	HierarchyItemType type,
	HierarchyItemPermissions permission,
	HierarchyAccess access
)

Parameters

parentId
Type: SystemInt64
ID of the parent hierarchy node
objectId
Type: SystemInt64
ID of this item (unit, user, driver, fleet, team, or category)
name
Type: SystemString
Name of this unit, user, driver, fleet, team, or category
type
Type: Telogis.APIHierarchyItemType
Type of this hierarchy item
permission
Type: Telogis.APIHierarchyItemPermissions
Permissions granted for working with this hierarchy item
access
Type: Telogis.APIHierarchyAccess
Access rules for this hierarchy item

Return Value

Type: HierarchyItem
The newly created hierarchy item.
See Also