GET projects/{projectId}/timeline/tasks/{taskId}

Gets a task by its Id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

Project Id

globally unique identifier

Required

taskId

Task Id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Project task

SourceProjectTask
NameDescriptionTypeAdditional 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:12:04.1216292+02:00",
  "DueDate": "2023-08-21T05:12:04.1216292+02:00",
  "DefaultDuration": 1,
  "AssignedTo": {
    "Id": 2,
    "Value": "sample string 3"
  },
  "Completion": {
    "Type": "Action",
    "CompletionDate": "2023-08-21T05:12:04.1216292+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:12:04.1216292+02:00"
  },
  "OtherDocuments": null
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.