PUT projects/{projectId}/timeline/tasks/{taskId}/completion
Completes 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
Completion data
SourceProjectTaskCompletion| Name | Description | Type | Additional information |
|---|---|---|---|
| Type |
Type |
ProjectTaskTypes |
Required |
| CompletionDate |
Completion date |
date |
Required |
| CompletedBy |
Completed by user title |
string |
Required |
| Comment |
Comment |
string |
None. |
| Id |
Project task Id |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Type": "Action",
"CompletionDate": "2023-08-21T05:11:59.1113824+02:00",
"CompletedBy": "sample string 2",
"Comment": "sample string 3",
"Id": 4
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
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:59.1113824+02:00",
"DueDate": "2023-08-21T05:11:59.1113824+02:00",
"DefaultDuration": 1,
"AssignedTo": {
"Id": 2,
"Value": "sample string 3"
},
"Completion": {
"Type": "Action",
"CompletionDate": "2023-08-21T05:11:59.1113824+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:59.1113824+02:00"
},
"OtherDocuments": null
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.