Parts

Update multiple part uses for a work order and an asset

Creates, updates, or deletes multiple part uses for the work order + asset pair.  • Supports both refrigerant and non-refrigerant parts.  • Supports inventory and vendor-supplied parts. <br />Example request for removing part use records:

           { 
            "DeleteItems": [
            { 
                "PartId": 58069830,
                "DeletionReason": "Incorrect Quantity",
                "InventoryPartId": 80467,
                "IsInventoryPart": true
            },
            { 
                "PartId": 58069831,
                "DeletionReason": "Wrong Part",
                "IsInventoryPart": false
            }
           ]
           }
post/workorders/inventory/parts/bulkPartUsage

Request

Request body

IsLocalTimeboolean

Specifies whether the UseDate should be converted based on the work order location time zone. Possible values:  • true: UseDate will not be converted to the location time zone.  • false: UseDate is provided in UTC (global standard time zone) and automatically converted to the local time zone.

SubmitQuantityExceededboolean

When the part use meets or exceeds the threshold, set the parameter’s value to true to be able to proceed with the request.

SubmitMoeQtyExceededboolean

For Canadian locations. When the part use meets or exceeds the threshold, set the parameter’s value to true to be able to proceed with the request.

Response

Part use records have been successfully modified.

Changes

No recorded changes to this operation across all 1 revision of this API.