Class UserWorkflows

Namespace
DocuWare.Platform.Bpw.Schemas
Assembly
DocuWare.Platform.ServerClient.dll
public class UserWorkflows : IRelationsWithProxy
Inheritance
UserWorkflows

Properties

AccessDateTime

public System.DateTime AccessDateTime { get; set; }

Property Value

TypeDescription
System.DateTime
public Link[] Links { get; set; }

Property Value

TypeDescription
Link[]

Gets the Uri of the link for the relation “singleTask”.

public string SingleTaskRelationLink { get; }

Property Value

TypeDescription
String

Returns the uri of the link for the relation “singleTask” if it exists, or null if this link does not exist. The returned link can be absolute or relative. If it is a relative link you must set it in the right context yourself.

TasksCount

public int TasksCount { get; set; }

Property Value

TypeDescription
Int32

Gets the Uri of the link for the relation “workflowList”.

public string WorkflowListRelationLink { get; }

Property Value

TypeDescription
String

Returns the uri of the link for the relation “workflowList” if it exists, or null if this link does not exist. The returned link can be absolute or relative. If it is a relative link you must set it in the right context yourself.

Gets the Uri of the link for the relation “workflow”.

public string WorkflowRelationLink { get; }

Property Value

TypeDescription
String

Returns the uri of the link for the relation “workflow” if it exists, or null if this link does not exist. The returned link can be absolute or relative. If it is a relative link you must set it in the right context yourself.

Methods

GetWorkflowsFromWorkflowListRelation()

Calls the HTTP Get method on the link for the relation “workflowList”.

public Workflows GetWorkflowsFromWorkflowListRelation()

Returns

TypeDescription
Workflows

The content of the response.

GetWorkflowsFromWorkflowListRelationAsync()

Calls the HTTP Get method on the link for the relation “workflowList” asynchronously.

public System.Threading.Tasks.Task<DeserializedHttpResponse<Workflows>> GetWorkflowsFromWorkflowListRelationAsync()

Returns

TypeDescription
System.Threading.Tasks.Task<DeserializedHttpResponse<Workflows>>

A task which runs the request.

Remarks

This method follows the link for the relation “workflowList”.

GetWorkflowsFromWorkflowListRelationAsync(System.Threading.CancellationToken)

Calls the HTTP Get method on the link for the relation “workflowList” asynchronously.

public System.Threading.Tasks.Task<DeserializedHttpResponse<Workflows>> GetWorkflowsFromWorkflowListRelationAsync(System.Threading.CancellationToken cancellationToken)

Parameters

TypeNameDescription
System.Threading.CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
System.Threading.Tasks.Task<DeserializedHttpResponse<Workflows>>

A task which runs the request.

Remarks

This method follows the link for the relation “workflowList”.

PostToSingleTaskRelationForSingleTaskInformation(SingleTaskUrlParameters)

Calls the HTTP Post method on the link for the relation “singleTask”.

public SingleTaskInformation PostToSingleTaskRelationForSingleTaskInformation(SingleTaskUrlParameters dataToSend)

Parameters

TypeNameDescription
SingleTaskUrlParametersdataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
SingleTaskInformation

The content of the response.

PostToSingleTaskRelationForSingleTaskInformationAsync(SingleTaskUrlParameters)

Calls the HTTP Post method on the link for the relation “singleTask” asynchronously.

public System.Threading.Tasks.Task<DeserializedHttpResponse<SingleTaskInformation>> PostToSingleTaskRelationForSingleTaskInformationAsync(SingleTaskUrlParameters dataToSend)

Parameters

TypeNameDescription
SingleTaskUrlParametersdataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
System.Threading.Tasks.Task<DeserializedHttpResponse<SingleTaskInformation>>

A task which runs the request.

Remarks

This method follows the link for the relation “singleTask”.

PostToSingleTaskRelationForSingleTaskInformationAsync(System.Threading.CancellationToken, SingleTaskUrlParameters)

Calls the HTTP Post method on the link for the relation “singleTask” asynchronously.

public System.Threading.Tasks.Task<DeserializedHttpResponse<SingleTaskInformation>> PostToSingleTaskRelationForSingleTaskInformationAsync(System.Threading.CancellationToken cancellationToken, SingleTaskUrlParameters dataToSend)

Parameters

TypeNameDescription
System.Threading.CancellationTokencancellationToken

The cancellation token to cancel the request.

SingleTaskUrlParametersdataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
System.Threading.Tasks.Task<DeserializedHttpResponse<SingleTaskInformation>>

A task which runs the request.

Remarks

This method follows the link for the relation “singleTask”.

PostToWorkflowRelationForWorkflow(String)

Calls the HTTP Post method on the link for the relation “workflow”.

public Workflow PostToWorkflowRelationForWorkflow(string dataToSend)

Parameters

TypeNameDescription
StringdataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
Workflow

The content of the response.

PostToWorkflowRelationForWorkflowAsync(String)

Calls the HTTP Post method on the link for the relation “workflow” asynchronously.

public System.Threading.Tasks.Task<DeserializedHttpResponse<Workflow>> PostToWorkflowRelationForWorkflowAsync(string dataToSend)

Parameters

TypeNameDescription
StringdataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
System.Threading.Tasks.Task<DeserializedHttpResponse<Workflow>>

A task which runs the request.

Remarks

This method follows the link for the relation “workflow”.

PostToWorkflowRelationForWorkflowAsync(System.Threading.CancellationToken, String)

Calls the HTTP Post method on the link for the relation “workflow” asynchronously.

public System.Threading.Tasks.Task<DeserializedHttpResponse<Workflow>> PostToWorkflowRelationForWorkflowAsync(System.Threading.CancellationToken cancellationToken, string dataToSend)

Parameters

TypeNameDescription
System.Threading.CancellationTokencancellationToken

The cancellation token to cancel the request.

StringdataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
System.Threading.Tasks.Task<DeserializedHttpResponse<Workflow>>

A task which runs the request.

Remarks

This method follows the link for the relation “workflow”.

SetProxy(HttpClientProxy)

Sets the HTTP communication proxy which is used in further HTTP communication.

public void SetProxy(HttpClientProxy proxy)

Parameters

TypeNameDescription
HttpClientProxyproxy

The instance which is used in further HTTP communication.

Remarks

The HTTP proxy is used to handle the HTTP requests which are created by this instance. The proxy is used in case a request is sent to a URL which is resolved from a link.