POST v2/tasks/{id}/mark-done

Marks task status done

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Task Status Done related Custom Fields

Collection of CustomFieldValue
NameDescriptionTypeAdditional information
Id

Id of custom field.

integer

Required

Name

Name of the custom field.

string

Read Only

Value

Represents the value of Custom Field

string

None.

ValueText

Represents the text value of the custom field. Example: If the field type is Existing List and the source is Employee (SourceId = 4) then ValueText will be the employee's name.

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "name": "sample string 2",
    "value": "sample string 3",
    "valueText": "sample string 4"
  },
  {
    "id": 1,
    "name": "sample string 2",
    "value": "sample string 3",
    "valueText": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomFieldValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models.V2.Core">
  <CustomFieldValue>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <Value>sample string 3</Value>
    <ValueText>sample string 4</ValueText>
  </CustomFieldValue>
  <CustomFieldValue>
    <Id>1</Id>
    <Name>sample string 2</Name>
    <Value>sample string 3</Value>
    <ValueText>sample string 4</ValueText>
  </CustomFieldValue>
</ArrayOfCustomFieldValue>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.