Cancel inspection
Summary
The Cancel inspection API endpoint allows you to cancel an existing inspection. When called, the API updates the inspection’s status to Cancelled and optionally notifies the associated client, depending on the provided query parameter.
Notes
When an inspection is cancelled, the assigned inspector is always notified. The customer is only notified if the notifyCustomer query parameter is set to true.
Endpoint Specification
put
Authorizations
Path parameters
idstring · uuidRequired
Query parameters
notifyCustomerbooleanOptional
api-versionstringOptional
Responses
204
Returns no content if successful
No content
400
Bad Request
404
If the appointment is not found
put
/api/v1/Inspections/Cancel/{id}PUT /api/v1/Inspections/Cancel/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated