v1
Tasks
tasks
Link Task Material
Link one material line item to a task, or a whole PO group at once.
Single: {"manual_material_item_id": 12, "quantity": 2} Batch: {"items": [{"manual_material_item_id": 12, "quantity": 2}, ...]}
post/api/v1/tasks/{task_id}/materials
Request
- Base URLhttps://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Path parameters
task_id, integer required
Request body
Task Material Link required
Link one item, or a whole PO group at once.
ONE ENDPOINT, TWO SHAPES. The picker's "+ Link" sends a single item and its "Link All (N)" sends the group; splitting them into two routes would mean two permission checks, two recompute triggers and two chances for those to drift. Exactly one of the two shapes must be present — a body carrying both is a caller bug, not a merge, and is rejected rather than silently favouring one.
manual_material_item_id, integer nullable
quantity, number nullable
items, Task Material Link Item[] nullable
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 56 revisions of this API.