Click or drag to resize

ItemServicesGetItemChildren Method

Retrieves the immediate children and optinoally all descendants of an Item based on its 128-bit unique identifier (the Id property of the Item object).

Namespace:  FactoryLogix.xTend.Logistics
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public IEnumerable<Item> GetItemChildren(
	Guid sessionId,
	Guid itemId,
	bool allDescendants
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
itemId
Type: SystemGuid
The 128-bit unique identifier of the Item. Corresponds to its primary key in the FactoryLogix database.
allDescendants
Type: SystemBoolean
If null or false, the Item returned will include only its immediate descendants. If true, the Item returned will include all known descendants (entire genealogy).

Return Value

Type: IEnumerableItem
A list of Item objects representing the immediate children of the item matching the specified itemId.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
NotFoundExceptionThrown if the itemId parameter specifies an Item that does not exist.
See Also