---
title: "Get leak records by `workorderID` and `assetID`"
method: GET
path: "/refrigeranttracking/LeakRecordImmeasurable/{trackingNumber}"
tags: ["RefrigerantTracking"]
---

# Get leak records by \`workorderID\` and \`assetID\`

`GET /refrigeranttracking/LeakRecordImmeasurable/{trackingNumber}`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/refrigeranttracking/LeakRecordImmeasurable/{trackingNumber}`
- 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/refrigeranttracking/LeakRecordImmeasurable/:trackingNumber/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns leak records which are created for a certain work order and an asset.

## Path parameters

- `trackingNumber` integer, required

## Query parameters

- `assetid` integer

## Response `200`

The request succeeded and the requested information is in the response.

- ServiceChannelServicesWebApiModelsResponseRefrigerantTrackingLeakImmeasurableApiResponse: Object containig the details of a leak record
  - `Id` integer: Unique numeric identifier of the leak record.
  - `AssetId` integer: Unique numeric identifier of the asset.
  - `AssetTagId` string: Unique numeric identifier of the asset tag.
  - `RecId` integer: Unique numeric identifier of the work order.
  - `RepairDate` string, date-time: Date when the repair was completed.
  - `RepairDateFormatted` string
  - `RepairDateStr` string
  - `InitialVerificationDate` string, date-time: Date when the first verification took place.
  - `InitialVerificationDateFormatted` string
  - `InitialVerificationDateStr` string
  - `InitialVerificationMethod` integer: Method that was used during the first verification to make sure the leak had been fixed.
  - `InitialVerificationMethodName` string
  - `FollowUpVerificationDate` string, date-time: Date of the second verification.
  - `FollowUpVerificationDateFormatted` string
  - `FollowUpVerificationStr` string
  - `FollowUpVerificationMethod` integer: Method of the second verification.
  - `FollowUpVerificationMethodName` string
  - `ActionCodeId` integer: Unique numeric identifier of the action that a technician took to fix the leak.
  - `ActionCode` string
  - `FaultCodeId` integer: Unique numeric identifier of the reason why the problem occurred.
  - `FaultCode` string
  - `LeakEventId` integer: Unique numeric identifier of the leak event to which the leak record is associated.
  - `LeakLocationId` integer: Unique numeric identifier of the location where the leak occurred: more specific place within the particular area, for example, level indicator/alarm/splitting valve.
  - `LeakAreaId` integer: Unique numeric identifier of the area where the leak occurred: more general place, for example, receiver/condensor.
  - `LeakLocationName` string
  - `LeakAreaName` string
  - `ModifiedBy` integer: User who modified the leak record.
  - `ModifiedByUserId` string
  - `ModifiedByUserName` string
  - `LeakNotes` string[]: Notes that were added by users to a leak record.
  - `Actor` string: Name of the technician who performed the fix of the leak.
  - `LeakLocation` string: Location where the leak occured, including more general and more specific name, for example, splitting valve - condensor.
  - `LeakStatusStr` string: Status of the leak event.
  - `NotesTotalCount` integer: Total number of leak notes.
  - `LeakImmeasurableNotes` ServiceChannelServicesMessagingRefrigerantTrackingLeakImmeasurableNote[]
    - `ID` integer
    - `LeakImmeasurableId` integer
    - `Note` string
    - `CreateDate` string, date-time
    - `CreateDateFormated` string
    - `UserId` integer
    - `AutoGenerated` boolean
    - `CreatedByUserName` string
  - `OriginalTrackingNumber` integer
  - `LeakStatus` boolean
  - `InitialVerificationPassed` boolean
  - `FollowUpVerificationPassed` boolean
  - `LeakDetectionDate` string, date-time
  - `LeakDetectionDateFormatted` string
  - `LeakDetectionDateStr` string

## Other responses

- `500`: Something went wrong, and the server was unable to complete your request. <br>Error codes: 501 - Internal Error

---

[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)
