ServicePRO SDK Help

RequestServicesManager..::..ValidateCategory Method

Validates the and get the best matching category.

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

Syntax


public void ValidateCategory(
	string userSessionKey,
	int categoryId,
	int organizationalUnitId,
	int folderId,
	int objectTypeId,
	Action<bool, stcListItem, Exception> callbackAction
)
Public Sub ValidateCategory ( _
	userSessionKey As String, _
	categoryId As Integer, _
	organizationalUnitId As Integer, _
	folderId As Integer, _
	objectTypeId As Integer, _
	callbackAction As Action(Of Boolean, stcListItem, 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.
categoryId
Type: Int32
The category identifier.
organizationalUnitId
Type: Int32
The organizational unit identifier.
folderId
Type: Int32
The folder identifier.
objectTypeId
Type: Int32
The object type identifier.
callbackAction
Type: Action<(Of <(<'Boolean, stcListItem, Exception>)>)>
The callback action.