PUT projects/{projectId}/timeline/tasks/{taskId}/status
Reviews a task
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| projectId |
Project Id |
globally unique identifier |
Required |
| taskId |
Task Id |
integer |
Required |
Body Parameters
Status data
SourceProjectTaskStatus| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Project task Id |
integer |
None. |
| Comment |
Comment |
string |
None. |
| Status |
Status |
ProjectTaskStatusValues |
Required |
| ValidationDate |
Validation date |
date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Comment": "sample string 2",
"Status": "NotStarted",
"ValidationDate": "2023-08-21T05:11:55.9707513+02:00"
}
application/xml, text/xml
Sample:
<SourceProjectTaskStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sif.Source.Api.Models"> <Comment>sample string 2</Comment> <Status>NotStarted</Status> <ValidationDate>2023-08-21T05:11:55.9707513+02:00</ValidationDate> </SourceProjectTaskStatus>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Updated project task
SourceProjectTask| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id |
integer |
None. |
| Title |
Title |
string |
None. |
| Order |
Order |
integer |
None. |
| SourceId |
Id in SOURCE timeline template |
string |
None. |
| Type |
Type |
ProjectTaskTypes |
None. |
| Predecessor |
Predecessor reference |
ReferenceData |
None. |
| ParentMilestone |
Parent milestone reference |
ReferenceData |
None. |
| ParentStatus |
Parent status reference |
ReferenceData |
None. |
| StartDate |
Start date |
date |
None. |
| DueDate |
Due date |
date |
None. |
| DefaultDuration |
Default task duration as defined in SOURCE template |
integer |
None. |
| AssignedTo |
Assigned to user |
ReferenceData |
None. |
| Completion |
Completion data |
SourceProjectTaskCompletion |
None. |
| CurrentStatus |
Status data |
SourceProjectTaskStatus |
None. |
| OtherDocuments |
Attached documents |
Collection of SourceDocumentReference |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Title": "sample string 2",
"Order": 3,
"SourceId": "sample string 4",
"Type": "Action",
"Predecessor": {
"Id": 2,
"Value": "sample string 3"
},
"ParentMilestone": {
"Id": 2,
"Value": "sample string 3"
},
"ParentStatus": {
"Id": 2,
"Value": "sample string 3"
},
"StartDate": "2023-08-21T05:11:55.9864536+02:00",
"DueDate": "2023-08-21T05:11:55.9864536+02:00",
"DefaultDuration": 1,
"AssignedTo": {
"Id": 2,
"Value": "sample string 3"
},
"Completion": {
"Type": "Action",
"CompletionDate": "2023-08-21T05:11:55.9864536+02:00",
"CompletedBy": "sample string 2",
"Comment": "sample string 3",
"Id": 4
},
"CurrentStatus": {
"Id": 1,
"Comment": "sample string 2",
"Status": "NotStarted",
"ValidationDate": "2023-08-21T05:11:55.9864536+02:00"
},
"OtherDocuments": null
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.