All Classes Namespaces Functions Properties Pages
Public Member Functions | List of all members
CaptureStreamingService Class Reference

Provides streaming functionality for Capture operations. More...

Public Member Functions

Stream GetCaptureBinaryDataStream (string binaryDataId)
 Streams binary data with given identifier from Capture binary storage. More...
 
string UploadCaptureBinaryData (Stream data)
 Uploads given data stream as Capture binary data which later can be associated with Capture objects (documents/pages/extensions etc). More...
 

Description

Provides streaming functionality for Capture operations.

Member Functions

Stream GetCaptureBinaryDataStream ( string  binaryDataId)

Streams binary data with given identifier from Capture binary storage.

Parameters
binaryDataIdIdentifier of binary data.
Returns
Content of Capture binary data.
Remarks
This API is not supported to be called from TotalAgility processes or forms, it is only callable from custom code.
KTA Session Identifier must be passed as "SessionId" HTTP header.
Security
No restrictions apply.
string UploadCaptureBinaryData ( Stream  data)

Uploads given data stream as Capture binary data which later can be associated with Capture objects (documents/pages/extensions etc).

Parameters
dataCapture data stream.
Returns
Identifier of uploaded binary data.
Remarks
This API is not supported to be called from TotalAgility processes or forms, it is only callable from custom code.
There are three additional parameters that must be passed in HTTP headers:
  • KTA Session Identifier ("SessionId" header)
  • Mime Type for given binary data ("MimeType" header)
  • Binary Group Id ("BinaryGroupId" header) - optional parameter used to group several uploading binaries
Security
No restrictions apply.