POST api/Task/Update
Edit a task based on binder.ProjectId and binder.TaskId,
Request Information
URI Parameters
None.
Body Parameters
task info
TaskUpdateBinder| Name | Description | Type | Additional information |
|---|---|---|---|
| TransitionId | integer |
None. |
|
| FieldValues | Collection of FieldValueBinder |
None. |
|
| ProjectId | integer |
None. |
|
| TaskId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TransitionId": 1,
"FieldValues": [
{
"FieldId": 1,
"Option": 1,
"FieldValue": {}
},
{
"FieldId": 1,
"Option": 1,
"FieldValue": {}
}
],
"ProjectId": 2,
"TaskId": 3
}
application/xml, text/xml
Sample:
<TaskUpdateBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding">
<ProjectId>2</ProjectId>
<TaskId>3</TaskId>
<FieldValues>
<FieldValueBinder>
<FieldId>1</FieldId>
<FieldValue />
<Option>1</Option>
</FieldValueBinder>
<FieldValueBinder>
<FieldId>1</FieldId>
<FieldValue />
<Option>1</Option>
</FieldValueBinder>
</FieldValues>
<TransitionId>1</TransitionId>
</TaskUpdateBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Edit a task based on binder.ProjectId and binder.TaskId,
API_Data_TaskUpdateResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Error | ErrorInfo |
None. |
|
| Data | TaskUpdateResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Error": {
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
},
"Data": {
"Id": 1,
"StoryDisplayId": "sample string 2",
"IfClosed": 3,
"DelayStatus": {
"DelayStatus": 1,
"ActualDates": {
"StartDate": "2025-12-09 10:16:15",
"EndDate": "2025-12-09 10:16:15"
},
"PlannedDates": {
"StartDate": "2025-12-09 10:16:15",
"EndDate": "2025-12-09 10:16:15"
}
},
"Warning": "sample string 4",
"Success": true,
"Reason": "sample string 6"
}
}
application/xml, text/xml
Sample:
<API_Data_TaskUpdateResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
<d2p1:Reason>sample string 6</d2p1:Reason>
<d2p1:Success>true</d2p1:Success>
<d2p1:DelayStatus xmlns:d3p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Task">
<d3p1:ActualDates>
<EndDate>2025-12-09T10:16:15.1228022-08:00</EndDate>
<StartDate>2025-12-09T10:16:15.1228022-08:00</StartDate>
</d3p1:ActualDates>
<d3p1:DelayStatus>1</d3p1:DelayStatus>
<d3p1:PlannedDates>
<EndDate>2025-12-09T10:16:15.1228022-08:00</EndDate>
<StartDate>2025-12-09T10:16:15.1228022-08:00</StartDate>
</d3p1:PlannedDates>
</d2p1:DelayStatus>
<d2p1:Id>1</d2p1:Id>
<d2p1:IfClosed>3</d2p1:IfClosed>
<d2p1:StoryDisplayId>sample string 2</d2p1:StoryDisplayId>
<d2p1:Warning>sample string 4</d2p1:Warning>
</Data>
<Error>
<ErrorCode>1</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</Error>
<Success>true</Success>
</API_Data_TaskUpdateResult>