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
| Type | Description |
|---|---|
| System.DateTime |
Links
public Link[] Links { get; set; }
Property Value
| Type | Description |
|---|---|
| Link[] |
SingleTaskRelationLink
Gets the Uri of the link for the relation “singleTask”.
public string SingleTaskRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| String |
Remarks
Returns the uri of the link for the relation “singleTask” if it exists, or
TasksCount
public int TasksCount { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
WorkflowListRelationLink
Gets the Uri of the link for the relation “workflowList”.
public string WorkflowListRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| String |
Remarks
Returns the uri of the link for the relation “workflowList” if it exists, or
WorkflowRelationLink
Gets the Uri of the link for the relation “workflow”.
public string WorkflowRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| String |
Remarks
Returns the uri of the link for the relation “workflow” if it exists, or
Methods
GetWorkflowsFromWorkflowListRelation()
Calls the HTTP Get method on the link for the relation “workflowList”.
public Workflows GetWorkflowsFromWorkflowListRelation()
Returns
| Type | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| 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
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| 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
| Type | Name | Description |
|---|---|---|
| SingleTaskUrlParameters | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| 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
| Type | Name | Description |
|---|---|---|
| SingleTaskUrlParameters | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| 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
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
| SingleTaskUrlParameters | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| 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
| Type | Name | Description |
|---|---|---|
| String | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| 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
| Type | Name | Description |
|---|---|---|
| String | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| 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
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
| String | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| 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
| Type | Name | Description |
|---|---|---|
| HttpClientProxy | proxy | The |
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.