CapaCqpSection
CQP non-conformities of an Inline inspection, grouped by inspected Style / Item. The counts cover every Inline CQP of the inspection; products[].cqps[] lists only the CQPs with a failed outcome, which are the ones that carry root cause, corrective and preventive actions.
products object[]
Inspected Styles / Items that carry Inline CQPs, in the order of the inspection report
Business ID of the CQP form the CQPs were captured against (cqpFormId of the CQP Integration API)
cqpform-2024-001cqps object[]
Failed Inline CQPs of this Style / Item, in capture order
true when the inspector added the CQP during the inspection instead of inheriting it
falseattachments object[]
Self-assessment attachments
Regenerated when the aggregate is replaced with PUT.
Possible values: <= 500 characters
Possible values: <= 255 characters
Possible values: <= 200 characters
Supplier self-assessment note
Pull test passed on pre-production samples.comments object[]
Comments on the CQP in the CAPA
attachments object[]
List of attachments on the comment
File name of the attachment
photo.jpgURL of the attachment
https://.../file.jpgDate the comment was created
2021-05-25T13:58:26+00:00First name of the user who posted the comment
JohnLast name of the user who posted the comment
DoeComment message
Organization of the user who posted the comment
Acme CorpcorrectiveAction object
Corrective action recorded in the CAPA
Details on the corrective action
Rework on the defective unitsAn action in the corrective list
Rework UnitsNames of the linked CQCs (CQP groups), as the CQP Integration API returns them
["Trims"]CQP type
Possible values: [safety, functional, regulation]
CQP description
Zipper pull must withstand 70 N pull test.executionResult objectnullable
Inspector result captured during inspection execution; null until the result is uploaded
attachments object[]
Inspector evidence (photos, videos)
MIME type of the file
image/jpegFile name
evidence-1.jpgURL of the file
https://.../evidence-1.jpgKind of evidence
Possible values: [photo, video]
photoWhen the result was captured
2026-09-24T03:00:00+00:00Inspector comment
Zipper pull detached on 2 of 8 samples.Inspection type code of the inspection the result was captured on
INLINEReason given when the outcome is na; null otherwise
Recorded outcome
Possible values: [pass, fail, customer_requirement_fail, na]
Identifier of this CQP entry on the inspection; the key the corrective actions and comments are attached to
11aa2bb3-4cc5-4dd6-8ee7-9ff0a1b2c3d4mitigations object[]
Mitigations as captured on the inspection
Regenerated when the aggregate is replaced with PUT.
Possible values: [product_spec, material, production_process]
Possible values: [material_preparation, cutting, forming_molding, printing_dyeing, sewing, assembly, surface_finishing, washing, finishing, labeling, packing, other]
CQP name as captured on the inspection
Zipper pull strengthPreventive action recorded in the CAPA
Add calibration to the shift checklist.previousStageResult objectnullable
The PPM stage this CQP was inherited from; null when it was not inherited or the PPM inspection is not visible to the caller
Date the PPM inspection was uploaded
2026-08-20T00:00:00+00:00Identifier of the PPM inspection (usable with the report endpoints)
c04a5b6c-7d8e-4f9a-8b0c-1d2e3f4a5b6cInspection type code of the PPM inspection
PPMOutcome recorded on the PPM entry, if any; the values of CqpOutcome. PPM rows normally carry a review status, not an outcome, so this is usually null
Possible values: [pass, fail, customer_requirement_fail, na, null]
Review status of the PPM entry
Possible values: [pending, reviewed]
reviewNote objectnullable
Brand / retailer review note recorded on the CQP
attachments object[]
Review note attachments
Regenerated when the aggregate is replaced with PUT.
Possible values: <= 500 characters
Possible values: <= 255 characters
Possible values: <= 200 characters
Review note text
Reviewed at PPM, mitigation accepted.Root cause recorded in the CAPA
Bar-tack machine out of calibration.Identifier of the Style / Item library CQP this entry was created from (id of the CQP Integration API); null for a CQP added on site
00ff1ee2-3dd4-4cc5-9bb6-7aa8f9e0d1c2Identifier of the PPM CQP entry this entry was inherited from; null when it was not inherited
b31d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6fReview status of the CQP entry
Possible values: [pending, reviewed]
verifications object[]
Verifications as captured on the inspection
Regenerated when the aggregate is replaced with PUT.
Possible values: [pre_production, during_production, post_production]
Possible values: [certified_lab_test, process_verification_checklist, inspection]
Possible values: <= 50 characters
Possible values: [third_party, brand_retailer, supplier_factory]
Custom ID of the Style / Item in the client's system, the custom_id used by the CQP Integration API
KM-STYLE-001Type of the inspected entity, in the vocabulary of the CQP Integration API (product = Style)
Possible values: [product, item]
productName of the Style / Item
Men's zip hoodieNumber of failed Inline CQPs on this Style / Item
1Number of Inline CQPs on the inspection, any outcome
6Number of Inline CQPs with a failed outcome (fail or customer_requirement_fail)
2{
"products": [
{
"cqpFormId": "cqpform-2024-001",
"cqps": [
{
"addedOnSite": false,
"attachments": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"fileUrl": "string",
"fileName": "string",
"fileContentType": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}
],
"comment": "Pull test passed on pre-production samples.",
"comments": [
{
"attachments": [
{
"fileName": "photo.jpg",
"fileUrl": "https://.../file.jpg"
}
],
"createdDate": "2021-05-25T13:58:26+00:00",
"firstName": "John",
"lastName": "Doe",
"message": "string",
"organizationName": "Acme Corp"
}
],
"correctiveAction": {
"details": "Rework on the defective units",
"value": "Rework Units"
},
"cqcs": [
"Trims"
],
"cqpType": "safety",
"description": "Zipper pull must withstand 70 N pull test.",
"executionResult": {
"attachments": [
{
"fileContentType": "image/jpeg",
"fileName": "evidence-1.jpg",
"fileUrl": "https://.../evidence-1.jpg",
"mediaType": "photo"
}
],
"capturedAt": "2026-09-24T03:00:00+00:00",
"comment": "Zipper pull detached on 2 of 8 samples.",
"inspectionType": "INLINE",
"naReason": "string",
"outcome": "pass"
},
"id": "11aa2bb3-4cc5-4dd6-8ee7-9ff0a1b2c3d4",
"mitigations": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"controlLayerType": "product_spec",
"productionStep": "material_preparation",
"specification": "string",
"productionControlCheck": "string",
"qualityControlCheck": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}
],
"name": "Zipper pull strength",
"preventativeAction": "Add calibration to the shift checklist.",
"previousStageResult": {
"inspectionDate": "2026-08-20T00:00:00+00:00",
"inspectionId": "c04a5b6c-7d8e-4f9a-8b0c-1d2e3f4a5b6c",
"inspectionType": "PPM",
"outcome": "pass",
"status": "pending"
},
"reviewNote": {
"attachments": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"fileUrl": "string",
"fileName": "string",
"fileContentType": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}
],
"comment": "Reviewed at PPM, mitigation accepted."
},
"rootCause": "Bar-tack machine out of calibration.",
"sourceCqpId": "00ff1ee2-3dd4-4cc5-9bb6-7aa8f9e0d1c2",
"sourceSnapshotId": "b31d4e5f-6a7b-4c8d-9e0f-1a2b3c4d5e6f",
"status": "pending",
"verifications": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"stageType": "pre_production",
"methodType": "certified_lab_test",
"inspectionTypes": [
"string"
],
"acceptanceCriteria": "string",
"assignedTo": "third_party",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}
]
}
],
"customId": "KM-STYLE-001",
"entityType": "product",
"name": "Men's zip hoodie",
"totalFailed": 1
}
],
"totalCqps": 6,
"totalFailed": 2
}