v1
Tasks
tasks

Update Task

Update a task.

For floor users, only allows updating tasks assigned to them.

patch/api/v1/tasks/{task_id}

Request

  • Base URL
    https://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

task_id, integer required

Request body

TaskUpdate required

Request model for updating a task.

title, string nullable
task_number, string nullable
description, string nullable
work_stream_id, integer nullable

Work stream this task belongs to. Set to empty string to clear.

parent_task_id, integer nullable

Parent task ID for sub-tasks. Set to empty string to clear.

equipment_ids, integer[] nullable
deadline, string nullable

Task deadline as ISO 8601 timestamp (e.g., '2026-01-25T14:30:00Z'). Set to empty string to clear deadline.

drawing_id, integer nullable
display_order, integer nullable
status, string nullable
reopenReason, string nullable

Reason for reopening a completed task. Logged to activity trail.

depends_on_task_ids, integer[] nullable

Sibling-only task IDs (same parent, or top-level in this work stream). Set to empty array to clear.

notes, string nullable
is_group, boolean nullable

Flag to indicate if this is a task group (container) or a regular task/operation.

clockInLevel, string nullable

'group' = workers clock into this group; 'individual' = clock into children separately.

estimatedHours, number nullable

Total man-hours to complete. When set: shop_hours = estimated_hours / required_people.

man_hours, number nullable

Computed: shop_hours × required_people. Legacy field.

shopHours, number nullable

Floor time per person. Computed from estimated_hours / required_people when estimate is set.

requiredPeople, integer nullable

Simultaneous workers needed. Default 1. More people = shorter duration.

durationDays, integer nullable

Wall-clock duration in whole working days (integer). The scheduling engine's canonical effort input.

count, integer nullable

Quantity/number of items for this operation. Only applicable when is_group = false.

start_date, string nullable

Start date for this operation/task in YYYY-MM-DD format. Set to empty string to clear.

operation_type_id, integer nullable

FK to operation_types. Set to null to clear operation type.

operation_equipment_type_id, integer nullable

FK to equipment_types for this task's operation. Set to null to clear.

additional_capability_ids, integer[] nullable

Replace extra capability IDs; send [] to clear. Omit to leave unchanged.

capabilitySource, string nullable

Normally omitted: sending additional_capability_ids without it is recorded as a manual pick, which is what stops a later rename overwriting it.

integrationDocuments, object[] nullable

Replace integration files: uploads, linked build docs (drawings bucket), and/or PM links; optional storage_source and build_doc_id on file rows; send [] to clear.

integrationLinks, object[] nullable

Replace integration links; send [] to clear.

integrationInstructionsHtml, string nullable

Rich HTML integration instructions; send empty string to clear.

trackingMode, string nullable

Progress tracking mode: 'none', 'checklist', or 'count'.

checklistSequential, boolean nullable

When true, checklist items must be completed in sequence order. Inspection items can only be completed by PM/manager.

reviewEvidenceRequired, boolean nullable

When true, PM approval of this task at review requires linked evidence.

completedCount, integer nullable

Number of completed units (count mode progress).

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 56 revisions of this API.