curl -i -X GET \ 'https://qa-web-02.qima.com/user/{userId}/inspection-order/{orderId}'
{- "draft": {
- "draftId": "string",
- "isAnOrderNotADraft": true,
- "draftSteps": [
- {
- "current": true,
- "done": true,
- "label": "string",
- "visited": true
}
]
}, - "orderGeneralInfo": {
- "orderId": "string",
- "orderPlacer": "string",
- "status": [
- "5, 20, 30, 40, 60"
], - "statusText": [
- "DRAFT, WAITING_FOR_VALIDATION, FINISHED"
], - "serviceType": [
- "1, 2, 3, 4, 6"
], - "serviceTypeText": [
- "PSI, IPC, DUPRO, CLC, PM"
], - "bookingDate": [
- "05-Sep-2022"
], - "bookingDateUnixTimestamp": [
- 1662652800000
], - "orderNumber": [
- "R-Cloud-1111111"
], - "companyId": [
- "D1242F42B10E4B099038D4878174877E"
], - "userId": [
- "D1242F42B10E4B099038D4878174877E"
], - "parentCompanyId": [
- "D1242F42B10E4B099038D4878174877E"
], - "allowChangeInspectionDate": true,
- "supplierValidateCode": [
- "123456"
], - "clientRefNb": "string",
- "expectedInspectionDate": [
- "05-Sep-2022"
], - "expectedInspectionDateUnixTimestamp": [
- 1662652800000
], - "actualInspectionDate": [
- "05-Sep-2022"
], - "actualInspectionDateUnixTimestamp": [
- 1662652800000
], - "expectedShipDate": [
- "05-Sep-2022"
], - "expectedShipDateUnixTimestamp": [
- 1662652800000
], - "bookFromPreOrder": [
- "D1242F42B10E4B099038D4878174877E"
], - "copyAllMailTo": [
- "a@a.com;b@b.com;c@c.com"
], - "copyReportMailTo": [
- "a@a.com;b@b.com;c@c.com"
], - "inspectionMethod": {
- "id": "string",
- "classification": "string",
- "key": "string",
- "value": "string",
- "text": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "sequence": 0
}, - "container20": 0,
- "container40": 0,
- "container40HQ": 0,
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "performInQimaone": [
- 0
], - "lcnumber": "string",
- "confirmed": true,
- "icneeded": true,
- "lcappName": "string",
- "lcappAddress": "string",
- "lcbeneName": "string",
- "lcbeneAddress": "string"
}, - "orderExtra": {
- "orderId": "string",
- "cancelable": [
- false
], - "editable": [
- false
], - "isReInspection": [
- false
], - "followUp": [
- false
], - "originalNbReinsp": [
- "R-Cloud-123456"
], - "reInspectionInstruction": [
- "R-Cloud-123456"
], - "nbOfInspectors": 0,
- "prevOrderType": "string",
- "prevOrderStatus": [
- "OPEN or CLOSED"
], - "prevServiceDate": "2019-08-24T14:15:22Z",
- "prevServiceDateText": "string",
- "multiSupplierOrder": true,
- "quickBooking": true
}, - "orderFactory": {
- "id": "string",
- "factoryId": "string",
- "factoryCode": "string",
- "factoryName": "string",
- "factoryNameCN": "string",
- "factoryMGRName": "string",
- "factoryMGRMobile": "string",
- "factoryMGRNumber": "string",
- "factoryMGREmail": [
- "string"
], - "factoryOtherMobile": "string",
- "factoryOtherName": "string",
- "factoryOtherNumber": "string",
- "factoryOtherEmail": [
- "string"
], - "factoryAddress": "string",
- "factoryCity": "string",
- "factoryProvince": "string",
- "factoryCountry": "string",
- "factoryContinent": "string",
- "factoryPostCode": "string",
- "factoryProductLines": [
- "string"
], - "nbOfWorkers": 0,
- "isMutiLocation": true,
- "ext1": "string",
- "ext2": "string",
- "ext3": "string",
- "factoryCityId": "string"
}, - "orderSupplier": {
- "orderId": "string",
- "id": "string",
- "supplierCode": "string",
- "supplierName": "string",
- "supplierNameCN": "string",
- "supplierMGRName": "string",
- "supplierMGRMobile": "string",
- "supplierMGRNumber": "string",
- "supplierMGREmail": [
- "string"
], - "supplierOtherName": "string",
- "supplierOtherMobile": "string",
- "supplierOtherNumber": "string",
- "supplierOtherEmail": [
- "string"
], - "supplierAddress": "string",
- "supplierCity": "string",
- "supplierPostCode": "string",
- "supplierCountry": "string",
- "supplierContinentID": "string",
- "supplierProductLines": [
- "string"
], - "supplierId": "string",
- "ext1": "string",
- "ext2": "string",
- "ext3": "string",
- "isActive": "string"
}, - "orderPrice": {
- "orderId": "string",
- "draftId": "string",
- "totalManday": 0,
- "totalCharge": 0,
- "totalMandayByClient": 0,
- "inspectionChargeType": [
- "Per man day, per PO, per QC unit"
], - "totalInspectionUnit": 0,
- "inspUnitPrice": 0,
- "inspectionCharge": 0,
- "expressBookingFee": 0,
- "totalQuantity": 0,
- "sampleLevel": [
- "II"
], - "sampleSizeUnit": [
- "pcs"
], - "sampleSizeTotal": [
- 300
], - "measurementSampleLevel": [
- "S4"
], - "measurementSampleQuantity": [
- 50
], - "fabricSampleLevel": [
- "I"
], - "nbOfContainers": 0,
- "sampleCollectionRequestByClient": true,
- "sampleCharge": 0,
- "sampleCollectionRate": 0,
- "nbOfExtraReports": 0,
- "extraReportRate": 0,
- "extraReportCharge": 0,
- "pointsQtyToInspect": 0,
- "taxAmount": 0,
- "otherAuditRate": 0,
- "countryNb": 0,
- "optionalQuantity": 0,
- "optionalUnitPrice": 0,
- "optionalCharge": 0,
- "otherChargeName": "string",
- "factoryWorkers": "string",
- "auditNbOfMDBookedByClient": 0,
- "auditUnitPrice": 0,
- "auditPrice": 0,
- "nbOfMDSpent": 0,
- "mdRequested": 0,
- "sampleCollectedAndSentByAI": [
- false
], - "otherCharge": 0,
- "offlineCharge": 0,
- "productPriceMandayViews": [
- {
- "productId": "string",
- "productName": "string",
- "draftProductId": "string",
- "productManday": 0,
- "inspUnitPrice": 0,
- "sampleLevel": "string",
- "sampleSizeUnit": "string",
- "mdNb": 0,
- "mdp": 0,
- "aqlQuantityLog": 0,
- "sampleSize": 0,
- "maxRefPerMD": 0,
- "normalCurrentMd": 0,
- "mdPerRef": 0,
- "aqlQuantity": 0,
- "nbPerMd": 0,
- "maxNbPerMd": 0,
- "fabricSampleLevel": "string",
- "totalFabricLength": 0,
- "rightFabricLength": 0,
- "sampleLevelWorkManShip": "string",
- "sampleLevelMeasurement": "string",
- "totalSampleSizeWorkManShip": 0,
- "totalSampleSizeMeasurement": 0,
- "mdByMeasurementLog": 0,
- "measurementAqlQuantityLog": 0,
- "totalMeasurementAqlLog": 0,
- "nbMeasurementPerMdLog": 0,
- "prodRefAqlSampleViews": [
- {
- "draftId": "string",
- "productId": "string",
- "productRefId": "string",
- "aqlCritical": "string",
- "aqlMajor": "string",
- "aqlMinor": "string",
- "measurementAql": "string",
- "fabricSampleLevel": "string",
- "sampleLevel": "string",
- "measurementSampleLevel": "string",
- "sampleSize": 0,
- "measurementSampleSize": 0,
- "totalMeasurements": 0,
- "quantity": 0,
- "quantityUnit": "string",
- "manDay": 0,
- "bookingType": "string",
- "poNumber": "string",
- "skuNumber": "string",
- "seqNumber": "string",
- "fabricMaxPenalty": 0,
- "fabricMaxAverage": 0,
- "fabricMaxPenaltyUnit": "string",
- "fabricMaxAverageUnit": "string"
}
]
}
], - "orderChargeItemVos": [
- {
- "chargeType": {
- "id": "string",
- "classification": "string",
- "key": "string",
- "value": "string",
- "text": "string",
- "description": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "sequence": 0
}, - "orderChargeItem": {
- "id": "string",
- "orderId": "string",
- "chargeTypeId": "string",
- "charge": 0,
- "comments": "string",
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "createBy": "string",
- "updateBy": "string",
- "rate": 0,
- "multiplier": 0
}
}
]
}, - "products": [
- {
- "draftProductId": "string",
- "draftId": "string",
- "productBean": {
- "orderId": "string",
- "productId": "string",
- "seq": 0,
- "maxPcsPerMD": 0,
- "maxRefPerMD": 0,
- "maxPtsPerMD": 0,
- "nbOfRefInReport": 0,
- "prodCategoryClient": [
- "bigCat2"
], - "prodFamilyClient": [
- "bigCat2_s2"
], - "prodType": [
- "bigCat2_s2_t200"
], - "isReinspection": "string",
- "preInspection": "string",
- "preInspectionDate": [
- "09-Feb-2017"
], - "preInspectionDateUnitTimeStamp": [
- 1662652800000
], - "reinspectionComment": "string",
- "prodName": "string",
- "prodDivision": [
- "Womenswear"
], - "prodReference": "string",
- "prodQuantity": [
- 1000
], - "prodQuantityUnit": [
- "pcs"
], - "otherUnit": [
- "pcs"
], - "nbOfPcsPerSets": 0,
- "nbOfPtsPerSets": 0,
- "poNumber": "string",
- "prodApparelCategory": [
- "Accessories"
], - "numberOfReferences": [
- 6
], - "bookingtype": [
- "General, Textile, Fabric"
], - "expectedFinishedPct": [
- 90
], - "expectedPackedPct": [
- 100
], - "setsDescription": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "productRefs": [
- {
- "id": "string",
- "productId": "string",
- "brand": "string",
- "prodRefSeq": [
- "1,2,3"
], - "prodRefPoNb": [
- "6111_20-CACTD3S-0048_QCB2012-000333"
], - "prodRefSkuNb": [
- "2568442"
], - "prodRefQuantity": [
- 200
], - "supplierId": "string",
- "supplierName": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "customField4": "string",
- "customField5": "string",
- "customField6": "string",
- "customField7": "string",
- "customField8": "string",
- "customField9": "string",
- "customField10": "string",
- "customField11": "string",
- "customField12": "string"
}
]
}, - "productChecklistBean": {
- "productId": "string",
- "checklistFrom": "string",
- "clientChecklistId": "string",
- "checklistNumber": "string",
- "clientComments": "string",
- "prodSampleLevel": [
- "I, II"
], - "prodMeasurementSampleLevel": "string",
- "aqlTypel": [
- "Customized"
], - "aqlCritical": [
- "0"
], - "aqlMajor": [
- "1"
], - "aqlMinor": [
- "3"
], - "prodSampleSize": [
- 125
], - "prodMeasurementSampleSize": [
- 20
], - "prodMd": 0,
- "measurementAQL": "string",
- "fabricSampleLevel": "string",
- "fabricMaxPenalty": 0,
- "fabricMaxAverage": 0,
- "fabricMaxPenaltyUnit": "string",
- "fabricMaxAverageUnit": "string",
- "performClientTestsOnly": "string",
- "performClientTestsOnlyBoolean": true,
- "defectList": [
- {
- "id": "string",
- "productId": "string",
- "defectId": "string",
- "publicDefectId": "string",
- "isPublic": true,
- "selectedBy": 0,
- "defectName": "string",
- "expectedDefect": "string",
- "classification": "string",
- "fileId": "string",
- "fileName": "string",
- "originDefectId": "string"
}
], - "testList": [
- {
- "id": "string",
- "productId": "string",
- "testId": "string",
- "publicTestId": "string",
- "isPublic": true,
- "selectedBy": 0,
- "testName": "string",
- "instructionTest": "string",
- "expectedResult": "string",
- "sampleLevel": "string",
- "sampleSize": "string",
- "fileId": "string",
- "fileName": "string",
- "originTestId": "string"
}
], - "bookingType": "string",
- "prodQuantity": 0,
- "prodQuantityUnit": [
- "pcs"
], - "otherUnit": "string",
- "productAqlList": [
- {
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "createBy": "string",
- "updateBy": "string",
- "accessTime": "2019-08-24T14:15:22Z",
- "params": {
- "property1": { },
- "property2": { }
}, - "id": "string",
- "productId": "string",
- "productReferenceId": "string",
- "prodSampleLevel": "string",
- "prodMeasurementSampleLevel": "string",
- "aqlType": "string",
- "aqlCritical": "string",
- "aqlCriticalText": "string",
- "aqlMajor": "string",
- "aqlMajorText": "string",
- "aqlMinor": "string",
- "aqlMinorText": "string",
- "prodSampleSize": 0,
- "prodMeasurementSampleSize": 0,
- "prodMd": 0,
- "measurementAQL": "string",
- "measurementAqlText": "string",
- "fabricSampleLevel": "string",
- "fabricMaxPenalty": 0,
- "fabricMaxAverage": 0,
- "fabricMaxPenaltyUnit": "string",
- "fabricMaxAverageUnit": "string",
- "performClientTestsOnly": "string",
- "criticalFound": 0,
- "majorFound": 0,
- "minorFound": 0,
- "criticalChecked": 0,
- "majorChecked": 0,
- "minorChecked": 0,
- "criticalMax": 0,
- "majorMax": 0,
- "minorMax": 0,
- "criticalAllowedDefectFrom": 0,
- "criticalAllowedDefectTo": 0,
- "majorAllowedDefectFrom": 0,
- "majorAllowedDefectTo": 0,
- "minorAllowedDefectFrom": 0,
- "minorAllowedDefectTo": 0,
- "inspResult": "string",
- "defectDescFound": "string",
- "comments": "string",
- "seq": 0,
- "bookingType": "string",
- "prodQuantity": 0,
- "prodQuantityUnit": "string",
- "otherUnit": "string",
- "measurementFound": 0,
- "measurementMax": 0,
- "measurementChecked": 0,
- "customizedAql": "string",
- "customizedAqlText": "string",
- "customizedAqlAllowedDefectFrom": 0,
- "customizedAqlAllowedDefectTo": 0,
- "customizedAqlFound": 0,
- "customizedAqlMax": 0,
- "customizedAqlChecked": 0,
- "aqlFlag": 0
}
], - "customizedAql": "string",
- "customizedAqlText": "string"
}, - "sampleCollection": {
- "id": "string",
- "productId": "string",
- "collectSample": 0,
- "sampleNb": 0,
- "sampleUnit": "string",
- "sampleBy": 0,
- "collectMethod": 0,
- "courier": "string",
- "trackNb": "string",
- "address": "string",
- "postcode": "string",
- "clientComments": "string",
- "collectLtSample": 0,
- "ltSampleNb": 0,
- "ltClientComments": "string",
- "ltSampleRefNb": "string",
- "clientAccountNumber": "string",
- "productName": "string"
}, - "sampleReference": {
- "id": "string",
- "reference": 0,
- "courier": "string",
- "trackNb": "string",
- "clientComments": "string",
- "productId": "string"
}, - "productSpec": {
- "productId": "string",
- "nbOfPoints": 0,
- "logoDes": "string",
- "performDropTest": true,
- "unitPacking": "string",
- "innerPacking": "string",
- "outerPacking": "string",
- "packingComments": "string",
- "shippingMarks": "string",
- "nbOfRawMaterials": 0,
- "rawMaterialsDes": "string",
- "clcNbOfPallets": 0,
- "clcNbOfCartons": 0,
- "clcNbOfPcsPerCarton": 0,
- "clcNumberingFrom": "string",
- "clcNumberingTo": "string",
- "additionalComment": "string",
- "productColors": [
- {
- "id": "string",
- "productId": "string",
- "seq": 0,
- "colorDes": "string"
}
], - "productTextileColors": [
- {
- "id": "string",
- "productId": "string",
- "seq": 0,
- "colorRef": "string",
- "colorCode": "string",
- "colorQuantity": "string"
}
], - "productDimensions": [
- {
- "productId": "string",
- "id": "string",
- "seq": 0,
- "dimensionDes": "string"
}
]
}, - "completed": true
}
]
}