Skip to main content

CQPCreateRequest

namestringrequired

Possible values: <= 255 characters

cqpTypeCQPTyperequired

Possible values: [safety, functional, regulation]

descriptionstring
cqcsstring[]

CQC (CQP group) names. Values are trimmed and de-duplicated; each is matched case-insensitively against the CQP form's catalog. A match links the existing CQC and the stored value takes the catalog casing (which may differ from the payload); an unmatched value creates a new catalog CQC preserving the typed casing.

Possible values: <= 255 characters

Default value: []
commentstring
mitigations object[]
  • Array [
  • idstring<uuid>required

    Regenerated when the aggregate is replaced with PUT.

    controlLayerTypeControlLayerType

    Possible values: [product_spec, material, production_process]

    productionStepProductionStep

    Possible values: [material_preparation, cutting, forming_molding, printing_dyeing, sewing, assembly, surface_finishing, washing, finishing, labeling, packing, other]

    specificationstring
    productionControlCheckstring
    qualityControlCheckstring
    createdAtstring<date-time>required
    updatedAtstring<date-time>required
  • ]
  • verifications object[]
  • Array [
  • idstring<uuid>required

    Regenerated when the aggregate is replaced with PUT.

    stageTypeVerificationStage

    Possible values: [pre_production, during_production, post_production]

    methodTypeVerificationMethod

    Possible values: [certified_lab_test, process_verification_checklist, inspection]

    inspectionTypesstring[]

    Possible values: <= 50 characters

    acceptanceCriteriastring
    assignedToVerificationAssignedTo

    Possible values: [third_party, brand_retailer, supplier_factory]

    createdAtstring<date-time>required
    updatedAtstring<date-time>required
  • ]
  • attachments object[]
  • Array [
  • idstring<uuid>required

    Regenerated when the aggregate is replaced with PUT.

    fileUrlstring<uri>

    Possible values: <= 500 characters

    fileNamestring

    Possible values: <= 255 characters

    fileContentTypestring

    Possible values: <= 200 characters

    createdAtstring<date-time>required
    updatedAtstring<date-time>required
  • ]
  • cqpFormstringrequired

    Business form ID of a live, active CQP form in the caller's organization. The form's latest template revision is pinned to the CQP at creation and never changed by later updates. An unknown or inactive form ID fails validation and blocks creation.

    Possible values: <= 255 characters

    Example: cqpform-2024-001
    CQPCreateRequest
    {
    "name": "string",
    "cqpType": "safety",
    "description": "string",
    "cqcs": [
    "string"
    ],
    "comment": "string",
    "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"
    }
    ],
    "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"
    }
    ],
    "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"
    }
    ],
    "cqpForm": "cqpform-2024-001"
    }