Skip to main content

InspectionCreationRequest

receiverCustomIdstringrequired
Example: Retailer 01
factoryCustomIdstringrequired
Example: Factory 01
inspectionTypeCodestringrequired
Example: DUPRO
workflowUuidstring<uuid>
Example: 6d857168-49a5-4951-a220-4bee2402f23c
bookingTemplateUuidstring<uuid>
Example: 47a4114f-1ea6-42db-89df-b8640aa00a02
inspectionData object[]required
  • Array [
  • internalIntegrationIdstringrequired
    Example: 1A2B
    inspectedDatestring<date>required
    Example: 2024-03-24
    opoNumberstringrequired
    Example: OPO_Number
    itemIdstringrequired
    Example: Item A
    stylestring
    Example: Style 1A
    colorstring
    Example: Red
    sizestring
    Example: S
    productLineIdstring
    productCategoryIdstring
    inspectedQuantitystringrequired
    Example: 100
    inspectorstring<email>required
    defectstring
    defectCommentstring
    Example:
    defectSectionstring

    Possible values: [packaging, workmanship, measurement]

    Example: packaging
    occurrencestring
    Example: 2
    productionLinestring
    Example: Line A1
    shiftNumberstring
    Example: 3
    resultstringrequired

    Possible values: [pass, fail]

    Example: fail
  • ]
  • InspectionCreationRequest
    {
    "receiverCustomId": "Retailer 01",
    "factoryCustomId": "Factory 01",
    "inspectionTypeCode": "DUPRO",
    "workflowUuid": "6d857168-49a5-4951-a220-4bee2402f23c",
    "bookingTemplateUuid": "47a4114f-1ea6-42db-89df-b8640aa00a02",
    "inspectionData": [
    {
    "internalIntegrationId": "1A2B",
    "inspectedDate": "2024-03-24",
    "opoNumber": "OPO_Number",
    "itemId": "Item A",
    "style": "Style 1A",
    "color": "Red",
    "size": "S",
    "productLineId": "string",
    "productCategoryId": "string",
    "inspectedQuantity": "100",
    "inspector": "[email protected]",
    "defect": "string",
    "defectComment": "",
    "defectSection": "packaging",
    "occurrence": "2",
    "productionLine": "Line A1",
    "shiftNumber": "3",
    "result": "fail"
    }
    ]
    }