Skip to main content
PATCH
Update a QC inspection set

Authorizations

X-API-Key
string
header
required

Organization-scoped API key. Create one in the BuildingSwell app under Organization settings, API keys.

Path Parameters

id
string<uuid>
required

Record id.

Body

application/json

Every field is optional. Only the fields you send are changed.

templateId
string<uuid>

QC template version the set was filled from.

rootDeliverableId
string<uuid> | null

Root order the set belongs to. Set to null if that order is ever deleted.

deliverableId
string<uuid> | null

Deliverable the set was inspected against. Set to null if that node is ever deleted.

stageId
string<uuid> | null

Station the set was inspected at. Set to null if that station is ever deleted.

projectId
string<uuid> | null

Project the set belongs to. Set to null if that project is ever deleted.

phase
string | null

Phase name captured when the set was created.

assignees
string<uuid>[]

People asked to fill the form. Defaults to empty.

Person id.

approvers
string<uuid>[]

People who can approve the result. Defaults to empty.

Person id.

category
string | null

Category captured on the set.

subcategory
string | null

Subcategory captured on the set.

isReworked
boolean
default:false

true when the set was detached by a rework.

triggerKey
enum<string> | null

How the set came to exist. null on sets created before this field existed.

Available options:
deliverable.reworked,
deliverable.put_on_hold,
deliverable.due_date_changed,
deliverable.manual,
deliverable.qc_step

Response

The updated QC inspection set.

value
object
required

One filled-out QC form: which template was used, what it was inspected against, and how it came out.