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
)
Public Function CreateHierarchyItem (
parentId As Long,
objectId As Long,
name As String,
type As HierarchyItemType,
permission As HierarchyItemPermissions,
access As HierarchyAccess
) As HierarchyItem
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