---
title: "Get information on a completed audit"
method: GET
path: "/subscribers/current/siteaudit/completed/{auditId}"
tags: ["SiteAudit"]
---

# Get information on a completed audit

`GET /subscribers/current/siteaudit/completed/{auditId}`

## Request

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

Returns details of a completed site audit.

## Path parameters

- `auditId` integer, required

## Response `200`

The requested site audit info is in the response.

- ServiceChannelServicesRequestHandlersSiteAuditCompletedAuditInfo
  - `Id` integer
  - `StoreId` integer
  - `UserId` integer
  - `TemplateTypeId` integer
  - `StartDate` string, date-time
  - `FinishDate` string, date-time
  - `FinishDateStr` string
  - `Status` 'Undefined' | 'Open' | 'Completed'
  - `Emails` string
  - `Areas` ServiceChannelServicesRequestHandlersSiteAuditCompletedAuditArea[]
    - `Id` integer
    - `Name` string
    - `SortOrder` integer
    - `CheckLists` ServiceChannelServicesRequestHandlersSiteAuditCompletedAuditCheckList[]
      - `Id` integer
      - `Name` string
      - `Unlisted` boolean
      - `SortOrder` integer
      - `CheckListItems` ServiceChannelServicesRequestHandlersSiteAuditCompletedAuditCheckListItem[]
        - `Id` integer
        - `Name` string
        - `Description` string
        - `Score` integer
        - `System` integer
        - `Date` string, date-time
        - `DateStr` string
        - `Unlisted` boolean
        - `CheckListItemImpact` string
        - `UseNumericRatingSystem` boolean
        - `PassThreshold` integer
        - `Range` integer[]
        - `Issues` ServiceChannelServicesMessagingSiteAuditSavedAuditIssueExternal[]
          - `Id` integer: Comment ID.
          - `Date` string, date-time: Date and time when the comment was added to the checklist item. The format is `YYYY-MM-DDThh:mm:ss.ss`.
          - `DateStr` string: Date when the comment was added to the checklist item. The format is `MMM DD, YYYY`.
          - `Description` string: Comment added to the checklist item during the audit.
          - `Persistent` boolean: Shows whether or not the comment should be saved for future audits. Possible response values: • `true`: When the auditor sets the corresponding toggle in the SC Mobile app or in Service Automation to save the checklist item comment for future audits. • `false`: When the comment should not be preserved and displayed for future audits.
          - `UserName` string: Username of the auditor who added the comment to the checklist item during the inspection.
          - `Attachments` ServiceChannelServicesMessagingSiteAuditSavedAuditIssueAttachmentExternal[]
            - `Id` integer: Attachment ID.
            - `FileName` string: File name of the attachment.
            - `RemoteName` string: Remote name of the attached file.
            - `RemoteNameResized` string: Attachment file name that has been resized.
            - `ContentType` string: Type of the attached file, for example, *image* or *video*.
            - `ContentUrl` string: Web address (or Uniform Resource Locator) that points to the attached file.
            - `ContentUrlResized` string: Web address (or Uniform Resource Locator) that points to the resized version of the original image.
        - `WorkOrderIds` integer[]
        - `Quantity` ServiceChannelServicesMessagingSiteAuditSavedAuditQuantityExternal: Quantity or dollar cost of the inspected checklist items.
          - `Id` integer: Quantity record ID.
          - `Value` integer: Value showing either the quantity or the dollar amount of the items that have been inspected.
          - `Unit` string: Shows whether the auditor captured the **Quantity** or the **Dollar Cost** of the inspected item. Possible response values: `Quantity` and `Dollars`.

## Other responses

- `400`: The request is not accepted due to bad syntax, missing parameters, insufficient data, etc. <br/>Error codes: 608 &mdash; Do not have access to the location
- `401`: The request is not authorized. <br/>Error codes: 504 &mdash; Missing or incorrect authentication credentials
- `404`: The requested resource does not exist on the server. <br/>Error codes: 1008 &mdash; Audit not found
- `500`: The server was unable to complete the request due to an internal error. <br/>Error codes: 501 &mdash; 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)
