ServicePRO SDK Help

KnowledgeBaseServiceManager..::..GetSuggestedSolutions Method

Gets the collection of suggested solution.(by provided parameters)

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

Syntax


public void GetSuggestedSolutions(
	string userSessionKey,
	string title,
	clsEnumeration..::..SearchItem searchItem,
	int categoryId,
	int repId,
	int[] keywords,
	bool isSuggested,
	clsEnumeration..::..hsObjectStatus objectStatus,
	int lngTypeId,
	Action<int, IEnumerable<Dictionary<string, Object>>, Exception> callbackAction
)
Public Sub GetSuggestedSolutions ( _
	userSessionKey As String, _
	title As String, _
	searchItem As clsEnumeration..::..SearchItem, _
	categoryId As Integer, _
	repId As Integer, _
	keywords As Integer(), _
	isSuggested As Boolean, _
	objectStatus As clsEnumeration..::..hsObjectStatus, _
	lngTypeId As Integer, _
	callbackAction As Action(Of Integer, IEnumerable(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.
title
Type: String
The title.
searchItem
Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..SearchItem
The search item type.
categoryId
Type: Int32
The category identifier.
repId
Type: Int32
The Rep identifier.
keywords
Type: array<Int32>[]()[][]
The keywords.
isSuggested
Type: Boolean
set to true if searching for suggested solution.
objectStatus
Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsObjectStatus
The HelpSTAR object status.
lngTypeId
Type: Int32
The type identifier.
callbackAction
Type: Action<(Of <(<'Int32, IEnumerable<(Of <(<'Dictionary<(Of <(<'String, Object>)>)>>)>)>, Exception>)>)>
The callback action.