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

TypeDescription
System.DateTime

Count

public int Count { get; set; }

Property Value

TypeDescription
Int32
public Link[] Links { get; set; }

Property Value

TypeDescription
Link[]

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

public string SingleItemRelationLink { get; }

Property Value

TypeDescription
String

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

public string WorkflowsRelationLink { get; }

Property Value

TypeDescription
String

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

GetOwnerSimpleWorkflowItemsFromWorkflowsRelation()

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

public OwnerSimpleWorkflowItems GetOwnerSimpleWorkflowItemsFromWorkflowsRelation()

Returns

TypeDescription
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

TypeDescription
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

TypeNameDescription
System.Threading.CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
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

TypeNameDescription
StringdataToSend

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

Returns

TypeDescription
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

TypeNameDescription
StringdataToSend

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

Returns

TypeDescription
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

TypeNameDescription
System.Threading.CancellationTokencancellationToken

The cancellation token to cancel the request.

StringdataToSend

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

Returns

TypeDescription
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

TypeNameDescription
TaskQuerydataToSend

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

Returns

TypeDescription
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

TypeNameDescription
TaskQuerydataToSend

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

Returns

TypeDescription
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

TypeNameDescription
System.Threading.CancellationTokencancellationToken

The cancellation token to cancel the request.

TaskQuerydataToSend

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

Returns

TypeDescription
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

TypeNameDescription
HttpClientProxyproxy

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