Skip to main content

CustomResponse

data object
inspectionDefectList object[]

Defect list of the report

  • Array [
  • assortmentId string

    Unique identifier of the assortment carton, e.g. 1234

    Example: 1234
    clarification string

    Classification of the defect, e.g. Critical, Major, Minor

    Example: major
    color string

    Color of the item

    Example: Blue/Pink
    comment stringnullable

    Comment of the defect

    Example: Comment
    defectCategory string

    Category of the defect

    Example: Safety and Regulatory
    defectCode string

    Code of the defect

    Example: SR002
    defectId string

    Unique identifier of the defect

    Example: abcd1234-ab12-cd34-ef56-123456789012_workmanship_1
    defectName string

    Name of the defect

    Example: PKG005 - Missing silica gel / box sticker / box flag
    defectiveUnit stringnullable

    Defective unit

    Example: Defective unit
    description string

    Description of the defect

    Example: PKG005 - Missing silica gel / box sticker / box flag
    group string

    Group of the defect, e.g. Workmanship

    Example: workmanship
    id string

    Custom ID of the list

    inspectionId string

    Unique identifier of the report

    Example: abcd1234-ab12-ab12-ab12-abcd1234efgh4568
    itemDescription string

    Description of the item

    Example: Box AB1851
    itemId string

    Unique identifier of the item

    Example: 02112-1851
    organizationId string

    Unique identifier of the organization who executed the inspection

    Example: 200373
    photos object[]

    List of photos taken for the defect

  • Array [
  • description string

    Description of the defect photo

    Example: Mismatch color
    rotateAngle string

    Angle of rotation of the defect photo

    Example: 0
    source string

    Source of the defect photo

    Example: https://.../image1.jpg
  • ]
  • productCategory string[]

    List of product categories of the item

    size string

    Size of the item

    Example: XXL
    styleId string

    Unique identifier of the style of the item

    Example: 123456
    totalDefects integer

    Total number of times the defect was found during the inspection

    Example: 1
  • ]
  • inspectionEsignatures object[]nullable

    Information on the eSignature

  • Array [
  • id integer

    Unique Identifier of the inspection eSignature

    Example: 123456
    name stringnullable

    Name of the inspector who provided eSignature

    Example: Bob
    signature string

    Name of the inspector who provided eSignature

    Example: https://example.jpg
    title string

    Title of the inspector who provided eSignature

    Example: Factory Representative
  • ]
  • inspectionGeneral object

    General information of the report

    actualInspectionDate date-timenullable

    Date when the inspection was started on mobile

    Example: 2021-06-03T00:00:00+00:00
    bookingType string

    Type of the booking, e.g. Normal

    Example: normal
    capaStatus string

    Status of the CAPA

    Example: Waiting for Response
    caseNumber string

    Case number of the report generated based on a configurable rule

    Example: 5832DUPRO2019-00537345TESTMTTestInspectorioFactoryASOLID-ASSORTMENT2019-12-095832IS
    client objectnullable

    Information on the brand/retailer

    address string

    Address of the organization

    Example: 5 Madison Avenue
    city string

    City of the organization

    Example: New York
    contact objectnullable

    Contact information of the organization

    contactId string
    Example: contact_id
    email string
    mobileNumber string
    Example: 1234567890
    name string
    Example: Contact Name
    telephoneNumber string
    Example: 1234567890
    country string

    Country of the organization

    Example: US
    localOrganizationId stringnullable

    Local Custom ID of the organization

    Example: 123
    localOrganizationIds string[]nullable

    The list of all connected Local Custom IDs of the organization

    Example: ["123","ABC"]
    name string

    Name of the organization

    Example: Acme Corp
    organizationId string

    Unique Identifier of the organization

    Example: 3123123
    country string

    Country of shipment

    Example: VN
    createdDate string

    Date and time when the inspection started

    Example: 2021-06-03 07:18:05.372000+00:00
    creator objectnullable

    Information on the user who generated the report

    email string
    id string
    mobileNumber string
    name string
    executor objectnullable

    Information on the executor of the report

    address string

    Address of the organization

    Example: 5 Madison Avenue
    city string

    City of the organization

    Example: New York
    contact objectnullable

    Contact information of the organization

    contactId string
    Example: contact_id
    email string
    mobileNumber string
    Example: 1234567890
    name string
    Example: Contact Name
    telephoneNumber string
    Example: 1234567890
    country string

    Country of the organization

    Example: US
    name string

    Name of the organization

    Example: Acme Corp
    organizationId string

    Unique Identifier of the organization

    Example: 3123123
    expectedDate string

    Expected date of inspection that was selected when creating a new inspection

    Example: 2021-06-03 00:00:00+00:00
    factory objectnullable

    Information on the factory of the report

    address string

    Address of the organization

    Example: 5 Madison Avenue
    city string

    City of the organization

    Example: New York
    contact objectnullable

    Contact information of the organization

    contactId string
    Example: contact_id
    email string
    mobileNumber string
    Example: 1234567890
    name string
    Example: Contact Name
    telephoneNumber string
    Example: 1234567890
    country string

    Country of the organization

    Example: US
    localOrganizationId stringnullable

    Local Custom ID of the organization

    Example: 123
    localOrganizationIds string[]nullable

    The list of all connected Local Custom IDs of the organization

    Example: ["123","ABC"]
    name string

    Name of the organization

    Example: Acme Corp
    organizationId string

    Unique Identifier of the organization

    Example: 3123123
    inspectionDate string

    Date and time when the inspection completed

    Example: 2021-06-03 08:27:20.624000+00:00
    inspectionId string

    Unique identifier of the inspection's report

    Example: 123a456b-abcd-efgh-ijk1-a88aa05d7c86
    inspectionLocation objectnullable

    The location of the inspection

    address string

    Address of the organization

    Example: 5 Madison Avenue
    city string

    City of the organization

    Example: New York
    contact objectnullable

    Contact information of the organization

    contactId string
    Example: contact_id
    email string
    mobileNumber string
    Example: 1234567890
    name string
    Example: Contact Name
    telephoneNumber string
    Example: 1234567890
    country string

    Country of the organization

    Example: US
    localOrganizationId stringnullable

    Local Custom ID of the organization

    Example: 123
    localOrganizationIds string[]nullable

    The list of all connected Local Custom IDs of the organization

    Example: ["123","ABC"]
    name string

    Name of the organization

    Example: Acme Corp
    organizationId string

    Unique Identifier of the organization

    Example: 3123123
    inspectionResult string

    Overall result of the inspection

    Example: fail
    inspector objectnullable

    Information on the inspector

    email string
    employeeId string
    id string
    mobileNumber string
    name string
    isReferenceSample integer

    Indicates whether a reference sample had been provided

    Example: null
    opoNumber string

    Original PO Number of the report

    Example: 123-456
    oversightOffice objectnullable

    Oversight office

    id stringnullable

    Oversight office id

    Example: 111
    name stringnullable

    Oversight office name

    Example: Acme Oversight Office
    pdfUrl string

    Direct URL to the report in PDF format

    Example: https://.../.../.../.../case-number_123a456b-abcd-efgh-ijk1-a88aa05d7c86.pdf
    photos string[]nullable

    List of direct URLs to the photos taken during the inspection

    poNumber string

    PO Number of the report

    Example: 123-456-L001
    pos object[]nullable

    List of all the PO numbers

  • Array [
  • poNumber string

    PO Number of the report

    Example: PO123
  • ]
  • productCategories string[]nullable

    List of unique identifiers of all the product categories

    productLineId string

    Unique identifier of the product line

    Example: 100991
    productLineName string

    Name of the product line

    Example: APPAREL
    productOrders string[]nullable

    List of all the PO numbers

    productStyles object[]nullable

    List of all the styles with items and measurements

  • Array [
  • assortments object[]nullable
  • Array [
  • assortmentId stringrequired

    Possible values: non-empty

    availableCartonQuantity integernullable
    cartonQuantity integerrequired
    items object[]required

    Possible values: >= 1

  • Array [
  • availableQuantity integernullable
    brandId stringnullable

    Precondition: must be configured in your Inspectorio's account.

    Example: brand_1
    brandName string

    Possible values: non-empty

    classId stringnullable
    Example: class_id_1
    color stringrequired

    Possible values: non-empty

    configuration integerrequired

    Possible values: >= 1

    departmentId stringnullable
    Example: department_id_1
    id stringnullable
    itemId stringrequired

    Possible values: non-empty

    purchaseOrders string[]nullable

    List of unique purchase orders associated with this item

    quantity integer
    shipmentTerm stringnullable
    Example: shipment_term_1
    size stringrequired

    Possible values: non-empty

  • ]
  • ]
  • measurements object[]
  • Array [
  • caption stringrequired

    Possible values: non-empty

    isPomCritical booleannullable

    Measurement is critical or not

    Example: true
    pom stringrequired

    Possible values: non-empty

    sizes object[]
  • Array [
  • measurement stringrequired
    size stringrequired

    Size name

    Possible values: non-empty

    Example: Medium
  • ]
  • tolerance stringrequired
    toleranceLower numbernullable

    Accepted lower limit between the expected measure (standard) and the actual measure

    Example: 1
    toleranceUpper numbernullable

    Accepted upper limit between the expected measure (standard) and the actual measure

    Example: 1
    unit stringrequired

    Possible values: [inch, cm, mm]

  • ]
  • productCategoryId stringrequired
    Example: product_category_1
    productCategoryName string

    Possible values: non-empty

    solids object[]nullable
  • Array [
  • availableCartonQuantity integernullable
    availableQuantity integernullable
    brandId stringnullable

    Precondition: must be configured in your Inspectorio's account.

    Example: brand_1
    brandName string

    Possible values: non-empty

    cartonQuantity integernullable
    casePackQuantity integernullable
    classId stringnullable
    Example: class_id_1
    color stringrequired

    Possible values: non-empty

    departmentId stringnullable
    Example: department_id_1
    id stringnullable
    itemId stringrequired

    Possible values: non-empty

    purchaseOrders string[]nullable

    List of unique purchase orders associated with this item

    quantity integerrequired

    Possible values: >= 1

    shipmentTerm stringnullable
    Example: shipment_term_1
    size stringrequired

    Possible values: non-empty

  • ]
  • styleId stringrequired

    Possible values: non-empty

    Example: style_1
    styleName stringnullable
  • ]
  • status string

    Status of the report, e.g. In-Progress, Completed

    Example: completed
    systemUpdatedAt string

    Date and time the report was last updated by the system (including both client actions and actions taken by Inspectorio on behalf of the client)

    Example: 2021-06-03 08:27:21.316000+00:00
    tags string[]nullable

    Labels attached to the report giving other information, e.g. 1st re-inspection

    Example: null
    type objectnullable

    Information on the type of inspection

    typeOfInspection string
    Example: FRI
    typeOfInspectionName string
    Example: Final Random Inspection
    updatedDate string

    Date and time the report was last updated

    Example: 2021-06-03 08:27:21.316000+00:00
    vendor objectnullable

    Information on the supplier of the report

    address string

    Address of the organization

    Example: 5 Madison Avenue
    city string

    City of the organization

    Example: New York
    contact objectnullable

    Contact information of the organization

    contactId string
    Example: contact_id
    email string
    mobileNumber string
    Example: 1234567890
    name string
    Example: Contact Name
    telephoneNumber string
    Example: 1234567890
    country string

    Country of the organization

    Example: US
    localOrganizationId stringnullable

    Local Custom ID of the organization

    Example: 123
    localOrganizationIds string[]nullable

    The list of all connected Local Custom IDs of the organization

    Example: ["123","ABC"]
    name string

    Name of the organization

    Example: Acme Corp
    organizationId string

    Unique Identifier of the organization

    Example: 3123123
    workflowName stringnullable

    Name of workflow

    Example: DUPRO Apparel workflow
    inspectionMeasurementDimensions object[]

    Measurement dimensions

  • Array [
  • color string

    Color of the item

    Example: Blue/Pink
    dimensionId string

    Unique identifier of the dimension

    Example: 1a2b3c4d-1a2b-c1d2-b3b2-b76cd21e2a34__00537345__029-02-0590__XL__Blue/Pink__9999__0
    dimensionIndex integer

    Index of the dimension

    Example: 0
    id string

    Unique identifier of the item

    Example: 029-02-0590
    inspectionId string

    Unique identifier of the report

    Example: 1a2b3c4d-1a2b-c1d2-b3b2-b76cd21e2a34
    itemId string

    Unique identifier of the item

    Example: 029-02-0590
    measurementDescription string

    Description of the measurement

    Example: 9999
    occurrences integer

    Number of occurrences

    Example: 1
    organizationId string

    Unique identifier of the organization who executed the inspection

    Example: 200373
    samples object[]
  • Array [
  • name string

    Sample name of the inspection measurement dimension

    Example: shirt_1
    value numbernullable

    sample value

    Example: 1.5
  • ]
  • size string

    Size of the item

    Example: XXL
    skuIndex integer

    Index of the SKU

    Example: 0
    standard number

    Expected measure

    Example: 10.5
    styleId string

    Unique identifier of the style of the item

    Example: 123456
    tolerance numbernullable

    Accepted gap between the expected measure (standard) and the actual measure

    Example: 2.1
    toleranceLower numbernullable

    Accepted lower limit between the expected measure (standard) and the actual measure

    Example: 2.1
    toleranceUpper numbernullable

    Accepted upper limit between the expected measure (standard) and the actual measure

    Example: 2.1
    unit string

    Unit of the measure, e.g. cm, mm, inch

    Example: cm
  • ]
  • inspectionPhotos object[]

    List of photos taken during the inspection

  • Array [
  • file object

    List of the files

    description string

    Description of the photo, if any

    Example: photo_1
    fileType string

    Type of the file

    Example: image
    rotateAngle string

    Angle of rotation of the photo

    Example: 0
    source string

    Direct URL to the photo

    Example: https://.../.../.../1a2b3c4d-1a2b-1a2b-1a2b3c4d_eb77a158.jpg
    groupId string

    Unique identifier of the group of photo

    inspectionId string

    Unique identifier of the report

    Example: abcd1234-ab12-ab12-ab12-abcd1234efgh4568
    itemId string

    Unique identifier of the item

    Example: 02112-1851
    label string

    Label of the photo

    organizationId string

    Unique identifier of the organization who executed the inspection

    Example: 200373
    photoId string

    Unique identifier of the photo

    status string

    Status of the photo

    styleId string

    Unique identifier of the style

    Example: 123456
    type string

    Type of the photo

    Example: image
  • ]
  • inspectionQuestions object[]

    List of questions followed by the inspector

  • Array [
  • groupId string

    Unique identifier of the group of question

    Example: 7384b63c-bc99-43f0-b1b5-600959220e19_1e601f70-3c65-4ea8-931f-4976b9c91b3a
    inspectionId string

    Unique identifier of the report

    Example: abcd1234-ab12-ab12-ab12-abcd1234efgh4568
    label string

    Label of the question

    Example: Do we need to pull a Green sealed sample?
    options object[]

    Options available to answer the question

  • Array [
  • actions object[]

    List of actions per question

  • Array [
  • action string

    Action the inspector can/needs to take when responding to the question

    Example: request_picture
    value

    Information related to the action of the question, e.g. Is Mandatory

    Example: mandatory
  • ]
  • failResponse boolean

    Boolean indicating whether the option, if selected, will make the overall inspection result fail

    Example: false
    id string

    Unique identifier of the option

    Example: chk__97
    selected boolean

    Boolean indicating whether the option has been selected

    Example: true
    value string

    Label of the option displayed to the user

    Example: YES
  • ]
  • organizationId string

    Unique identifier of the organization

    Example: null
    questionId string

    Unique identifier of the question

    Example: 7384b63c-bc99-43f0-b1b5-600959220e19_5689d212-b001-4ad2-89c7-2c39654d4cc3_SyJivf3CA
    type string

    Type of the question

    Example: null
  • ]
  • inspectionRFID object[]

    Result of the RFID step taken during the inspection

  • Array [
  • barcode string

    Barcode of the item

    Example: 123456
    code string

    Code of the item

    Example: 123
    decodedCode string

    Decoded code of the item

    Example: 111
    id string

    Unique identifier of the barcode

    Example: abc-def-123
    inspectionId string

    Unique identifier of the report

    Example: abcd1234-ab12-ab12-ab12-abcd1234efgh4568
    matched boolean

    Indicates whether the barcode of the item matches the expected barcode

    Example: true
    organizationId string

    Unique identifier of the organization who executed the inspection

    Example: 200373
    photos string[]

    List of photos taken

  • ]
  • inspectionResult object[]

    Result of each section of the report

  • Array [
  • groupName string

    Name of the group of results

    Example: Check In
    includeInReport boolean

    Boolean indicating if the result is included in the report

    Example: true
    inspectionId string

    Unique identifier of the report

    Example: abcd1234-ab12-ab12-ab12-abcd1234efgh4568
    organizationId string

    Unique identifier of the organization who executed the inspection

    Example: 200373
    resultId string

    Unique identifier of the result

    Example: 7384b63c-bc99-43f0-b1b5-600959220e19_6e451830-1d61-4a14-a5e7-03ce20704f52
    status string

    Status of the result

    Example: non-applicable
  • ]
  • inspectionSampleSelection object[]

    Details of the sample selection calculation

  • Array [
  • inspectionId string

    Unique identifier of the report

    Example: abcd1234-ab12-ab12-ab12-abcd1234efgh4568
    organizationId string

    Unique identifier of the organization who executed the inspection

    Example: 200373
    sampleSelection integer

    Sample selection

    Example: 13
    sampleSize integer

    Sample size

    Example: 13
    totalInspectionQuantity integer

    Total inspection quantity

    Example: 72
  • ]
  • inspectionSampleSelectionSamples object[]

    Details of the samples selected by the inspector

  • Array [
  • assortment string

    Packing type, e.g. Solid, Assortment

    Example: solid
    assortmentQuantity string

    Assortment available quantity

    Example: 50
    cartonPull integer

    Number of cartons pulled during the inspection

    Example: 3
    id string

    Custom ID of the list

    Example: 111
    inspectionId string

    Unique identifier of the report

    Example: abcd1234-ab12-ab12-ab12-abcd1234efgh4568
    itemId string

    Unique identifier of the item

    Example: 02112-1851
    itemOrderQuantity integer

    Order quantity of the item

    Example: 50
    organizationId string

    Unique identifier of the organization who executed the inspection

    Example: 200373
    sampleId string

    Unique identifier of the sample

    Example: 00537345__solid__02112-1851
    samplePull integer

    Number of samples pulled for the item

    Example: 9
    styleId string

    Unique identifier of the style of the item

    Example: 123456
    styleOrderQuantity integer

    Order quantity of the style

    Example: 72
  • ]
  • inspectionSpecialAttentionPoint object[]

    List of special attention points raised by the inspector

  • Array [
  • attentionId string

    Unique identifier of the special attention point

    Example: remark-ee79693e-cd81-45df-af2e-1ee4628b4123-2020-01-15-14-25-13-182
    description string

    Description of the special attention point

    Example: This is a test
    group string

    Unique identifier of the special attention point's group

    Example: remark-ee79693e-cd81-45df-af2e-1ee4628b4123-2020-01-15-14-25-13-182
    inspectionId string

    Unique identifier of the report

    Example: abcd1234-ab12-ab12-ab12-abcd1234efgh4568
    organizationId string

    Unique identifier of the organization who executed the inspection

    Example: 200373
    pictures object[]

    The list of pictures taken for the special attention point

  • Array [
  • rotateAngle string

    Angle of rotation of the picture

    Example: 0
    source string

    Direct URL to the picture

    Example: https://.../image1.jpg
  • ]
  • type string

    The type of special attention point

    Example: remark
  • ]
  • inspectionStandards object[]

    Information on the inspection standards followed by the inspector

  • Array [
  • aql object

    Information on the AQL table

    aqlId string

    Unique identifier of the AQL table

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

    Inspection level

    Example: ii
    aqlName string

    The name of the AQL table

    Example: Packaging
    critical string

    The threshold used for critical defects

    Example: 0.010
    major string

    The threshold used for major defects

    Example: 2.5
    minor string

    The threshold used for minor defects

    Example: 2.5
    source string

    The source of the AQL table

    Example: null
    availableQuantity integer

    Total of available quantity to inspect

    Example: 72
    countedForAql objectnullable

    Number of defects found that counted for AQL per classification

    critical string

    The number of critical defects that counted for AQL

    Example: 1
    major string

    The number of major defects that counted for AQL

    Example: 0
    minor string

    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

    critical string

    The number of critical defects found

    Example: 1
    major string

    The number of major defects found

    Example: 0
    minor string

    The number of minor defects found

    Example: 0
    defectiveUnitActivate booleannullable

    Boolean indicating whether defective unit was activated

    Example: false
    determineDesc string

    Determine Desc

    Example: AQL Standard
    determineType string

    Determine Type

    Example: aqlTable
    determineValue integer

    Determine Value

    Example: 0
    doubleSampling boolean

    Boolean indicating whether double sampling was activated

    Example: false
    failReason string

    Reason for the failure

    Example: critical
    group string

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

    Example: workmanship
    inspectionId string

    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

    critical string

    The number of critical defects max allowed

    Example: 0
    major string

    The number of major defects max allowed

    Example: 1
    minor string

    The number of minor defects max allowed

    Example: 1
    maximumSampleSize integer

    Maximum sample size

    Example: 8
    minimumSampleSize integer

    Minimum sample size

    Example: 13
    noOfDefectiveItems integer

    Number of defective items

    Example: 1
    noOfDefectiveUnits integer

    Number of defective units

    Example: 2
    organizationId string

    Unique identifier of the organization who executed the inspection

    Example: 200373
    packingType string

    List of all packing types

    Example: Solid; Assortment
    sampleSizeCategory object[]

    Information on the sample size category

  • Array [
  • productCategory string

    Unique identifier of the product category

    Example: 124301
    sampleSize integer

    Sample size

    Example: 8
  • ]
  • totalDefects string

    Total defects found

    Example: 2
    totalItems integer

    Total items

    Example: 2
  • ]
  • itemAttributes object[]nullable

    List of item attribute

  • Array [
  • code stringnullable

    Code of item attribute

    Example: GC Apparel
    items object[]nullable

    List of item

  • Array [
  • groupCode stringnullable

    Group code

    itemId stringnullable

    Item id

    styleId stringnullable

    Style id

  • ]
  • name stringnullable

    Name of item attribute

    Example: Group Code Apparel
    type stringnullable

    Type of item attribute

    Example: single_choice
  • ]
  • CustomResponse
    {
    "data": {
    "inspectionDefectList": [
    {
    "assortmentId": "1234",
    "clarification": "major",
    "color": "Blue/Pink",
    "comment": "Comment",
    "defectCategory": "Safety and Regulatory",
    "defectCode": "SR002",
    "defectId": "abcd1234-ab12-cd34-ef56-123456789012_workmanship_1",
    "defectName": "PKG005 - Missing silica gel / box sticker / box flag",
    "defectiveUnit": "Defective unit",
    "description": "PKG005 - Missing silica gel / box sticker / box flag",
    "group": "workmanship",
    "id": "string",
    "inspectionId": "abcd1234-ab12-ab12-ab12-abcd1234efgh4568",
    "itemDescription": "Box AB1851",
    "itemId": "02112-1851",
    "organizationId": "200373",
    "photos": [
    {
    "description": "Mismatch color",
    "rotateAngle": "0",
    "source": "https://.../image1.jpg"
    }
    ],
    "productCategory": [
    "string"
    ],
    "size": "XXL",
    "styleId": "123456",
    "totalDefects": "1"
    }
    ],
    "inspectionEsignatures": [
    {
    "id": 123456,
    "name": "Bob",
    "signature": "https://example.jpg",
    "title": "Factory Representative"
    }
    ],
    "inspectionGeneral": {
    "actualInspectionDate": "2021-06-03T00:00:00+00:00",
    "bookingType": "normal",
    "capaStatus": "Waiting for Response",
    "caseNumber": "5832DUPRO2019-00537345TESTMTTestInspectorioFactoryASOLID-ASSORTMENT2019-12-095832IS",
    "client": {
    "address": "5 Madison Avenue",
    "city": "New York",
    "contact": {
    "contactId": "contact_id",
    "email": "[email protected]",
    "mobileNumber": "1234567890",
    "name": "Contact Name",
    "telephoneNumber": "1234567890"
    },
    "country": "US",
    "localOrganizationId": "123",
    "localOrganizationIds": [
    "123",
    "ABC"
    ],
    "name": "Acme Corp",
    "organizationId": "3123123"
    },
    "country": "VN",
    "createdDate": "2021-06-03 07:18:05.372000+00:00",
    "creator": {
    "email": "string",
    "id": "string",
    "mobileNumber": "string",
    "name": "string"
    },
    "executor": {
    "address": "5 Madison Avenue",
    "city": "New York",
    "contact": {
    "contactId": "contact_id",
    "email": "[email protected]",
    "mobileNumber": "1234567890",
    "name": "Contact Name",
    "telephoneNumber": "1234567890"
    },
    "country": "US",
    "name": "Acme Corp",
    "organizationId": "3123123"
    },
    "expectedDate": "2021-06-03 00:00:00+00:00",
    "factory": {
    "address": "5 Madison Avenue",
    "city": "New York",
    "contact": {
    "contactId": "contact_id",
    "email": "[email protected]",
    "mobileNumber": "1234567890",
    "name": "Contact Name",
    "telephoneNumber": "1234567890"
    },
    "country": "US",
    "localOrganizationId": "123",
    "localOrganizationIds": [
    "123",
    "ABC"
    ],
    "name": "Acme Corp",
    "organizationId": "3123123"
    },
    "inspectionDate": "2021-06-03 08:27:20.624000+00:00",
    "inspectionId": "123a456b-abcd-efgh-ijk1-a88aa05d7c86",
    "inspectionLocation": "null",
    "inspectionResult": "fail",
    "inspector": {
    "email": "string",
    "employeeId": "string",
    "id": "string",
    "mobileNumber": "string",
    "name": "string"
    },
    "isReferenceSample": "null",
    "opoNumber": "123-456",
    "oversightOffice": {
    "id": "111",
    "name": "Acme Oversight Office"
    },
    "pdfUrl": "https://.../.../.../.../case-number_123a456b-abcd-efgh-ijk1-a88aa05d7c86.pdf",
    "photos": [
    "string"
    ],
    "poNumber": "123-456-L001",
    "pos": [
    {
    "poNumber": "PO123"
    }
    ],
    "productCategories": [
    "string"
    ],
    "productLineId": "100991",
    "productLineName": "APPAREL",
    "productOrders": [
    "string"
    ],
    "productStyles": [
    {
    "assortments": [
    {
    "assortmentId": "string",
    "availableCartonQuantity": 0,
    "cartonQuantity": 0,
    "items": [
    {
    "availableQuantity": 0,
    "brandId": "brand_1",
    "brandName": "string",
    "classId": "class_id_1",
    "color": "string",
    "configuration": 0,
    "departmentId": "department_id_1",
    "id": "string",
    "itemId": "string",
    "purchaseOrders": [
    "string"
    ],
    "quantity": 0,
    "shipmentTerm": "shipment_term_1",
    "size": "string"
    }
    ]
    }
    ],
    "measurements": [
    {
    "caption": "string",
    "isPomCritical": "true",
    "pom": "string",
    "sizes": [
    {
    "measurement": "string",
    "size": "Medium"
    }
    ],
    "tolerance": "string",
    "toleranceLower": 1,
    "toleranceUpper": 1,
    "unit": "inch"
    }
    ],
    "productCategoryId": "product_category_1",
    "productCategoryName": "string",
    "solids": [
    {
    "availableCartonQuantity": 0,
    "availableQuantity": 0,
    "brandId": "brand_1",
    "brandName": "string",
    "cartonQuantity": 0,
    "casePackQuantity": 0,
    "classId": "class_id_1",
    "color": "string",
    "departmentId": "department_id_1",
    "id": "string",
    "itemId": "string",
    "purchaseOrders": [
    "string"
    ],
    "quantity": 0,
    "shipmentTerm": "shipment_term_1",
    "size": "string"
    }
    ],
    "styleId": "style_1",
    "styleName": "string"
    }
    ],
    "status": "completed",
    "systemUpdatedAt": "2021-06-03 08:27:21.316000+00:00",
    "tags": "null",
    "type": {
    "typeOfInspection": "FRI",
    "typeOfInspectionName": "Final Random Inspection"
    },
    "updatedDate": "2021-06-03 08:27:21.316000+00:00",
    "vendor": {
    "address": "5 Madison Avenue",
    "city": "New York",
    "contact": {
    "contactId": "contact_id",
    "email": "[email protected]",
    "mobileNumber": "1234567890",
    "name": "Contact Name",
    "telephoneNumber": "1234567890"
    },
    "country": "US",
    "localOrganizationId": "123",
    "localOrganizationIds": [
    "123",
    "ABC"
    ],
    "name": "Acme Corp",
    "organizationId": "3123123"
    },
    "workflowName": "DUPRO Apparel workflow"
    },
    "inspectionMeasurementDimensions": [
    {
    "color": "Blue/Pink",
    "dimensionId": "1a2b3c4d-1a2b-c1d2-b3b2-b76cd21e2a34__00537345__029-02-0590__XL__Blue/Pink__9999__0",
    "dimensionIndex": "0",
    "id": "029-02-0590",
    "inspectionId": "1a2b3c4d-1a2b-c1d2-b3b2-b76cd21e2a34",
    "itemId": "029-02-0590",
    "measurementDescription": "9999",
    "occurrences": "1",
    "organizationId": "200373",
    "samples": [
    {
    "name": "shirt_1",
    "value": 1.5
    }
    ],
    "size": "XXL",
    "skuIndex": "0",
    "standard": 10.5,
    "styleId": "123456",
    "tolerance": 2.1,
    "toleranceLower": 2.1,
    "toleranceUpper": 2.1,
    "unit": "cm"
    }
    ],
    "inspectionPhotos": [
    {
    "file": {
    "description": "photo_1",
    "fileType": "image",
    "rotateAngle": "0",
    "source": "https://.../.../.../1a2b3c4d-1a2b-1a2b-1a2b3c4d_eb77a158.jpg"
    },
    "groupId": "string",
    "inspectionId": "abcd1234-ab12-ab12-ab12-abcd1234efgh4568",
    "itemId": "02112-1851",
    "label": "string",
    "organizationId": "200373",
    "photoId": "string",
    "status": "string",
    "styleId": "123456",
    "type": "image"
    }
    ],
    "inspectionQuestions": [
    {
    "groupId": "7384b63c-bc99-43f0-b1b5-600959220e19_1e601f70-3c65-4ea8-931f-4976b9c91b3a",
    "inspectionId": "abcd1234-ab12-ab12-ab12-abcd1234efgh4568",
    "label": "Do we need to pull a Green sealed sample?",
    "options": [
    {
    "actions": [
    {
    "action": "request_picture",
    "value": "mandatory"
    }
    ],
    "failResponse": "false",
    "id": "chk__97",
    "selected": "true",
    "value": "YES"
    }
    ],
    "organizationId": "null",
    "questionId": "7384b63c-bc99-43f0-b1b5-600959220e19_5689d212-b001-4ad2-89c7-2c39654d4cc3_SyJivf3CA",
    "type": "null"
    }
    ],
    "inspectionRFID": [
    {
    "barcode": "123456",
    "code": "123",
    "decodedCode": "111",
    "id": "abc-def-123",
    "inspectionId": "abcd1234-ab12-ab12-ab12-abcd1234efgh4568",
    "matched": "true",
    "organizationId": "200373",
    "photos": [
    "string"
    ]
    }
    ],
    "inspectionResult": [
    {
    "groupName": "Check In",
    "includeInReport": "true",
    "inspectionId": "abcd1234-ab12-ab12-ab12-abcd1234efgh4568",
    "organizationId": "200373",
    "resultId": "7384b63c-bc99-43f0-b1b5-600959220e19_6e451830-1d61-4a14-a5e7-03ce20704f52",
    "status": "non-applicable"
    }
    ],
    "inspectionSampleSelection": [
    {
    "inspectionId": "abcd1234-ab12-ab12-ab12-abcd1234efgh4568",
    "organizationId": "200373",
    "sampleSelection": "13",
    "sampleSize": "13",
    "totalInspectionQuantity": "72"
    }
    ],
    "inspectionSampleSelectionSamples": [
    {
    "assortment": "solid",
    "assortmentQuantity": "50",
    "cartonPull": "3",
    "id": "111",
    "inspectionId": "abcd1234-ab12-ab12-ab12-abcd1234efgh4568",
    "itemId": "02112-1851",
    "itemOrderQuantity": "50",
    "organizationId": "200373",
    "sampleId": "00537345__solid__02112-1851",
    "samplePull": "9",
    "styleId": "123456",
    "styleOrderQuantity": "72"
    }
    ],
    "inspectionSpecialAttentionPoint": [
    {
    "attentionId": "remark-ee79693e-cd81-45df-af2e-1ee4628b4123-2020-01-15-14-25-13-182",
    "description": "This is a test",
    "group": "remark-ee79693e-cd81-45df-af2e-1ee4628b4123-2020-01-15-14-25-13-182",
    "inspectionId": "abcd1234-ab12-ab12-ab12-abcd1234efgh4568",
    "organizationId": "200373",
    "pictures": [
    {
    "rotateAngle": "0",
    "source": "https://.../image1.jpg"
    }
    ],
    "type": "remark"
    }
    ],
    "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"
    }
    ],
    "itemAttributes": [
    {
    "code": "GC Apparel",
    "items": [
    {
    "groupCode": "string",
    "itemId": "string",
    "styleId": "string"
    }
    ],
    "name": "Group Code Apparel",
    "type": "single_choice"
    }
    ]
    }
    }