List Inspections

Summary

The List Inspections API endpoint offers an efficient method for retrieving a list of inspection records with essential details. It delivers a paginated response, presenting up to 10 inspections per page, sorted by creation date in descending order. This approach ensures that the most recently created inspections appear first, providing a quick and organized way to access the latest inspection data. If further detailed information about a specific inspection is needed, you can use the Get Inspection endpoint to retrieve the full details.

Endpoint Specification

get
Authorizations
Query parameters
pageinteger · int32OptionalDefault: 0
pageSizeinteger · int32OptionalDefault: 10
api-versionstringOptional
Responses
200

Returns a list of Inspections

get
/api/v1/Inspections
GET /api/v1/Inspections HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "Records": [
    {
      "Id": "123e4567-e89b-12d3-a456-426614174000",
      "Status": "Pending",
      "InspectorEmail": "text",
      "Occupier": {
        "Forename": "text",
        "Surname": "text",
        "Mobile": "text",
        "Email": "text"
      },
      "StartTime": "2025-11-07T15:58:31.587Z",
      "EndTime": "2025-11-07T15:58:31.587Z",
      "Address": "text",
      "Postcode": "text",
      "InspectionTypeId": "123e4567-e89b-12d3-a456-426614174000",
      "InspectionType": "text",
      "ClientId": "123e4567-e89b-12d3-a456-426614174000",
      "ClientName": "text",
      "SystemReference": "text",
      "CustomReference": "text"
    }
  ],
  "TotalRecords": 1,
  "TotalPages": 1,
  "CurrentPage": 1
}

Last updated