This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user