Class OwnSimpleWorkflowsData
- Namespace
- DocuWare.Platform.Bpw.Schemas
- Assembly
- DocuWare.Platform.ServerClient.dll
public class OwnSimpleWorkflowsData : IRelationsWithProxy
- Inheritance
-
OwnSimpleWorkflowsData
Properties
AccessDateTime
public System.DateTime AccessDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |
Count
public int Count { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Links
public Link[] Links { get; set; }
Property Value
| Type | Description |
|---|---|
| Link[] |
SingleItemRelationLink
Gets the Uri of the link for the relation “singleItem”.
public string SingleItemRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| String |
Remarks
Returns the uri of the link for the relation “singleItem” if it exists, or
WorkflowsRelationLink
Gets the Uri of the link for the relation “workflows”.
public string WorkflowsRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| String |
Remarks
Returns the uri of the link for the relation “workflows” if it exists, or
Methods
GetOwnerSimpleWorkflowItemsFromWorkflowsRelation()
Calls the HTTP Get method on the link for the relation “workflows”.
public OwnerSimpleWorkflowItems GetOwnerSimpleWorkflowItemsFromWorkflowsRelation()
Returns
| Type | Description |
|---|---|
| OwnerSimpleWorkflowItems | The content of the response. |
GetOwnerSimpleWorkflowItemsFromWorkflowsRelationAsync()
Calls the HTTP Get method on the link for the relation “workflows” asynchronously.
public System.Threading.Tasks.Task<DeserializedHttpResponse<OwnerSimpleWorkflowItems>> GetOwnerSimpleWorkflowItemsFromWorkflowsRelationAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<DeserializedHttpResponse<OwnerSimpleWorkflowItems>> | A task which runs the request. |
Remarks
This method follows the link for the relation “workflows”.
GetOwnerSimpleWorkflowItemsFromWorkflowsRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “workflows” asynchronously.
public System.Threading.Tasks.Task<DeserializedHttpResponse<OwnerSimpleWorkflowItems>> GetOwnerSimpleWorkflowItemsFromWorkflowsRelationAsync(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<OwnerSimpleWorkflowItems>> | A task which runs the request. |
Remarks
This method follows the link for the relation “workflows”.
PostToSingleItemRelationForOwnerSimpleWorkflowItem(String)
Calls the HTTP Post method on the link for the relation “singleItem”.
public OwnerSimpleWorkflowItem PostToSingleItemRelationForOwnerSimpleWorkflowItem(string dataToSend)
Parameters
| Type | Name | Description |
|---|---|---|
| String | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| OwnerSimpleWorkflowItem | The content of the response. |
PostToSingleItemRelationForOwnerSimpleWorkflowItemAsync(String)
Calls the HTTP Post method on the link for the relation “singleItem” asynchronously.
public System.Threading.Tasks.Task<DeserializedHttpResponse<OwnerSimpleWorkflowItem>> PostToSingleItemRelationForOwnerSimpleWorkflowItemAsync(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<OwnerSimpleWorkflowItem>> | A task which runs the request. |
Remarks
This method follows the link for the relation “singleItem”.
PostToSingleItemRelationForOwnerSimpleWorkflowItemAsync(System.Threading.CancellationToken, String)
Calls the HTTP Post method on the link for the relation “singleItem” asynchronously.
public System.Threading.Tasks.Task<DeserializedHttpResponse<OwnerSimpleWorkflowItem>> PostToSingleItemRelationForOwnerSimpleWorkflowItemAsync(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<OwnerSimpleWorkflowItem>> | A task which runs the request. |
Remarks
This method follows the link for the relation “singleItem”.
PostToWorkflowsRelationForOwnerSimpleWorkflowItems(TaskQuery)
Calls the HTTP Post method on the link for the relation “workflows”.
public OwnerSimpleWorkflowItems PostToWorkflowsRelationForOwnerSimpleWorkflowItems(TaskQuery dataToSend)
Parameters
| Type | Name | Description |
|---|---|---|
| TaskQuery | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| OwnerSimpleWorkflowItems | The content of the response. |
PostToWorkflowsRelationForOwnerSimpleWorkflowItemsAsync(TaskQuery)
Calls the HTTP Post method on the link for the relation “workflows” asynchronously.
public System.Threading.Tasks.Task<DeserializedHttpResponse<OwnerSimpleWorkflowItems>> PostToWorkflowsRelationForOwnerSimpleWorkflowItemsAsync(TaskQuery dataToSend)
Parameters
| Type | Name | Description |
|---|---|---|
| TaskQuery | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<DeserializedHttpResponse<OwnerSimpleWorkflowItems>> | A task which runs the request. |
Remarks
This method follows the link for the relation “workflows”.
PostToWorkflowsRelationForOwnerSimpleWorkflowItemsAsync(System.Threading.CancellationToken, TaskQuery)
Calls the HTTP Post method on the link for the relation “workflows” asynchronously.
public System.Threading.Tasks.Task<DeserializedHttpResponse<OwnerSimpleWorkflowItems>> PostToWorkflowsRelationForOwnerSimpleWorkflowItemsAsync(System.Threading.CancellationToken cancellationToken, TaskQuery dataToSend)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
| TaskQuery | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<DeserializedHttpResponse<OwnerSimpleWorkflowItems>> | A task which runs the request. |
Remarks
This method follows the link for the relation “workflows”.
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.