POST api/Tasks/Complete
Complete task
Request Information
URI Parameters
None.
Body Parameters
TaskInstanceDataFieldsName | Description | Type | Additional information |
---|---|---|---|
serialNumber | string |
None. |
|
action | string |
None. |
|
actionTypeId | integer |
None. |
|
dataFields | Dictionary of string [key] and Object [value] |
None. |
|
FolderId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "serialNumber": "sample string 1", "action": "sample string 2", "actionTypeId": 3, "dataFields": { "sample string 1": {}, "sample string 3": {} }, "FolderId": 4 }
application/xml, text/xml
Sample:
<TasksModel.TaskInstanceDataFields xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GabineteDigital.Services.Models"> <FolderId>4</FolderId> <action>sample string 2</action> <actionTypeId>3</actionTypeId> <dataFields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:KeyValueOfstringanyType> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:Value /> </d2p1:KeyValueOfstringanyType> <d2p1:KeyValueOfstringanyType> <d2p1:Key>sample string 3</d2p1:Key> <d2p1:Value /> </d2p1:KeyValueOfstringanyType> </dataFields> <serialNumber>sample string 1</serialNumber> </TasksModel.TaskInstanceDataFields>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |