ServicePRO SDK Help

RequestServicesManager..::..GetWorkspaceTree Method

Gets the workspace tree.

Namespace:  ServicePRO.Sdk.Windows.Managers
Assembly:  ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)

Syntax


public void GetWorkspaceTree(
	string userSessionKey,
	clsEnumeration..::..hsQueueView queueView,
	bool isInServiceSelected,
	bool isInDispatchSelected,
	bool isInQueueSelected,
	stcListItem supportRep,
	int selectedQueueId,
	Action<ObservableCollection<HierarchyItem>, Exception> callbackAction
)
Public Sub GetWorkspaceTree ( _
	userSessionKey As String, _
	queueView As clsEnumeration..::..hsQueueView, _
	isInServiceSelected As Boolean, _
	isInDispatchSelected As Boolean, _
	isInQueueSelected As Boolean, _
	supportRep As stcListItem, _
	selectedQueueId As Integer, _
	callbackAction As Action(Of ObservableCollection(Of HierarchyItem), Exception) _
)

Parameters

userSessionKey
Type: String
User’s Session Key.
Key property of the User Session Object of type stcSession.
The User Session has to be established by making a call to InitializeSystemAndSession() method in CoreServicesManager class as a first step with using ServicePRO SDK.
queueView
Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsQueueView
The queue view.
isInServiceSelected
Type: Boolean
set to true if "in service" queue is selected.
isInDispatchSelected
Type: Boolean
set to true if "in dispatch" queue is selected.
isInQueueSelected
Type: Boolean
set to true if "in queue" is selected.
supportRep
Type: HelpSTAR.PCL.Common..::..stcListItem
The support Rep information.
selectedQueueId
Type: Int32
The selected queue identifier.
callbackAction
Type: Action<(Of <(<'ObservableCollection<(Of <(<'HierarchyItem>)>)>, Exception>)>)>
The callback action.