ServicePRO SDK Help

RequestServicesManager..::..DeleteRequest Method

Deletes the service request.

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

Syntax


public void DeleteRequest(
	string userSessionKey,
	int RequestId,
	bool bolViaId,
	bool isFolder,
	bool deleteRecurrence,
	Action<bool, Exception> callbackAction
)
Public Sub DeleteRequest ( _
	userSessionKey As String, _
	RequestId As Integer, _
	bolViaId As Boolean, _
	isFolder As Boolean, _
	deleteRecurrence As Boolean, _
	callbackAction As Action(Of Boolean, 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.
RequestId
Type: Int32
The request identifier.
bolViaId
Type: Boolean
set to true if use Hierarchy identifier to retrieve data.
isFolder
Type: Boolean
set to true if deleting a folder.
deleteRecurrence
Type: Boolean
set to true if deleting a recurrence.
callbackAction
Type: Action<(Of <(<'Boolean, Exception>)>)>
The callback action.