RefrigerantTracking

Update multiple leak records for a work order and an asset

Creates, updates, or deletes multiple leak records for the work order + asset pair. <br />Note: Leak records should belong to a unique pair of WO + asset to perform bulk operations with them. <br />Note: Available with the RTMultiLeakFlow feature flag. <br />Example request for adding multiple leak records:

            { 
                "AddItems": [
                    {
                    "RepairDate": "2022-09-18T11:53:48.741Z",
                    "InitialVerificationDate": "2022-09-18T11:53:48.741Z",
                    "InitialVerificationMethod": 2,
                    "FollowUpVerificationDate": "2022-09-18T11:53:48.741Z",
                    "FollowUpVerificationMethod": 2,
                    "ActionCodeId": 2,
                    "FaultCodeId": 2,
                    "LeakLocationId": 2,
                    "Notes": [
                        "leak record 1"
                        ],
                    "RecId": 204762085,
                    "AssetId": 5490153,
                    "Actor": "Sam Drill"
                    },
                    {
                    "RepairDate": "2022-09-19T11:53:48.741Z",
                    "InitialVerificationDate": "2022-09-19T11:53:48.741Z",
                    "InitialVerificationMethod": 1,
                    "FollowUpVerificationDate": "2022-09-19T11:53:48.741Z",
                    "FollowUpVerificationMethod": 1,
                    "ActionCodeId": 1,
                    "FaultCodeId": 1,
                    "LeakLocationId": 1,
                    "Notes": [
                        "leak record 2"
                        ],
                    "RecId": 204762085,
                    "AssetId": 5490153,
                    "Actor": "Derek Crown" 
                    ],
                 "RecId": 204762085,
                 "AssetId": 5490153
            }
post/refrigeranttracking/BulkLeakrecords

Request

Request body

DeleteItemsinteger[]

List of leak records IDs to remove.

RecIdinteger

Unique numeric identifier of the work order.

AssetIdinteger

Unique numeric identifier of the asset.

Response

The specified leak records have been successfully modified.

Changes

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