Click or drag to resize

ITestApiCreateDocumentUploadSession Method

Create new document upload session with corresponding workflow, activity and document upload component name. This API is recommended to be called inside OnExecuting method.

Namespace: Casewhere.Runtime.DSL.Api
Assembly: Casewhere.Runtime (in Casewhere.Runtime.dll) Version: 2.8.5.0
Syntax
C#
Guid CreateDocumentUploadSession(
	Guid documentId,
	string workflowName,
	string activityName,
	string componentName,
	int fileSize = 0,
	string fileName = ""
)

Parameters

documentId  Guid
Use IDocumentApi to create a DocumentInfo object.
workflowName  String
The workflow name.
activityName  String
The activity name.
componentName  String
The document upload component name.
fileSize  Int32  (Optional)
File size of document.
fileName  String  (Optional)
File name of document.

Return Value

Guid
Return the document upload session ID if it excutes successfully.
See Also