Skip to main content

InspectionStandards

aql object

Information on the AQL table

aqlIdstring

Unique identifier of the AQL table

Example: 31ade06c-1a0b-11e9-83b2-320fe256275a
aqlLevelstringnullable

Inspection level

Example: ii
aqlNamestring

The name of the AQL table

Example: Packaging
criticalstring

The threshold used for critical defects

Example: 0.010
majorstring

The threshold used for major defects

Example: 2.5
minorstring

The threshold used for minor defects

Example: 2.5
sourcestring

The source of the AQL table

Example: null
availableQuantityinteger

Total of available quantity to inspect

Example: 72
countedForAql objectnullable

Number of defects found that counted for AQL per classification

criticalstring

The number of critical defects that counted for AQL

Example: 1
majorstring

The number of major defects that counted for AQL

Example: 0
minorstring

The number of minor defects that counted for AQL

Example: 0
defectFound object

Number of defects found per classification, e.g. 0 Minor, 2 Major, 0 Critical

criticalstring

The number of critical defects found

Example: 1
majorstring

The number of major defects found

Example: 0
minorstring

The number of minor defects found

Example: 0
defectiveUnitActivatebooleannullable

Boolean indicating whether defective unit was activated

Example: false
determineDescstring

Determine Desc

Example: AQL Standard
determineTypestring

Determine Type

Example: aqlTable
determineValueinteger

Determine Value

Example: 0
doubleSamplingboolean

Boolean indicating whether double sampling was activated

Example: false
failReasonstring

Reason for the failure

Example: critical
groupstring

Group of the defect, e.g. Workmanship, Packaging

Example: workmanship
inspectionIdstring

Unique identifier of the report

Example: abcd1234-ab12-ab12-ab12-abcd1234efgh4568
maxAllowed object

List of maximum allowed defect per classification, e.g. 0 Minor, 1 Major, 0 Critical

criticalstring

The number of critical defects max allowed

Example: 0
majorstring

The number of major defects max allowed

Example: 1
minorstring

The number of minor defects max allowed

Example: 1
maximumSampleSizeinteger

Maximum sample size

Example: 8
minimumSampleSizeinteger

Minimum sample size

Example: 13
noOfDefectiveItemsinteger

Number of defective items

Example: 1
noOfDefectiveUnitsinteger

Number of defective units

Example: 2
organizationIdstring

Unique identifier of the organization who executed the inspection

Example: 200373
packingTypestring

List of all packing types

Example: Solid; Assortment
sampleSizeCategory object[]

Information on the sample size category

  • Array [
  • productCategorystring

    Unique identifier of the product category

    Example: 124301
    sampleSizeinteger

    Sample size

    Example: 8
  • ]
  • totalDefectsstring

    Total defects found

    Example: 2
    totalItemsinteger

    Total items

    Example: 2
    InspectionStandards
    {
    "aql": {
    "aqlId": "31ade06c-1a0b-11e9-83b2-320fe256275a",
    "aqlLevel": "ii",
    "aqlName": "Packaging",
    "critical": "0.010",
    "major": "2.5",
    "minor": "2.5",
    "source": "null"
    },
    "availableQuantity": "72",
    "countedForAql": {
    "critical": "1",
    "major": "0",
    "minor": "0"
    },
    "defectFound": {
    "critical": "1",
    "major": "0",
    "minor": "0"
    },
    "defectiveUnitActivate": "false",
    "determineDesc": "AQL Standard",
    "determineType": "aqlTable",
    "determineValue": "0",
    "doubleSampling": "false",
    "failReason": "critical",
    "group": "workmanship",
    "inspectionId": "abcd1234-ab12-ab12-ab12-abcd1234efgh4568",
    "maxAllowed": {
    "critical": "0",
    "major": "1",
    "minor": "1"
    },
    "maximumSampleSize": "8",
    "minimumSampleSize": "13",
    "noOfDefectiveItems": "1",
    "noOfDefectiveUnits": "2",
    "organizationId": "200373",
    "packingType": "Solid; Assortment",
    "sampleSizeCategory": [
    {
    "productCategory": "124301",
    "sampleSize": "8"
    }
    ],
    "totalDefects": "2",
    "totalItems": "2"
    }