Skip to main content

List what a project schedule's last comparison found for each task.

GET/api/v1/project-schedules/{project_schedule_id}/task-resultsproject_schedules:read

Each programme task of the last comparison, in programme order, with its planned and actual dates, the step that tracks it, its work package, its status (on_time, late, overdue, upcoming or not_tracked), the slip and the document that proves it (named only when you can read it). Filter by status, step_name, outline_level and the is_ flags. Empty until the schedule has been compared (refresh_project_schedule). Needs View Project Schedules and View Document Metadata.

Scopeproject_schedules:read
AsynchronousNo
MCP toollist_project_schedule_task_results
Portal permissionsview_project_schedules, view_document_metadata
Pagingkeyset
Default ordertask_number, programme_task_id
Sort fieldstask_number, programme_task_id
Filtersstatus, step_name, outline_level, outline_level_from, outline_level_to, is_summary, is_milestone, is_critical, is_in_overview

Parameters​

NameInTypeRequiredDescription
project_schedule_idpathstringRequired
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
statusqueryarray of stringOptional
step_namequeryarray of stringOptional
outline_levelqueryarray of integerOptional
outline_level_fromqueryintegerOptional≥ -2147483648; ≤ 2147483647
outline_level_toqueryintegerOptional≥ -2147483648; ≤ 2147483647
is_summaryqueryarray of booleanOptional
is_milestonequeryarray of booleanOptional
is_criticalqueryarray of booleanOptional
is_in_overviewqueryarray of booleanOptional
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of ProjectScheduleTaskResultRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

ProjectScheduleTaskResult​

FieldTypeRequiredDescription
actual_finishstring or nullRequiredWhen the evidence shows the task finished.
actual_startstring or nullRequiredWhen the evidence shows the task started.
evidence_documentScheduleEvidenceDocument or nullRequiredThe document that proves the task; null when there is none or the caller cannot read it.
is_criticalbooleanRequired
is_in_overviewbooleanRequiredOn the one-page overview: every tracked task and the critical-path work packages.
is_milestonebooleanRequired
is_summarybooleanRequired
namestringRequired
outline_levelintegerRequired≥ -2147483648; ≤ 2147483647
package_keystring or nullRequiredThe work package the task belongs to.
parent_programme_task_idstring or nullRequired
phasestring or nullRequired
planned_finishstring or nullRequired
planned_startstring or nullRequired
programme_task_idstringRequired
slip_labelstring or nullRequiredThe slip as the Interface's chart prints it: +23 wk, +12 days or on time.
slip_working_daysinteger or nullRequired
statusstringRequiredon_time, late (evidence filed after the planned date plus the step's allowance), overdue (past the planned date with no evidence), upcoming or not_tracked.
step_namestring or nullRequiredThe step that tracks the task; null when none does.
task_numberintegerRequired≥ -2147483648; ≤ 2147483647

ScheduleEvidenceDocument​

FieldTypeRequiredDescription
document_idstringRequired
referencestring or nullRequiredThe reference the comparison matched the task by, as the document carries it.