Skip to main content

DefectGeneral

aql object

AQL information

aqlId stringnullable

AQL ID

Example: 123
critical number

Number of Critical defects

Example: 0
major number

Number of Major defects

Example: 1
minor number

Number of Minor defects

Example: 2
defectFound object

Information on the number of defects

critical integer

Number of Critical defects

Example: 0
major integer

Number of Major defects

Example: 1
minor integer

Number of Minor defects

Example: 2
defects object[]

Defect details

  • Array [
  • affectedPercentage number

    Affected percentage by the defect

    Example: 1
    comments object[]

    Comment on the actions

  • Array [
  • attachments object[]

    Attachments in Chatbox

  • Array [
  • fileName stringnullable

    File Name of the attachment in Chatbox

    Example: 123-abc
    url url

    URL of attachments for the CAPA report

    Example: https://.../image1.jpg
  • ]
  • createdDate date-time

    Creation date of the message in Chatbox

    Example: 2021-05-25T13:58:26+00:00
    email string

    Email of the contact who posted the message in Chatbox

    firstName stringnullable

    First Name of the contact who posted the message in Chatbox

    Example: John
    lastName stringnullable

    Last Name of the contact who posted the message in Chatbox

    Example: Doe
    message stringnullable

    Message in Chatbox

    Example: Please update the status
    organizationName stringnullable

    Organization of the contact who posted the message in Chatbox

    Example: Acme Corp
  • ]
  • correctiveAction object

    Information on the corrective action

    details stringnullable

    Details on the corrective action

    Example: Rework on the defective units
    value stringnullable

    An action in the corrective list

    Example: Rework Units
    defectCategory stringnullable

    Defect category

    Example: Construction
    defectCode stringnullable

    Defect code

    Example: CON111
    defectItems object[]

    List of defective items

  • Array [
  • attachments object[]

    List of attachments of defective items

  • Array [
  • url url

    URL of attachments for the CAPA report

    Example: https://.../image1.jpg
  • ]
  • classification stringnullable

    Classification of the defective item

    Example: Minor
    color stringnullable

    Color of the defective item

    Example: black
    customId stringnullable

    Custom ID of the defective item

    Example: ITEM123
    itemId stringnullable

    ID of the defective item

    Example: 111-22-333
    size stringnullable

    Size of the defective item

    Example: Medium
    styleId stringnullable

    Style ID of the defective item

    Example: style_1
  • ]
  • defectName stringnullable

    Defect name

    Example: Construction defect
    preventativeAction stringnullable

    Preventative action

    Example: Advise all staff
    rootCause stringnullable

    Root cause of the defect

    Example: Wrong carton dimension
    totalDefectItems integer

    Total defect items

    Example: 1
    totalDefectUnits integer

    Total defect units

    Example: 1
  • ]
  • maxAllowed object

    Maximum number of defect allowed

    critical integer

    Number of Critical defects

    Example: 0
    major integer

    Number of Major defects

    Example: 1
    minor integer

    Number of Minor defects

    Example: 2
    totalDefects integer

    Total number of defects

    Example: 2
    totalItems integer

    Total number of defective items

    Example: 2
    DefectGeneral
    {
    "aql": {
    "aqlId": "123",
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "defectFound": {
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "defects": [
    {
    "affectedPercentage": 1,
    "comments": "Reviewed",
    "correctiveAction": {
    "details": "Rework on the defective units",
    "value": "Rework Units"
    },
    "defectCategory": "Construction",
    "defectCode": "CON111",
    "defectItems": [
    {
    "attachments": [
    {
    "url": "https://.../image1.jpg"
    }
    ],
    "classification": "Minor",
    "color": "black",
    "customId": "ITEM123",
    "itemId": "111-22-333",
    "size": "Medium",
    "styleId": "style_1"
    }
    ],
    "defectName": "Construction defect",
    "preventativeAction": "Advise all staff",
    "rootCause": "Wrong carton dimension",
    "totalDefectItems": 1,
    "totalDefectUnits": 1
    }
    ],
    "maxAllowed": {
    "critical": 0,
    "major": 1,
    "minor": 2
    },
    "totalDefects": 2,
    "totalItems": 2
    }