ServiceTitan Installed Equipment API

The Installed Equipment API from ServiceTitan — 2 operation(s) for installed equipment.

Documentation

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

servicetitan-installed-equipment-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: ServiceTitan Accounting Adjustments Installed Equipment API
  description: 'The Accounting API manages invoices, invoice items, AP credits, payments, payment terms,

    payment types, journal entries, journal entry details, tax zones, and GL accounts.

    Tenant-scoped; OAuth 2.0 + App Key. Integrates with QuickBooks, Sage Intacct, and Acumatica.

    '
  version: 2.0.0
  contact:
    name: ServiceTitan Developer Support
    url: https://developer.servicetitan.io/
    email: integrations@servicetitan.com
  license:
    name: ServiceTitan Terms of Service
    url: https://www.servicetitan.com/legal/terms-of-service
servers:
- url: https://api.servicetitan.io/accounting/v2/{tenant}
  description: Production
  variables:
    tenant:
      default: '0000000'
- url: https://api-integration.servicetitan.io/accounting/v2/{tenant}
  description: Integration (Sandbox)
  variables:
    tenant:
      default: '0000000'
security:
- OAuth2: []
  AppKey: []
tags:
- name: Installed Equipment
paths:
  /installed-equipment:
    get:
      summary: List Installed Equipment
      operationId: listInstalledEquipment
      tags:
      - Installed Equipment
      parameters:
      - $ref: '#/components/parameters/Page'
      - $ref: '#/components/parameters/PageSize'
      - $ref: '#/components/parameters/ModifiedOnOrAfter'
      - name: locationIds
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Installed equipment
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InstalledEquipmentPagedResponse'
    post:
      summary: Create Installed Equipment
      operationId: createInstalledEquipment
      tags:
      - Installed Equipment
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InstalledEquipmentCreateRequest'
      responses:
        '200':
          description: Created equipment
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InstalledEquipment'
  /installed-equipment/{id}:
    get:
      summary: Get Installed Equipment
      operationId: getInstalledEquipment
      tags:
      - Installed Equipment
      parameters:
      - $ref: '#/components/parameters/Id'
      responses:
        '200':
          description: Installed equipment
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InstalledEquipment'
    patch:
      summary: Update Installed Equipment
      operationId: updateInstalledEquipment
      tags:
      - Installed Equipment
      parameters:
      - $ref: '#/components/parameters/Id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InstalledEquipmentCreateRequest'
      responses:
        '200':
          description: Updated
components:
  schemas:
    InstalledEquipment:
      type: object
      properties:
        id:
          type: integer
          format: int64
        locationId:
          type: integer
        name:
          type: string
        installedOn:
          type: string
          format: date-time
          nullable: true
        serialNumber:
          type: string
          nullable: true
        barcodeId:
          type: string
          nullable: true
        memo:
          type: string
          nullable: true
        manufacturer:
          type: string
          nullable: true
        model:
          type: string
          nullable: true
        cost:
          type: number
          nullable: true
        manufacturerWarrantyStart:
          type: string
          format: date-time
          nullable: true
        manufacturerWarrantyEnd:
          type: string
          format: date-time
          nullable: true
        serviceProviderWarrantyStart:
          type: string
          format: date-time
          nullable: true
        serviceProviderWarrantyEnd:
          type: string
          format: date-time
          nullable: true
        customFields:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              value:
                type: string
        attachments:
          type: array
          items:
            type: object
            properties:
              alias:
                type: string
              fileName:
                type: string
              type:
                type: string
              url:
                type: string
        tags:
          type: array
          items:
            type: string
        active:
          type: boolean
        createdOn:
          type: string
          format: date-time
        modifiedOn:
          type: string
          format: date-time
    InstalledEquipmentCreateRequest:
      type: object
      required:
      - locationId
      - name
      properties:
        locationId:
          type: integer
        name:
          type: string
        installedOn:
          type: string
          format: date-time
        serialNumber:
          type: string
        manufacturer:
          type: string
        model:
          type: string
        cost:
          type: number
        memo:
          type: string
        customFields:
          type: array
          items:
            type: object
    InstalledEquipmentPagedResponse:
      type: object
      properties:
        page:
          type: integer
        pageSize:
          type: integer
        hasMore:
          type: boolean
        data:
          type: array
          items:
            $ref: '#/components/schemas/InstalledEquipment'
  parameters:
    Id:
      name: id
      in: path
      required: true
      schema:
        type: integer
        format: int64
    PageSize:
      name: pageSize
      in: query
      schema:
        type: integer
        default: 50
        maximum: 500
    Page:
      name: page
      in: query
      schema:
        type: integer
        default: 1
    ModifiedOnOrAfter:
      name: modifiedOnOrAfter
      in: query
      schema:
        type: string
        format: date-time
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://auth.servicetitan.io/connect/token
          scopes: {}
    AppKey:
      type: apiKey
      in: header
      name: ST-App-Key