Skip to content

inspectionTemplates

Safety module · 5 operations

List inspection template rows

GET/inspection-templates

A template for an inspection walk. Returns a cursor page of inspection template rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.

Create an inspection template

POST/inspection-templates

A template for an inspection walk. Creates an inspection template. 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 template

GET/inspection-templates/{id}

A template for an inspection walk. Returns one inspection template with its `ETag`. A inspection template the caller may not see returns 404.

Update an inspection template

PATCH/inspection-templates/{id}

A template for an inspection walk. 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 template

DELETE/inspection-templates/{id}

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