| LegacyTelogisServiceMoveHierarchyItem Method | 
Print this page
                        Move the given hierarchy item from one parent to another.
            
 
Namespace: Telogis.API  Syntax
Syntaxpublic HierarchyItem MoveHierarchyItem(
	long itemId,
	long oldParentId,
	long newParentId
)
Public Function MoveHierarchyItem ( 
	itemId As Long,
	oldParentId As Long,
	newParentId As Long
) As HierarchyItem
Parameters
- itemId
- Type: SystemInt64
 ID of the hierarchy item (unit, user, driver, category, fleet, or team) to move
- oldParentId
- Type: SystemInt64
 ID of the old parent node
- newParentId
- Type: SystemInt64
 ID of the new parent node
Return Value
Type: 
HierarchyItem
            The hierarchy item moved.
            
 See Also
See Also