Skip to content

inspectionItems

Safety module · 5 operations

List inspection item rows

GET/inspection-items

An item of an inspection template. Returns a cursor page of inspection item rows the caller may see. The default order is `position` ascending. Supports sparse fieldsets and the filter grammar.

Create an inspection item

POST/inspection-items

An item of an inspection template. Creates an inspection item. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.

Get an inspection item

GET/inspection-items/{id}

An item of an inspection template. Returns one inspection item with its `ETag`. A inspection item the caller may not see returns 404.

Update an inspection item

PATCH/inspection-items/{id}

An item of an inspection template. Updates the fields sent; omitted fields are unchanged. Requires `If-Match` with the current `ETag`: a stale tag returns 412 and a missing tag returns 428.

Delete an inspection item

DELETE/inspection-items/{id}

An item of an inspection template. Soft-deletes the inspection item: it moves to Trash and can be restored for its table's retention period.