---
title: "Update an existing inspection report (v2)"
method: PUT
path: "/v2/inspection_reports/{id}"
---

# Update an existing inspection report (v2)

`PUT /v2/inspection_reports/{id}`

## Path parameters

- `id` integer, required

## Query parameters

- `time` string, date

## Headers

- `X-Time-Zone` string
- `X-Metric-Units` boolean
- `X-User-Id` integer

## Request body

- object
  - `defect_statuses` object — Specify the details of the mechanic for a defect level resolution.
    - `mechanic_signed_at` string, date — Denote the date and time when the mechanic signed for resolving the defect.
    - `resolver_id` integer — Specify the Motive user ID of the resolver who fixed the defect.
    - `mechanic_name` string — Specify the name of the Mechanic.
    - `mechanic_note` string — Specify a note of the mechanic regarding the defect (if available).
    - `resolved_defects` integer[] — Specify the ID of all the defects that were resolved.
    - `status` string — Specify the status of the inspected parts. Allowed values are: repaired, no_repair_needed.
    - `external_resolver_id` string — External ID of the resolver.
  - `external_ids_attributes` object — External system ID for inspection report along with an integration name for which it is valid.
    - `external_id` string — Specify the external ID of the asset.
    - `integration_name` string — Specify the name of the integration with which the ID is associated.

## Response `200`

200

- object
  - `inspection_report` object
    - `id` integer
    - `log_id` integer
    - `date` string
    - `time` string
    - `odometer` unknown
    - `carrier_name` string
    - `vehicle_number` string
    - `trailer_nums` string[]
    - `location` string
    - `city` string
    - `state` string
    - `status` string
    - `mechanic_signed_at` string
    - `mechanic_signature_url` string
    - `driver_signed_at` string
    - `driver_signature_url` string
    - `reviewer_signed_at` string
    - `reviewer_signature_url` string
    - `defects` object[]
      - `defect` object
        - `id` integer
        - `area` string
        - `category` string
        - `notes` unknown
    - `vehicle` object
      - `id` integer
      - `number` string
      - `year` string
      - `make` string
      - `model` string
      - `vin` string
      - `metric_units` boolean
    - `mechanic` object
      - `id` integer
      - `first_name` string
      - `last_name` string
      - `username` unknown
      - `email` string
      - `driver_company_id` unknown
      - `status` string
      - `role` string
    - `driver` object
      - `id` integer
      - `first_name` string
      - `last_name` string
      - `username` string
      - `email` unknown
      - `driver_company_id` unknown
      - `status` string
      - `role` string
    - `reviewer` object
      - `id` integer
      - `first_name` string
      - `last_name` string
      - `username` unknown
      - `email` string
      - `driver_company_id` unknown
      - `status` string
      - `role` string
    - `external_ids` object[]
      - `external_id` string
      - `integration_name` string
    - `entries` object[]
      - `name` string
      - `value` string
      - `position` integer

## Other responses

- `400` — 400

---

[API](https://skmtc.net/gomotive/apis/motive.md) · [All operations](https://skmtc.net/gomotive/apis/motive/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gomotive/motive/revisions/c71780e497f5/schema)
