List Inspection Types

Summary

The List Inspections API endpoint retrieves a collection of inspection type records, each including an associated array of Clients. The results from this API can be used to populate the inspectionTypeIdand clientIdfields in the Create Inspection API.

Endpoint Specification

get
Authorizations
Query parameters
api-versionstringOptional
Responses
200

Returns a list of Inspection types

get
/api/v1/InspectionTypes
GET /api/v1/InspectionTypes HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "Id": "123e4567-e89b-12d3-a456-426614174000",
    "Name": "text",
    "Duration": "text",
    "Clients": [
      {
        "Id": "123e4567-e89b-12d3-a456-426614174000",
        "Name": "text"
      }
    ],
    "InspectorsAssigned": [
      {
        "Name": "text",
        "Email": "text"
      }
    ]
  }
]

Last updated