---
title: "Get checklistitem templates by audit template."
method: GET
path: "/subscribers/current/locations/auditinfo/checklistitem/templates"
tags: ["SiteAudit"]
---

# Get checklistitem templates by audit template.

`GET /subscribers/current/locations/auditinfo/checklistitem/templates`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/subscribers/current/locations/auditinfo/checklistitem/templates`
- 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/subscribers/current/locations/auditinfo/checklistitem/templates/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `templateId` integer, required
- `checkListTemplateId` integer

## Response `200`

Checklist templates are provided in the response.

- ServiceChannelServicesMessagingSiteAuditCheckListItemExternal[]
  - `Name` string
  - `Description` string
  - `Score` integer
  - `System` 'PassFail' | 'Numeric' | 'Weighted' | 'Percentage'
  - `Date` string, date-time
  - `Unlisted` boolean
  - `Issues` ServiceChannelServicesMessagingSiteAuditAuditIssueExternal[]
    - `Id` integer
    - `Description` string
    - `Date` string, date-time
    - `Attachments` ServiceChannelServicesMessagingSiteAuditIssueAttachmentExternal[]
      - `Id` integer
      - `RemoteName` string
      - `RemoteNameResized` string
      - `FileName` string
      - `ContentUrl` string
      - `ContentUrlResized` string
      - `ContentType` string
    - `Persistent` boolean
    - `UserName` string
  - `Quantity` ServiceChannelServicesMessagingSiteAuditQuantityExternal
    - `Value` integer
    - `Type` 'Dollar' | 'Quantity'
    - `Unit` string
  - `CheckListItemImpact` string
  - `PassThreshold` integer
  - `Range` integer[]
  - `StatisticItems` ServiceChannelServicesMessagingSiteAuditCheckListItemStatisticWeightedExternal[]
    - `CheckListItemId` integer
    - `Date` string, date-time
    - `Score` integer
    - `System` integer
    - `Range` integer[]
    - `PassThreshold` integer
    - `WorkOrdersCount` integer
    - `CommentsCount` integer
    - `AttachmentsCount` integer
    - `QuantityCount` integer

## Other responses

- `400`: The request is not accepted due to bad syntax, missing parameters, insufficient data, etc. <br/>Error codes: 1010 - Invalid site audit parameters
- `401`: The request is not authorized. <br/>Error codes: 504 - Missing or incorrect authentication credentials
- `500`: The server was unable to complete the request due to an internal error. <br/>Error codes: 501 - Unspecified internal server error occurred

---

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