InspectionCreationRequest
receiverCustomIdstringrequired
Example:
Retailer 01factoryCustomIdstringrequired
Example:
Factory 01inspectionTypeCodestringrequired
Example:
DUPROworkflowUuidstring<uuid>
Example:
6d857168-49a5-4951-a220-4bee2402f23cbookingTemplateUuidstring<uuid>
Example:
47a4114f-1ea6-42db-89df-b8640aa00a02inspectionData object[]required
Array [
internalIntegrationIdstringrequired
Example:
1A2BinspectedDatestring<date>required
Example:
2024-03-24opoNumberstringrequired
Example:
OPO_NumberitemIdstringrequired
Example:
Item Astylestring
Example:
Style 1Acolorstring
Example:
Redsizestring
Example:
SproductLineIdstring
productCategoryIdstring
inspectedQuantitystringrequired
Example:
100inspectorstring<email>required
defectstring
defectCommentstring
Example:
defectSectionstring
Possible values: [packaging, workmanship, measurement]
Example:
packagingoccurrencestring
Example:
2productionLinestring
Example:
Line A1shiftNumberstring
Example:
3resultstringrequired
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"
}
]
}