This commit is contained in:
2021-08-17 23:25:35 +00:00
parent da940cdba0
commit 5399156e68
26 changed files with 97 additions and 98 deletions

View File

@@ -155,9 +155,9 @@ todo: PLANNING WORKORDER considerations:
goes over workorder, looks for changes, sends update for each object individually and patches up local from result
so if a workorderitempart has changed then it sends only that for update individually
Example routes:
Post: Workorder/1/WorkorderItem/2/Labor/4 {updated object}
Post: Workorder/1/WorkOrderItem/2/Labor/4 {updated object}
WorkOrder/{woid} <-entire workorder, get for all, post for entire, put to update entire (not likely to use but?)
WorkOrder/{woid}/WorkorderItems <- all workorderitems, post to add new, put to update all as a collection
WorkOrder/{woid}/WorkOrderItems <- all workorderitems, post to add new, put to update all as a collection
WorkOrder/{woid}/WorkOrderItems/{woitemid} <- CRUD single woitemid
WorkOrder/{woid}/WorkOrderItems/{woitemid}/Labors <- entire labor collection CRUD ops over all collection (also ADD new labor here (POST))
WorkOrder/{woid}/WorkOrderItems/{woitemid}/Labors/{laborid} <- Crud on individual item