RequestServicesManager..::..GetWorkspaceRequests Method
Gets the collection of request belongs to specific workspace.
Namespace:
ServicePRO.Sdk.Windows.ManagersAssembly: ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)
Syntax
public void GetWorkspaceRequests( string userSessionKey, stcListItem selectedUser, clsEnumeration..::..hsQueueView queueView, HierarchyItem selectedNode, clsEnumeration..::..hsListFilter listFilter, clsEnumeration..::..hsListServiceRequestType listType, clsEnumeration..::..hsStatus requestStatus, int filterOptions, bool includeSubFolders, bool showInDispatch, bool showInService, bool showInQueue, int startRow, int endRow, string orderByClause, string whereClause, Nullable<DateTime> lastSyncTime, int[] clientSnapshotCollection, Action<ObservableCollection<stcQueryField>, int, HierarchyItem, ObservableCollection<Dictionary<string, Object>>, int[], int[], int, Exception> callbackAction )
Public Sub GetWorkspaceRequests ( _ userSessionKey As String, _ selectedUser As stcListItem, _ queueView As clsEnumeration..::..hsQueueView, _ selectedNode As HierarchyItem, _ listFilter As clsEnumeration..::..hsListFilter, _ listType As clsEnumeration..::..hsListServiceRequestType, _ requestStatus As clsEnumeration..::..hsStatus, _ filterOptions As Integer, _ includeSubFolders As Boolean, _ showInDispatch As Boolean, _ showInService As Boolean, _ showInQueue As Boolean, _ startRow As Integer, _ endRow As Integer, _ orderByClause As String, _ whereClause As String, _ lastSyncTime As Nullable(Of DateTime), _ clientSnapshotCollection As Integer(), _ callbackAction As Action(Of ObservableCollection(Of stcQueryField), Integer, HierarchyItem, ObservableCollection(Of Dictionary(Of String, Object)), Integer(), Integer(), Integer, 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.
- selectedUser
- Type: HelpSTAR.PCL.Common..::..stcListItem
The selected user.(owner of the workspace)
- queueView
- Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsQueueView
The queue view.
- selectedNode
- Type: HelpSTAR.Hybrid.Common..::..HierarchyItem
The selected node in workspace tree.
- listFilter
- Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsListFilter
The list filter.
- listType
- Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsListServiceRequestType
Type of the service request to be list.
- requestStatus
- Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsStatus
The request status information.
- filterOptions
- Type: Int32
The filter options.
- includeSubFolders
- Type: Boolean
set to true if need to include sub folders in result collections.
- showInDispatch
- Type: Boolean
set to true if using result in "dispatch" folder.
- showInService
- Type: Boolean
set to true if using result in "in service" folder.
- showInQueue
- Type: Boolean
set to true if using result in queue.
- startRow
- Type: Int32
The number of starting row.
- endRow
- Type: Int32
The number of ending row.
- orderByClause
- Type: String
The order by clause in query string.
- whereClause
- Type: String
The where clause in query string.
- clientSnapshotCollection
- Type: array<Int32>[]()[][]
The client snapshot collection.
- callbackAction
- Type: Action<(Of <(<'ObservableCollection<(Of <(<'stcQueryField>)>)>, Int32, HierarchyItem, ObservableCollection<(Of <(<'Dictionary<(Of <(<'String, Object>)>)>>)>)>, array<Int32>[]()[][], array<Int32>[]()[][], Int32, Exception>)>)>
The callback action.(contains result collections if success.)