empty message if everything is working
Order created but factory not confirmed
received data couldn't pass validation, specific field will be given
Duplicate booking request found and this request is ignored.
failed to create the booking and error is returned
{- "userId": [
- "7CCBF38CD28F46C584CF530EE28F9AEF"
], - "serviceDate": [
- "19-Dec-2022"
], - "shipDate": [
- "20-Dec-2022"
], - "serviceType": [
- "1"
], - "bookingType": [
- "General, Textile, Fabric"
], - "previousOrderNumber": "string",
- "referenceNumber": [
- "Client own reference number"
], - "supplierId": "string",
- "supplierCode": "string",
- "supplierName": "string",
- "supplierContactName": "string",
- "supplierContactPhone": "string",
- "supplierContactEmail": "string",
- "supplierContinentID": "string",
- "supplierCountryID": "string",
- "supplierProvinceID": "string",
- "supplierCityID": "string",
- "supplierAddress": "string",
- "supplierProductLines": [
- "[\"bigCat1_s2\", \"bigCat1_s3\"]"
], - "supplierAlternateContactName": "string",
- "supplierAlternateContactPhone": "string",
- "supplierAlternateContactEmail": "string",
- "factoryCode": "string",
- "factoryName": "string",
- "factoryContactName": "string",
- "factoryContactPhone": "string",
- "factoryContactEmail": "string",
- "factoryContinentID": "string",
- "factoryCountryID": "string",
- "factoryProvinceID": "string",
- "factoryCityID": "string",
- "factoryAddress": "string",
- "factoryPostCode": "string",
- "factoryProductLines": [
- "[\"bigCat1_s2\", \"bigCat1_s3\"]"
], - "factoryAlternateContactName": "string",
- "factoryAlternateContactPhone": "string",
- "factoryAlternateContactEmail": "string",
- "products": [
- {
- "name": "string",
- "categoryId": "string",
- "familyId": "string",
- "typeId": "string",
- "prodReference": "string",
- "prodDivision": [
- "Womenswear"
], - "poNumber": "string",
- "prodQuantity": 0,
- "expectedFinishedPct": [
- 90
], - "expectedPackedPct": [
- 100
], - "unitPacking": "string",
- "outerPacking": "string",
- "sampleReferenceClientComments": "string",
- "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "refs": [
- {
- "poNumber": "string",
- "skuCode": "string",
- "qty": 0,
- "brand": "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"
}
], - "checkList": {
- "prodSampleLevel": [
- "I, II"
], - "prodSampleSize": [
- 125
], - "aqlCritical": [
- "0"
], - "aqlMajor": [
- "1"
], - "aqlMinor": [
- "3"
], - "prodMeasurementSampleSize": [
- 20
], - "prodMeasurementSampleLevel": [
- "S3"
]
}
}
], - "customField1": "string",
- "customField2": "string",
- "customField3": "string",
- "performInQimaone": [
- 0
]
}
{- "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"
}, - "multiOrderSuppliers": [
- {
- "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"
}
], - "multiOrderFactories": [
- {
- "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"
}
], - "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
}
]
}