ServicePRO SDK Help

RequestServicesManager..::..GetAllSupportReps Method

Gets collection of all support reps.

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

Syntax


public void GetAllSupportReps(
	string userSessionKey,
	bool includeTeam,
	Action<ObservableCollection<Dictionary<string, Object>>, Exception> callbackAction
)
Public Sub GetAllSupportReps ( _
	userSessionKey As String, _
	includeTeam As Boolean, _
	callbackAction As Action(Of ObservableCollection(Of Dictionary(Of String, Object)), 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.
includeTeam
Type: Boolean
set to true if need to include team information in return data.
callbackAction
Type: Action<(Of <(<'ObservableCollection<(Of <(<'Dictionary<(Of <(<'String, Object>)>)>>)>)>, Exception>)>)>
The callback action.