ServiceChannel SiteAudit API

The SiteAudit API from ServiceChannel — 18 operation(s) for siteaudit.

Operations 22

GET /subscribers/current/locations/{locationId}/siteaudit/templateTypes Get available audit types for specified location #
GET /subscribers/current/locations/{locationId}/siteaudit/templateTypes/{templateTypeId}/auditInfo Get audit data for specified location and audit type #
POST /subscribers/current/locations/{locationId}/siteaudit/templateTypes/{templateTypeId}/auditInfo Post (save) completed audit to the database #
GET /subscribers/current/locations/{locationId}/siteaudit/templateTypes/{templateTypeId}/auditInfoWeighted Get audit data for specified location and audit type for new templates #
POST /subscribers/current/locations/{locationId}/siteaudit/templateTypes/{templateTypeId}/auditInfoWeighted Post (save) completed audit of new type to the database #
POST /subscribers/current/locations/auditInfo Save completed audit to the database #
GET /subscribers/current/locations/auditinfo Get audit data for specified location and audit type without template information #
GET /subscribers/current/locations/auditinfo/checklist/templates Get checklist templates by audit template. #
GET /subscribers/current/locations/auditinfo/checklistitem/templates Get checklistitem templates by audit template. #
GET /subscribers/current/siteaudit/checkListItems/{checkListItemId} Get details for specified checklist item #
GET /subscribers/current/siteaudit/audits/completed Get completed site audits #
GET /subscribers/current/siteaudit/report Get site audit reports #
GET /subscribers/current/siteaudit/completed/{auditId} Get information on a completed audit #
PUT /subscribers/current/siteaudit/completed Modify details of a completed audit #
POST /subscribers/current/siteaudit/completed Save completed audit to the database #
GET /subscribers/current/siteaudit/{auditId} Get site audit by Id #
PUT /subscribers/current/siteaudit/open Update audit with open status #
POST /subscribers/current/siteaudit/open Save audit with open status to the database #
GET /subscribers/current/siteaudit/audits/filtered Get the list of filtered site audits #
DELETE /subscribers/current/siteaudit/open/{auditId} Remove open audit #
GET /subscribers/current/locations/checkAuditInfo Check if the site audit can be created #
GET /subscribers/current/siteaudit/{auditId}/linkedWorkOrderIds Get an array of workOrderIDs linked to the Site Audit #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/servicechannel-siteaudit-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

servicechannel-siteaudit-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: bearer.v1
  title: Fixxbook.Bearer.Api.V1 AfterHours Site Audit API
  isOdataApi: false
  relativePath: ''
  discoveryPath: docs/bearer.v1
  _isAuthorizedAccess: true
servers:
- url: https://sb2fixxbook.servicechannel.com:443/api
security:
- oauth2: []
tags:
- name: SiteAudit
paths:
  /subscribers/current/locations/{locationId}/siteaudit/templateTypes:
    get:
      tags:
      - SiteAudit
      summary: Get available audit types for specified location
      operationId: GETv3_subscribers_current_locations_{locationId}_siteaudit_templateTypes
      parameters:
      - name: locationId
        in: path
        description: Location identifier
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/System.Object'
            text/json:
              schema:
                $ref: '#/components/schemas/System.Object'
      deprecated: false
      x-access: Subscribers
  /subscribers/current/locations/{locationId}/siteaudit/templateTypes/{templateTypeId}/auditInfo:
    get:
      tags:
      - SiteAudit
      summary: Get audit data for specified location and audit type
      description: "Audit can be created from:\n            - completed audit data\n            - setup (templates) data\n            - mixed completed + setup\n            How audit data is combined depends on the loaded setup file to the system and/or availability \n            of previous finished audit data."
      operationId: GETv3_subscribers_current_locations_{locationId}_siteaudit_templateTypes_{templateTypeId}_auditInfo
      parameters:
      - name: locationId
        in: path
        description: Location identifier
        required: true
        schema:
          type: integer
          format: int32
      - name: templateTypeId
        in: path
        description: Audit type identifier
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/System.Object'
            text/json:
              schema:
                $ref: '#/components/schemas/System.Object'
      deprecated: false
      x-access: Subscribers
    post:
      tags:
      - SiteAudit
      summary: Post (save) completed audit to the database
      operationId: POSTv3_subscribers_current_locations_{locationId}_siteaudit_templateTypes_{templateTypeId}_auditInfo
      parameters:
      - name: locationId
        in: path
        description: Location identifier
        required: true
        schema:
          type: integer
          format: int32
      - name: templateTypeId
        in: path
        description: Audit type identifier
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/System.Object'
            text/json:
              schema:
                $ref: '#/components/schemas/System.Object'
      deprecated: false
      x-access: Subscribers
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.AuditDataExternalOld'
          text/json:
            schema:
              $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.AuditDataExternalOld'
        description: Completed audit data
        required: true
  /subscribers/current/locations/{locationId}/siteaudit/templateTypes/{templateTypeId}/auditInfoWeighted:
    get:
      tags:
      - SiteAudit
      summary: Get audit data for specified location and audit type for new templates
      description: "Audit can be created from:\n            - completed audit data\n            - setup (templates) data\n            - mixed completed + setup\n            How audit data is combined depends on the loaded setup file to the system and/or availability \n            of previous finished audit data."
      operationId: GETv3_subscribers_current_locations_{locationId}_siteaudit_templateTypes_{templateTypeId}_auditInfoWeighted
      parameters:
      - name: locationId
        in: path
        description: Location identifier
        required: true
        schema:
          type: integer
          format: int32
      - name: templateTypeId
        in: path
        description: Audit type identifier
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/System.Object'
            text/json:
              schema:
                $ref: '#/components/schemas/System.Object'
      deprecated: false
      x-access: Subscribers
    post:
      tags:
      - SiteAudit
      summary: Post (save) completed audit of new type to the database
      operationId: POSTv3_subscribers_current_locations_{locationId}_siteaudit_templateTypes_{templateTypeId}_auditInfoWeighted
      parameters:
      - name: locationId
        in: path
        description: Location identifier
        required: true
        schema:
          type: integer
          format: int32
      - name: templateTypeId
        in: path
        description: Audit type identifier
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/System.Object'
            text/json:
              schema:
                $ref: '#/components/schemas/System.Object'
      deprecated: false
      x-access: Subscribers
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.AuditDataWeightedExternal'
          text/json:
            schema:
              $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.AuditDataWeightedExternal'
        description: Completed audit data
        required: true
  /subscribers/current/locations/auditInfo:
    post:
      tags:
      - SiteAudit
      summary: Save completed audit to the database
      operationId: POSTv3_subscribers_current_locations_auditInfo
      responses:
        '200':
          description: The audit info for the requested location is provided in the response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.SaveAuditDataResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.SaveAuditDataResponse'
        '400':
          description: "The request is not accepted due to bad syntax, missing parameters, insufficient data, etc.\n            <br/>Error codes:\n            1010 - Invalid site audit parameters"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The request is not authorized.\n            <br/>Error codes:\n            504 - Missing or incorrect authentication credentials"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "The server was unable to complete the request due to an internal error.\n            <br/>Error codes:\n            501 - Unspecified internal server error occurred"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Subscribers
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.AuditDataExternal'
          text/json:
            schema:
              $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.AuditDataExternal'
        description: Request object
        required: true
  /subscribers/current/locations/auditinfo:
    get:
      tags:
      - SiteAudit
      summary: Get audit data for specified location and audit type without template information
      description: Setup data for areas-checklist-checklistItems relationship data are not provided in this method.
      operationId: GETv3_subscribers_current_locations_auditinfo?locationId={locationId}&templateId={templateId}
      parameters:
      - name: locationId
        in: query
        description: Location identifier
        required: true
        schema:
          type: integer
          format: int32
      - name: templateId
        in: query
        description: Audit type identifier
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The audit info for the requested location is provided in the response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.GetAuditInfo'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.GetAuditInfo'
        '400':
          description: "The request is not accepted due to bad syntax, missing parameters, insufficient data, etc.\n            <br/>Error codes:\n            1010 - Invalid site audit parameters"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The request is not authorized.\n            <br/>Error codes:\n            504 - Missing or incorrect authentication credentials"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "The server was unable to complete the request due to an internal error.\n            <br/>Error codes:\n            501 - Unspecified internal server error occurred"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Subscribers
  /subscribers/current/locations/auditinfo/checklist/templates:
    get:
      tags:
      - SiteAudit
      summary: Get checklist templates by audit template.
      operationId: GETv3_subscribers_current_locations_auditinfo_checklist_templates?templateId={templateId}
      parameters:
      - name: templateId
        in: query
        description: Audit type identifier
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Checklist templates are provided in the response.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.CheckListTemplateExternal'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.CheckListTemplateExternal'
        '400':
          description: "The request is not accepted due to bad syntax, missing parameters, insufficient data, etc.\n            <br/>Error codes:\n            1010 - Invalid site audit parameters"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The request is not authorized.\n            <br/>Error codes:\n            504 - Missing or incorrect authentication credentials"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "The server was unable to complete the request due to an internal error.\n            <br/>Error codes:\n            501 - Unspecified internal server error occurred"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Subscribers
  /subscribers/current/locations/auditinfo/checklistitem/templates:
    get:
      tags:
      - SiteAudit
      summary: Get checklistitem templates by audit template.
      operationId: GETv3_subscribers_current_locations_auditinfo_checklistitem_templates?templateId={templateId}&checkListTemplateId={checkListTemplateId}
      parameters:
      - name: templateId
        in: query
        description: Audit type identifier
        required: true
        schema:
          type: integer
          format: int32
      - name: checkListTemplateId
        in: query
        description: Check list template identifier
        required: false
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Checklist templates are provided in the response.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.CheckListItemExternal'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.CheckListItemExternal'
        '400':
          description: "The request is not accepted due to bad syntax, missing parameters, insufficient data, etc.\n            <br/>Error codes:\n            1010 - Invalid site audit parameters"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The request is not authorized.\n            <br/>Error codes:\n            504 - Missing or incorrect authentication credentials"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "The server was unable to complete the request due to an internal error.\n            <br/>Error codes:\n            501 - Unspecified internal server error occurred"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Subscribers
  /subscribers/current/siteaudit/checkListItems/{checkListItemId}:
    get:
      tags:
      - SiteAudit
      summary: Get details for specified checklist item
      description: "Details include:\n            - comments with attachments\n            - workorders\n            - quantity"
      operationId: GETv3_subscribers_current_siteaudit_checkListItems_{checkListItemId}
      parameters:
      - name: checkListItemId
        in: path
        description: Identifier of checklist item
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The requested completed audit list is in the response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.CheckListItemDetailsResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.CheckListItemDetailsResponse'
        '401':
          description: "The request is not authorized.\n            <br/>Error codes:\n            504 - Missing or incorrect authentication credentials"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "The server was unable to complete the request due to an internal error.\n            <br/>Error codes:\n            501 - Unspecified internal server error occurred"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Subscribers
  /subscribers/current/siteaudit/audits/completed:
    get:
      tags:
      - SiteAudit
      summary: Get completed site audits
      description: Retrieves a list of completed site audits and their details for the current subscriber.
      operationId: GETv3_subscribers_current_siteaudit_audits_completed?daysPeriod={daysPeriod}
      parameters:
      - name: daysPeriod
        in: query
        description: "Number of days in the past from the current moment. Allows you to find site audits completed over the specified period of time. Any number of days can be entered (no limits).\n            <br />When you leave the field empty, the method will return completed audits for the past 365 days."
        required: false
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The list of completed audits is in the response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.CompletedAuditListResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.CompletedAuditListResponse'
        '401':
          description: "The request is not authorized.\n            <br/>Error codes:\n            504 &mdash; Missing or incorrect authentication credentials"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "The server was unable to complete the request due to an internal error.\n            <br/>Error codes:\n            501 &mdash; Unspecified internal server error occurred"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Subscribers
  /subscribers/current/siteaudit/report:
    get:
      tags:
      - SiteAudit
      summary: Get site audit reports
      description: "Returns a site audit report, its part, or several reports for the current subscriber.\n            <br />**Required parameters:**\n             • **Option 1**. `auditId`. Use to get a site audit report by ID.\n             • **Option 2**. The combination of `fromDate` and `toDate`. Use to get site audit reports for a specific period.\n            <br />***Note:*** Site audit reports are also known as *site planning reports* or just *audits*. See [Site Planning Manager](https://servicechannel.atlassian.net/wiki/spaces/SCU/pages/551059548/Site+Planning+Manager) for more info."
      operationId: GETv3_subscribers_current_siteaudit_report?auditId={auditId}&fromDate={fromDate}&toDate={toDate}&country={country}&locationId={locationId}&area={area}
      parameters:
      - name: auditId
        in: query
        description: The numeric identifier of the site audit report to return.
        required: false
        schema:
          type: integer
          format: int32
      - name: fromDate
        in: query
        description: The date from which you want to return site audit reports. The format is `YYYY-MM-DDThh:mm:ss.sssZ`.
        required: false
        schema:
          type: string
          format: date-time
      - name: toDate
        in: query
        description: The date until which you want to return site audit reports. The format is `YYYY-MM-DDThh:mm:ss.sssZ`.
        required: false
        schema:
          type: string
          format: date-time
      - name: country
        in: query
        description: The two-letter [ISO 3166-1 code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) of the location country.
        required: false
        schema:
          type: string
      - name: locationId
        in: query
        description: The numeric identifier of the subscriber's property.
        required: false
        schema:
          type: integer
          format: int32
      - name: area
        in: query
        description: The audited area within the location.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: The requested site audit reports are in the response.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.AuditReportExternal'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.AuditReportExternal'
        '400':
          description: "The request is not accepted due to bad syntax, missing parameters, insufficient data, etc.\n            <br/>Error codes:\n            1010 - Invalid site audit parameters"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The request is not authorized.\n            <br/>Error codes:\n            504 - Missing or incorrect authentication credentials"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "The server was unable to complete the request due to an internal error.\n            <br/>Error codes:\n            501 - Unspecified internal server error occurred"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Subscribers
  /subscribers/current/siteaudit/completed/{auditId}:
    get:
      tags:
      - SiteAudit
      summary: Get information on a completed audit
      description: Returns details of a completed site audit.
      operationId: GETv3_subscribers_current_siteaudit_completed_{auditId}
      parameters:
      - name: auditId
        in: path
        description: Unique numeric identifier of the site audit. To get the audit ID, you can run the `GET/subscribers/current/siteaudit/report` method.
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: The requested site audit info is in the response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.RequestHandlers.SiteAudit.CompletedAuditInfo'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.RequestHandlers.SiteAudit.CompletedAuditInfo'
        '400':
          description: "The request is not accepted due to bad syntax, missing parameters, insufficient data, etc.\n            <br/>Error codes:\n            608 &mdash; Do not have access to the location"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The request is not authorized.\n            <br/>Error codes:\n            504 &mdash; Missing or incorrect authentication credentials"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
        '404':
          description: "The requested resource does not exist on the server.\n            <br/>Error codes:\n            1008 &mdash; Audit not found"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "The server was unable to complete the request due to an internal error.\n            <br/>Error codes:\n            501 &mdash; Unspecified internal server error occurred"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Subscribers
  /subscribers/current/siteaudit/completed:
    put:
      tags:
      - SiteAudit
      summary: Modify details of a completed audit
      description: "Allows users to update, delete, and add information for completed site audits. The following audit parameters can be modified:\n             • `Areas`\n             • `CheckLists`\n             • `CheckListItems`\n             • `WorkOrderIds`\n             • `Quantity`\n             • `Issues`\n             • `Attachments`\n            <br />Use the [GET/subscribers/current/siteaudit/completed/{auditId}](https://developer.servicechannel.com/swagger/index.html#/SiteAudit/GETv3_subscribers_current_siteaudit_completed_%7BauditId%7D) method to get the audit you want to modify."
      operationId: PUTv3_subscribers_current_siteaudit_completed
      responses:
        '200':
          description: The site audit was successfully updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.UpdatedCompletedAuditResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.SiteAudit.UpdatedCompletedAuditResponse'
        '400':
          description: "The request is not accepted due to bad syntax, missing parameters, insufficient data, etc.\n            <br/>Error codes:\n            608 &mdash; Do not have access to the location\n            1009 &mdash; An error occurred while updating the entries. See the inner exception for details\n            1009 &mdash; Validation failed: Site audit must contain at least one checklist item\n            1009 &mdash; Validation failed: The range must contain the score\n            1009 &mdash; Validation failed: The range must contain the pass threshold value\n            1009 &mdash; Unexpected error"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
        '401':
          description: "The requested resource requires authentication.\n            <br/>Error codes:\n            504 &mdash; API call rejected by security permissions"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
        '404':
          description: "The requested resource does not exist on the server.\n            <br/>Error codes:\n            1008 &mdash; The requested audit was not found"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
        '500':
          description: "Something went wrong, and the server was unable to complete your request.\n            <br/>Error codes:\n            501 &mdash; Unspecified internal server error occurred"
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/ServiceChannel.Services.Messaging.ErrorResponse'
      deprecated: false
      x-access: Subscri

# --- truncated at 32 KB (171 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/servicechannel/refs/heads/main/openapi/servicechannel-siteaudit-api-openapi.yml