Table of Contents

Class WorkflowRequests

Namespace
DocuWare.Platform.ServerClient
Assembly
DocuWare.Platform.ServerClient.dll
public class WorkflowRequests : IRelationsWithProxy, IRelations, IHttpClientProxy
Inheritance
WorkflowRequests
Implements
Inherited Members

Properties

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

public string CreatedWorkflowsCountRelationLink { get; }

Property Value

TypeDescription
string

Returns the uri of the link for the relation “createdWorkflowsCount” 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 “createdWorkflows”.

public string CreatedWorkflowsRelationLink { get; }

Property Value

TypeDescription
string

Returns the uri of the link for the relation “createdWorkflows” 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.

public Link[] Links { get; set; }

Property Value

TypeDescription
Link[]

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

public string MyTasksCountRelationLink { get; }

Property Value

TypeDescription
string

Returns the uri of the link for the relation “myTasksCount” 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 “myTasks”.

public string MyTasksRelationLink { get; }

Property Value

TypeDescription
string

Returns the uri of the link for the relation “myTasks” 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

GetOwnWorkflowsFromCreatedWorkflowsRelation()

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

public OwnWorkflows GetOwnWorkflowsFromCreatedWorkflowsRelation()

Returns

TypeDescription
OwnWorkflows

The content of the response.

GetOwnWorkflowsFromCreatedWorkflowsRelationAsync()

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

public Task<DeserializedHttpResponse<OwnWorkflows>> GetOwnWorkflowsFromCreatedWorkflowsRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<OwnWorkflows>>

A task which runs the request.

Remarks

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

GetOwnWorkflowsFromCreatedWorkflowsRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<OwnWorkflows>> GetOwnWorkflowsFromCreatedWorkflowsRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<OwnWorkflows>>

A task which runs the request.

Remarks

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

GetRequestTasksFromMyTasksRelation()

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

public RequestTasks GetRequestTasksFromMyTasksRelation()

Returns

TypeDescription
RequestTasks

The content of the response.

GetRequestTasksFromMyTasksRelationAsync()

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

public Task<DeserializedHttpResponse<RequestTasks>> GetRequestTasksFromMyTasksRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<RequestTasks>>

A task which runs the request.

Remarks

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

GetRequestTasksFromMyTasksRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<RequestTasks>> GetRequestTasksFromMyTasksRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<RequestTasks>>

A task which runs the request.

Remarks

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

GetWorkflowTasksCountFromCreatedWorkflowsCountRelation()

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

public WorkflowTasksCount GetWorkflowTasksCountFromCreatedWorkflowsCountRelation()

Returns

TypeDescription
WorkflowTasksCount

The content of the response.

GetWorkflowTasksCountFromCreatedWorkflowsCountRelationAsync()

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

public Task<DeserializedHttpResponse<WorkflowTasksCount>> GetWorkflowTasksCountFromCreatedWorkflowsCountRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<WorkflowTasksCount>>

A task which runs the request.

Remarks

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

GetWorkflowTasksCountFromCreatedWorkflowsCountRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<WorkflowTasksCount>> GetWorkflowTasksCountFromCreatedWorkflowsCountRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<WorkflowTasksCount>>

A task which runs the request.

Remarks

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

GetWorkflowTasksCountFromMyTasksCountRelation()

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

public WorkflowTasksCount GetWorkflowTasksCountFromMyTasksCountRelation()

Returns

TypeDescription
WorkflowTasksCount

The content of the response.

GetWorkflowTasksCountFromMyTasksCountRelationAsync()

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

public Task<DeserializedHttpResponse<WorkflowTasksCount>> GetWorkflowTasksCountFromMyTasksCountRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<WorkflowTasksCount>>

A task which runs the request.

Remarks

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

GetWorkflowTasksCountFromMyTasksCountRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<WorkflowTasksCount>> GetWorkflowTasksCountFromMyTasksCountRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<WorkflowTasksCount>>

A task which runs the request.

Remarks

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

PostToCreatedWorkflowsRelationForOwnWorkflows(TasksQuery)

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

public OwnWorkflows PostToCreatedWorkflowsRelationForOwnWorkflows(TasksQuery dataToSend)

Parameters

TypeNameDescription
TasksQuerydataToSend

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

Returns

TypeDescription
OwnWorkflows

The content of the response.

PostToCreatedWorkflowsRelationForOwnWorkflowsAsync(TasksQuery)

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

public Task<DeserializedHttpResponse<OwnWorkflows>> PostToCreatedWorkflowsRelationForOwnWorkflowsAsync(TasksQuery dataToSend)

Parameters

TypeNameDescription
TasksQuerydataToSend

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

Returns

TypeDescription
Task<DeserializedHttpResponse<OwnWorkflows>>

A task which runs the request.

Remarks

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

PostToCreatedWorkflowsRelationForOwnWorkflowsAsync(CancellationToken, TasksQuery)

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

public Task<DeserializedHttpResponse<OwnWorkflows>> PostToCreatedWorkflowsRelationForOwnWorkflowsAsync(CancellationToken cancellationToken, TasksQuery dataToSend)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

TasksQuerydataToSend

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

Returns

TypeDescription
Task<DeserializedHttpResponse<OwnWorkflows>>

A task which runs the request.

Remarks

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

PostToMyTasksRelationForRequestTasks(TasksQuery)

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

public RequestTasks PostToMyTasksRelationForRequestTasks(TasksQuery dataToSend)

Parameters

TypeNameDescription
TasksQuerydataToSend

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

Returns

TypeDescription
RequestTasks

The content of the response.

PostToMyTasksRelationForRequestTasksAsync(TasksQuery)

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

public Task<DeserializedHttpResponse<RequestTasks>> PostToMyTasksRelationForRequestTasksAsync(TasksQuery dataToSend)

Parameters

TypeNameDescription
TasksQuerydataToSend

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

Returns

TypeDescription
Task<DeserializedHttpResponse<RequestTasks>>

A task which runs the request.

Remarks

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

PostToMyTasksRelationForRequestTasksAsync(CancellationToken, TasksQuery)

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

public Task<DeserializedHttpResponse<RequestTasks>> PostToMyTasksRelationForRequestTasksAsync(CancellationToken cancellationToken, TasksQuery dataToSend)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

TasksQuerydataToSend

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

Returns

TypeDescription
Task<DeserializedHttpResponse<RequestTasks>>

A task which runs the request.

Remarks

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

SetProxy(HttpClientProxy)

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

public void SetProxy(HttpClientProxy proxy)

Parameters

TypeNameDescription
HttpClientProxyproxy

The HttpClient 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.