Click or drag to resize
FileCabinetPostToUnprocessedDocumentUploadRelationForDocumentAsync Method (CancellationToken, String, Stream)
Calls the HTTP Post method on the link for the relation “unprocessedDocumentUpload” asynchronously.

Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient (in DocuWare.Platform.ServerClient.dll) Version: Version 6.9
Syntax
C#
public Task<DeserializedHttpResponse<Document>> PostToUnprocessedDocumentUploadRelationForDocumentAsync(
	CancellationToken cancellationToken,
	string requestedContentType,
	Stream dataToSend
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token to cancel the request.
requestedContentType
Type: SystemString
Mime type of the requested body content, i.e. application/pdf.
dataToSend
Type: System.IOStream
The data to send. This data is written into the request body.

Return Value

Type: TaskDeserializedHttpResponseDocument
A task which runs the request.
Remarks
This method follows the link for the relation “unprocessedDocumentUpload”.
See Also