Update the type of an existing inspection

The new inspection type must be one that is assigned to the inspection's team. Changing the type deletes any photos/videos already uploaded, automatically re-sends the request email/text to the customer, and sets the inspection status to Created. The type of a Closed or Canceled inspection can't be changed. Any unpromoted AI Analysis test data on the inspection is hard-deleted, because it was produced from the old type's configuration, and the change is refused while a test is queued or running. That refusal is a 409 carrying test_run_in_progress, or test_data_not_removable when some of the data can no longer be removed. Branch on the code, not the status.

Path Params
integer
required

The ID of the existing inspection request.

Body Params

The request body for PUT /inspections/{inspectionId}/inspection-type.

integer
required
1 to 2147483647

The ID of a different inspection type assigned to this inspection's team.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json