Inspection data model
An inspection of a part, lot or serial against its requirements
View field support, webhooks, and list parameters for each integration on the Supported Integrations page.
| Field | Type | Required | Description |
|---|---|---|---|
id | string | No | |
created_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
updated_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
number | string | No | |
name | string | No | |
type | enum | No | Values: RECEIVING, IN_PROCESS, FINAL, FIRST_ARTICLE, SOURCE, OTHER |
original_type | string | No | The vendor's own inspection type name |
status | enum | No | Normalized status of a quality record Values: OPEN, IN_PROGRESS, IN_REVIEW, CLOSED, CANCELLED |
lifecycle_state | string | No | Vendor's own state or workflow step name |
result | enum | No | Values: PASS, FAIL, CONDITIONAL |
plan_name | string | No | The inspection plan or template followed |
part_id | string | No | The PlmPart (revision) ID, when the same vendor also provides PLM |
part_number | string | No | |
revision | string | No | |
lot_number | string | No | |
serial_number | string | No | |
quantity_inspected | number | No | |
quantity_accepted | number | No | |
quantity_rejected | number | No | |
supplier_name | string | No | |
characteristics | QmsCharacteristic[] | No | |
characteristics[].name | string | No | |
characteristics[].specification | string | No | Requirement or drawing reference |
characteristics[].nominal_value | number | No | |
characteristics[].lower_limit | number | No | |
characteristics[].upper_limit | number | No | |
characteristics[].measured_value | string | No | Measured or observed value; text so attribute checks fit |
characteristics[].unit_of_measure | string | No | |
characteristics[].result | enum | No | Values: PASS, FAIL, CONDITIONAL |
characteristics[].notes | string | No | |
issue_ids | string[] | No | QmsIssue IDs raised from this inspection |
user_id | string | No | Inspector (reference to HrisEmployee) |
inspected_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
file_ids | string[] | No | Attachment IDs retrievable from StorageFile |
url | string | No | Deep link to the vendor UI |
metadata | QmsMetadata[] | No | |
metadata[].id | string | No | The ID of the custom field definition (from the metadata/metadata endpoint). |
metadata[].slug | string | No | The integration's API name (key) of an existing custom field. |
metadata[].value | object | No | The field's value, typed by format. |
metadata[].namespace | string | No | |
metadata[].format | enum | No | The data type of the custom field, which determines how value is formatted. Values: TEXT, NUMBER, DATE, BOOLEAN, FILE, TEXTAREA, SINGLE_SELECT, MULTIPLE_SELECT, MEASUREMENT, PRICE, YES_NO, CURRENCY, URL |
metadata[].extra_data | object | No |
Are we missing anything? Let us know
Was this page helpful?