Click or drag to resize

TrackingServicesGetTrackedItemData Method

Retrieves a paged list of all TrackedDataItems associated with a particular Item, filtered by the types specifed by the flagged enumeration "filters" parameter (TrackedDataItemFilter).

Namespace:  FactoryLogix.xTend.Production
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public PagedSearchResults<TrackedDataItem> GetTrackedItemData(
	Guid sessionId,
	Guid itemId,
	TrackedDataItemFilter filters,
	int pageSize,
	int pageNumber
)

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 whose TrackedDataItems are sought.
filters
Type: FactoryLogix.xTend.DataObjectsTrackedDataItemFilter
A flagged, enumeration indicating one or more TrackedDataItem types to filter by.
pageSize
Type: SystemInt32
The maximum number of items to be returned by each single call to this method. This parameter must fall within a range of 0 to a maximum value of 500. If a value of 0 or null is specified, the default page size of 20 will be used.
pageNumber
Type: SystemInt32
The page number of the result set to be retrieved when the search results in a result set greater than the page size. By default, a value of 1 will be used if this parameter is null or 0. A value of -1 indicates that the last page is desired.

Return Value

Type: PagedSearchResultsTrackedDataItem
A PagedSearchResultsT object containing 1 page worth of search results, where T is derived from type TrackedDataItem. If the result set of the search is greater than the page size, the return object contains the total number of pages which may be used by subsequent calls to retrieve more pages worth of result data.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
ItemExceptionThrown if the itemId parameter is invalid.
See Also