Class OwnSimpleWorkflowsData
Inheritance
Namespace: DocuWare.Platform.Bpw.Schemas
Assembly: DocuWare.Platform.ServerClient.dll
Syntax
public class OwnSimpleWorkflowsData : IRelationsWithProxy
Properties
AccessDateTime
Declaration
public System.DateTime AccessDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |
Count
Declaration
public int Count { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Links
Declaration
public Link[] Links { get; set; }
Property Value
| Type | Description |
|---|---|
| Link[] |
SingleItemRelationLink
Gets the Uri of the link for the relation “singleItem”.
Declaration
public string SingleItemRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| System.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”.
Declaration
public string WorkflowsRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| System.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”.
Declaration
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.
Declaration
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.
Declaration
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”.
Declaration
public OwnerSimpleWorkflowItem PostToSingleItemRelationForOwnerSimpleWorkflowItem(string dataToSend)
Parameters
| Type | Name | Description |
|---|---|---|
| System.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.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<OwnerSimpleWorkflowItem>> PostToSingleItemRelationForOwnerSimpleWorkflowItemAsync(string dataToSend)
Parameters
| Type | Name | Description |
|---|---|---|
| System.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.
Declaration
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. |
| System.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”.
Declaration
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.
Declaration
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.
Declaration
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.
Declaration
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.