Skip to main content
POST
Approve or reject a submitted inspection.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Approve or reject a submitted inspection.

Needs work.inspection.approve, and may not be done by the inspector who walked the round. A rejection needs a reason, which is kept on the inspection and shown to whoever redoes it.

p_approve
boolean<boolean>
required
p_inspection_id
string<uuid>
required
p_reason
string<text>

Response

200

OK