---
title: "Update the leak inspection information"
method: PUT
path: "/workorders/{workOrderId}/UpdateWorkOrderLeakInspectionInfo"
tags: ["WorkOrders"]
---

# Update the leak inspection information

`PUT /workorders/{workOrderId}/UpdateWorkOrderLeakInspectionInfo`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/workorders/{workOrderId}/UpdateWorkOrderLeakInspectionInfo`
- Auth: OAuth 2
  - Authorization code: `https://sb2login.servicechannel.com/oauth/authorize`
  - Token URL: `https://sb2login.servicechannel.com/oauth/token`
- TypeScript: <https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/docs/workorders/:workOrderId/UpdateWorkOrderLeakInspectionInfo/put.ts> (a function with typed inputs; its response is checked against the schema)

Update the leak inspection information on the specified work order. 
            <br />***Note***: The *RTMultiLeakFlow* feature flag should be enabled.

## Path parameters

- `workOrderId` integer, required

## Query parameters

- `refrigerantWasUsed` boolean, required
- `leakWasDetected` boolean, required

## Response `204`

The leak inspection info on the specified work order is updated.

## Other responses

- `400`: The request is not accepted due to bad syntax, missing parameters, insufficient data, etc. <br/>Error codes: 701 - Invalid trade
- `401`: The requested resource requires authentication. <br/>Error codes: 504 — API call rejected by security permissions
- `404`: The requested resource does not exist on the server.

---

[API](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3.md) - [All operations](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/llms.txt) - [OpenAPI document](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/revisions/d490d6596809?raw)
