Discussions
Best endpoint to update work item quantity labor items
I'm trying to bulk update some work items quantities on items are missing production reports and I'm struggling to find the right endpoint to update the labor quantity.
The two seemingly relevant endpoints that I've come across are update_wbs_work_item_materials and update_wbs_work_item_quantities. The former offers the sort of functionality that I'm looking for, but only for the material component of the work item quantity. The latter gets me to the labor item but doesn't appear to allow updates to the Actual/Remaining quantities.
https://developers.vitruvi.cc/reference/update_wbs_work_item_materials
https://developers.vitruvi.cc/reference/update_wbs_work_item_quantities
Any ideas on the proper approach?
For context, we have a plan where design elements were improperly synced, leading to ~140 elements with completed work items/production reports getting sent to archive and replaced with identical elements with new work items. I'm hoping to just utilize the API to populate the work items on the new features with the proper, completed quantities from their archived counterparts.