Class WorkflowRequests
Inheritance
Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient.dll
Syntax
public class WorkflowRequests : IRelationsWithProxy
  Properties
CreatedWorkflowsCountRelationLink
Gets the Uri of the link for the relation “createdWorkflowsCount”.
Declaration
public string CreatedWorkflowsCountRelationLink { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Remarks
Returns the uri of the link for the relation “createdWorkflowsCount” if it exists, or 
CreatedWorkflowsRelationLink
Gets the Uri of the link for the relation “createdWorkflows”.
Declaration
public string CreatedWorkflowsRelationLink { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Remarks
Returns the uri of the link for the relation “createdWorkflows” if it exists, or 
Links
Declaration
public Link[] Links { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Link[] | 
MyTasksCountRelationLink
Gets the Uri of the link for the relation “myTasksCount”.
Declaration
public string MyTasksCountRelationLink { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Remarks
Returns the uri of the link for the relation “myTasksCount” if it exists, or 
MyTasksRelationLink
Gets the Uri of the link for the relation “myTasks”.
Declaration
public string MyTasksRelationLink { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Remarks
Returns the uri of the link for the relation “myTasks” if it exists, or 
Methods
GetOwnWorkflowsFromCreatedWorkflowsRelation()
Calls the HTTP Get method on the link for the relation “createdWorkflows”.
Declaration
public OwnWorkflows GetOwnWorkflowsFromCreatedWorkflowsRelation()
  Returns
| Type | Description | 
|---|---|
| OwnWorkflows | The content of the response.  | 
      
GetOwnWorkflowsFromCreatedWorkflowsRelationAsync()
Calls the HTTP Get method on the link for the relation “createdWorkflows” asynchronously.
Declaration
public Task<DeserializedHttpResponse<OwnWorkflows>> GetOwnWorkflowsFromCreatedWorkflowsRelationAsync()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.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.
Declaration
public Task<DeserializedHttpResponse<OwnWorkflows>> GetOwnWorkflowsFromCreatedWorkflowsRelationAsync(CancellationToken cancellationToken)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.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”.
Declaration
public RequestTasks GetRequestTasksFromMyTasksRelation()
  Returns
| Type | Description | 
|---|---|
| RequestTasks | The content of the response.  | 
      
GetRequestTasksFromMyTasksRelationAsync()
Calls the HTTP Get method on the link for the relation “myTasks” asynchronously.
Declaration
public Task<DeserializedHttpResponse<RequestTasks>> GetRequestTasksFromMyTasksRelationAsync()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.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.
Declaration
public Task<DeserializedHttpResponse<RequestTasks>> GetRequestTasksFromMyTasksRelationAsync(CancellationToken cancellationToken)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.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”.
Declaration
public WorkflowTasksCount GetWorkflowTasksCountFromCreatedWorkflowsCountRelation()
  Returns
| Type | Description | 
|---|---|
| WorkflowTasksCount | The content of the response.  | 
      
GetWorkflowTasksCountFromCreatedWorkflowsCountRelationAsync()
Calls the HTTP Get method on the link for the relation “createdWorkflowsCount” asynchronously.
Declaration
public Task<DeserializedHttpResponse<WorkflowTasksCount>> GetWorkflowTasksCountFromCreatedWorkflowsCountRelationAsync()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.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.
Declaration
public Task<DeserializedHttpResponse<WorkflowTasksCount>> GetWorkflowTasksCountFromCreatedWorkflowsCountRelationAsync(CancellationToken cancellationToken)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.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”.
Declaration
public WorkflowTasksCount GetWorkflowTasksCountFromMyTasksCountRelation()
  Returns
| Type | Description | 
|---|---|
| WorkflowTasksCount | The content of the response.  | 
      
GetWorkflowTasksCountFromMyTasksCountRelationAsync()
Calls the HTTP Get method on the link for the relation “myTasksCount” asynchronously.
Declaration
public Task<DeserializedHttpResponse<WorkflowTasksCount>> GetWorkflowTasksCountFromMyTasksCountRelationAsync()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.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.
Declaration
public Task<DeserializedHttpResponse<WorkflowTasksCount>> GetWorkflowTasksCountFromMyTasksCountRelationAsync(CancellationToken cancellationToken)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.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”.
Declaration
public OwnWorkflows PostToCreatedWorkflowsRelationForOwnWorkflows(TasksQuery dataToSend)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TasksQuery | dataToSend | The data to send. This data is written into the request body.  | 
      
Returns
| Type | Description | 
|---|---|
| OwnWorkflows | The content of the response.  | 
      
PostToCreatedWorkflowsRelationForOwnWorkflowsAsync(TasksQuery)
Calls the HTTP Post method on the link for the relation “createdWorkflows” asynchronously.
Declaration
public Task<DeserializedHttpResponse<OwnWorkflows>> PostToCreatedWorkflowsRelationForOwnWorkflowsAsync(TasksQuery dataToSend)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TasksQuery | dataToSend | The data to send. This data is written into the request body.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.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.
Declaration
public Task<DeserializedHttpResponse<OwnWorkflows>> PostToCreatedWorkflowsRelationForOwnWorkflowsAsync(CancellationToken cancellationToken, TasksQuery dataToSend)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request.  | 
      
| TasksQuery | dataToSend | The data to send. This data is written into the request body.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.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”.
Declaration
public RequestTasks PostToMyTasksRelationForRequestTasks(TasksQuery dataToSend)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TasksQuery | dataToSend | The data to send. This data is written into the request body.  | 
      
Returns
| Type | Description | 
|---|---|
| RequestTasks | The content of the response.  | 
      
PostToMyTasksRelationForRequestTasksAsync(TasksQuery)
Calls the HTTP Post method on the link for the relation “myTasks” asynchronously.
Declaration
public Task<DeserializedHttpResponse<RequestTasks>> PostToMyTasksRelationForRequestTasksAsync(TasksQuery dataToSend)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TasksQuery | dataToSend | The data to send. This data is written into the request body.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.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.
Declaration
public Task<DeserializedHttpResponse<RequestTasks>> PostToMyTasksRelationForRequestTasksAsync(CancellationToken cancellationToken, TasksQuery dataToSend)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request.  | 
      
| TasksQuery | dataToSend | The data to send. This data is written into the request body.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.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.
Declaration
public void SetProxy(HttpClientProxy proxy)
  Parameters
| Type | Name | Description | 
|---|---|---|
| HttpClientProxy | proxy | The System.Net.Http.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.