DefectGeneral
aql object
AQL information
AQL ID
123Number of Critical defects
0Number of Major defects
1Number of Minor defects
2defectFound object
Information on the number of defects
Number of Critical defects
0Number of Major defects
1Number of Minor defects
2defects object[]
Defect details
Affected percentage by the defect
1comments object[]
Comment on the actions
attachments object[]
Attachments in Chatbox
File Name of the attachment in Chatbox
123-abcURL of attachments for the CAPA report
https://.../image1.jpgCreation date of the message in Chatbox
2021-05-25T13:58:26+00:00First Name of the contact who posted the message in Chatbox
JohnLast Name of the contact who posted the message in Chatbox
DoeMessage in Chatbox
Please update the statusOrganization of the contact who posted the message in Chatbox
Acme CorpcorrectiveAction object
Information on the corrective action
Details on the corrective action
Rework on the defective unitsAn action in the corrective list
Rework UnitsDefect category
ConstructionDefect code
CON111defectItems object[]
List of defective items
attachments object[]
List of attachments of defective items
URL of attachments for the CAPA report
https://.../image1.jpgClassification of the defective item
MinorColor of the defective item
blackCustom ID of the defective item
ITEM123ID of the defective item
111-22-333Size of the defective item
MediumStyle ID of the defective item
style_1Defect name
Construction defectPreventative action
Advise all staffRoot cause of the defect
Wrong carton dimensionTotal defect items
1Total defect units
1maxAllowed object
Maximum number of defect allowed
Number of Critical defects
0Number of Major defects
1Number of Minor defects
2Total number of defects
2Total number of defective items
2{
"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
}