Get a project schedule's last comparison: figures, steps, warnings and curve.
GET/api/v1/project-schedules/{project_schedule_id}/comparisonproject_schedules:read
The headline figures (kpis), the counts of each step and follow-up, the warning signs (earliest first, with their kind, severity and the planned date) and the progress curve week by week: the tables the schedule's Interface charts. 404 not_found until the schedule has been compared (refresh_project_schedule). Task by task results are list_project_schedule_task_results. Needs View Project Schedules.
| Scope | project_schedules:read |
| Asynchronous | No |
| MCP tool | get_project_schedule_comparison |
| Portal permissions | view_project_schedules |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
project_schedule_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json ProjectScheduleComparison |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
| Code | Status |
|---|---|
invalid_version | 400 |
token_expired | 401 |
unauthenticated | 401 |
forbidden | 403 |
insufficient_scope | 403 |
token_owner_inactive | 403 |
not_found | 404 |
method_not_allowed | 405 |
not_acceptable | 406 |
wrong_region | 421 |
validation_failed | 422 |
internal_error | 500 |
tenant_unavailable | 503 |
unavailable | 503 |
timeout | 504 |
Schemas
ProjectScheduleComparison
| Field | Type | Required | Description |
|---|---|---|---|
curve | array of ProjectScheduleCurvePoint | Required | The progress curve week by week; empty without a curve. |
kpis | ProjectScheduleKpis or null | Required | |
last_recomputed_at | string (date-time) or null | Required | |
project_schedule_id | string | Required | |
steps | array of ProjectScheduleStepResult | Required | Each step and follow-up, in the setup's order. |
warnings | array of ProjectScheduleWarning | Required | The warning signs, earliest first. |
ProjectScheduleCurvePoint
| Field | Type | Required | Description |
|---|---|---|---|
actual_pct | number or null | Required | |
first_filed | integer or null | Required | Deliverables first filed that week. |
first_issued | integer or null | Required | Deliverables first issued that week. |
planned_pct | number | Required | |
week | string | Required |
ProjectScheduleKpis
| Field | Type | Required | Description |
|---|---|---|---|
critical_warnings | integer | Required | ≥ -2147483648; ≤ 2147483647 |
curve_actual_pct | number or null | Required | Actual percentage issued by this week; null without a curve. |
curve_name | string or null | Required | The progress curve's name; null when the setup has no curve. |
curve_planned_pct | number or null | Required | Planned percentage of deliverables issued by this week; null without a curve. |
deliverables_issued | integer | Required | ≥ -2147483648; ≤ 2147483647 |
deliverables_total | integer | Required | ≥ -2147483648; ≤ 2147483647 |
documents_compared | integer | Required | Documents in the schedule's scope that were compared with its tasks. ≥ -2147483648; ≤ 2147483647 |
tasks_late | integer | Required | Tracked tasks whose evidence was filed after the planned date plus the step's allowance. ≥ -2147483648; ≤ 2147483647 |
tasks_on_time | integer | Required | ≥ -2147483648; ≤ 2147483647 |
tasks_overdue | integer | Required | Tracked tasks past their planned date with no evidence filed yet. ≥ -2147483648; ≤ 2147483647 |
tasks_tracked | integer | Required | Tasks a step tracks (proven by documents). ≥ -2147483648; ≤ 2147483647 |
tasks_upcoming | integer | Required | ≥ -2147483648; ≤ 2147483647 |
warnings_total | integer | Required | ≥ -2147483648; ≤ 2147483647 |
ProjectScheduleStepResult
| Field | Type | Required | Description |
|---|---|---|---|
evidenced | integer | Required | ≥ -2147483648; ≤ 2147483647 |
kind | string | Required | step or follow_up. |
late | integer | Required | ≥ -2147483648; ≤ 2147483647 |
late_after_working_days | integer | Required | The allowance after the planned date before evidence counts as late. ≥ -2147483648; ≤ 2147483647 |
on_time | integer | Required | ≥ -2147483648; ≤ 2147483647 |
overdue | integer | Required | ≥ -2147483648; ≤ 2147483647 |
step_key | string | Required | The step's key in the setup. |
step_name | string | Required | |
tracked | integer | Required | ≥ -2147483648; ≤ 2147483647 |
upcoming | integer | Required | ≥ -2147483648; ≤ 2147483647 |
ProjectScheduleWarning
| Field | Type | Required | Description |
|---|---|---|---|
first_seen | string | Required | |
is_key_sign | boolean | Required | The timeline flags it. |
kind | string | Required | step_late, step_overdue, follow_up_late, follow_up_missing, curve_behind or output_drop. |
message | string | Required | |
planned | string or null | Required | |
severity | string | Required | |
sign_number | integer | Required | The number the dashboard gives it, earliest first. ≥ -2147483648; ≤ 2147483647 |
step_name | string or null | Required | |
subject | string | Required | |
working_days | integer or null | Required |