ServicePRO SDK Help

RequestServicesManager..::..AddNewReqestIDsToTree Method

Batch add the new request identifiers to tree.

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

Syntax


public void AddNewReqestIDsToTree(
	string userSessionKey,
	List<int> AllChildIds,
	int parentID,
	Action<bool, string, Exception> callbackAction
)
Public Sub AddNewReqestIDsToTree ( _
	userSessionKey As String, _
	AllChildIds As List(Of Integer), _
	parentID As Integer, _
	callbackAction As Action(Of Boolean, String, 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.
AllChildIds
Type: List<(Of <(<'Int32>)>)>
Collection of child identifiers.
parentID
Type: Int32
The parent identifier.
callbackAction
Type: Action<(Of <(<'Boolean, String, Exception>)>)>
The callback action.