Update an inspection

Path Params
integer
required

The ID of the existing inspection request.

Body Params

The request body for PUT /inspections/{inspectionId}

number

The id of the user this inspection is assigned to.

custom_field_values
array of strings

The values for the custom fields defined in the inspection type. The order of the values must match the order of the custom fields defined in the inspection type. If the value is optional then you can provide null for that value.

custom_field_values
string

The address where the inspection will be performed.

string

The latitude of the address where the inspection will be performed.

string

The longitude of the address where the inspection will be performed.

string
length ≤ 255

The email address of the customer completing the inspection. Required if send_methods.email is true.

string
length ≤ 255

The first name of the customer completing the inspection.

string
length ≤ 255

The last name of the customer completing the inspection.

string
length ≤ 255

The full name of the customer who will be completing the inspection. If specified, then customer_first_name and customer_last_name will not be provided.

string
length ≤ 2

The country code for the customer's phone number.

string

The mobile number of the customer completing the inspection. Required if send_methods.text is true.

boolean
Defaults to false

Must be true when including list.

string | null

Free-form inspection-ready criteria text. Max length 10KB.

number
enum

The id of the inspection status this inspection is in.

Allowed:
list
object

Optionally include list updates with items. When provided with include_list: true, the list will be created or updated for the inspection (if scheduled).

string
length ≤ 255

The message supplement (custom note) to be attached to the request text/email. Maximum length of 255 characters.

number

The id of the outcome of this inspection.

string

The reason for the outcome of this inspection

date-time

The date/time (in UTC) the inspection is scheduled to be sent to the customer

string

The IANA timezone name for the inspection's scheduled datetime. Used only for display purposes, as scheduled_for is in UTC.

send_methods
object

The method(s) to send the inspection request to the customer completing the inspection.

Responses

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