Click or drag to resize

ItemServicesGetItemById Method

Retrieves a single Item based on its Id (128-bit unique identifier). No children or descendants of the Item will be returned by this method.

Namespace:  FactoryLogix.xTend.Logistics
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public Item GetItemById(
	Guid sessionId,
	Guid itemId
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
itemId
Type: SystemGuid
The Id of the item

Return Value

Type: Item
An Item object representing the item matching the specified Id, or null if the item was not found.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if the itemId is invalid.
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
NotFoundExceptionThrown if the itemId parameter specifies an Item that does not exist.
See Also