Skip to main content
A QC template version is the set of questions an inspection set gets filled from. Templates are versioned, so this resource lists versions rather than templates: qcTemplateId is the template, and versionNumber is the revision. Search columns: name

Fields

Every property the API returns for a QC template version.

questions

An array, in the order the questions are shown. Each entry:
Read and delete only. POST /qc-template always fails server-side, and PATCH /qc-template/{id} accepts the request but writes nothing. Build and edit templates in the BuildingSwell app, and use this resource to read and to remove versions.
Available endpoints: GET /qc-template, GET /qc-template/{id}, GET /qc-template/count, POST /qc-template/count, POST /qc-template/query, POST /qc-template/group-and-count, and DELETE /qc-template/{id}.

Pass/fail versus questions-only

requiresPassFail separates the two kinds of template. A pass/fail template ends in a verdict and acts as a gate. A questions-only template captures a reason and records it, which is why the automatic hold and due-date forms use it.

Drafts

isDraft is true while a version is still being edited. Filter drafts out when you only want versions in use:

Deleting

DELETE /qc-template/{id} is destructive.Permanently removes the template version. This cannot be undone.QC sets reference a version through templateId, and that link is ON DELETE RESTRICT, so the call comes back as 409 while any set still points at this version.
See archiving and deleting for the full picture across resources.