QIMA Logo
API Reference

8 categories • 44 endpoints

  • All APIs

    44


  • Inspection
    v1.0.0

    Create an inspection booking

    Request

    Request Body

    Content-Type: application/json

    FieldTypeRequiredDescription
    userIdstringYes
    QIMA client user id
    serviceDatestringYes
    Planed inspection date, format should be in dd-MMM-yyyy
    shipDatestringYes
    Planed shipment date, format should be in dd-MMM-yyyy
    serviceTypestringYes
    QIMA inspection service type, mandatory if previousOrderNumber not provided. Here is the mapping, 1: PSI (Pre-Shipment Inspection), 2: IPC (Initial Production Check), 3: DUPRO (During Production Inspection) , 4: CLC (Container Loading Check), 6: PM (Production Monitoring), 8: SR (Sample Review), 21: SC (Sample Collection)
    Enum: "1", "2", "3", "4", "6", "7", "8", "21"
    bookingTypestringYes
    QIMA inspection type
    previousOrderNumberstringNo
    Previous QIMA inspection reference R-Cloud number, must provide a valid R-Cloud number if it's re-inspection, example value: R-Cloud-xxxx
    referenceNumberstringNo
    Client reference number
    supplierIdstringNo
    QIMA supplier id
    supplierCodestringNo
    Supplier's identification code in client's system, mandatory when supplier name, city id, contact not provided, and must be a valid code
    supplierNamestringNo
    Mandatory when supplier code is not provided
    supplierContactNamestringNo
    Mandatory when supplier code is not provided
    supplierContactPhonestringNo
    Mandatory when supplier code is not provided
    supplierContactEmailstringNo
    Mandatory when supplier code is not provided
    supplierContinentIDstringNo
    Supplier's continent id in QIMA's system, refer to /parameter/v2/continents. Mandatory when supplier code is not provided
    supplierCountryIDstringNo
    Supplier's country id in QIMA's system, refer to /parameter/v2/countries, /parameter/v2/countries or /parameter/v2/continent/{continentId}/countries. Mandatory when supplier code is not provided
    supplierProvinceIDstringNo
    Supplier's Province id in QIMA's system, refer to /parameter/v2/country/{countryId}/provinces. Mandatory when supplier code is not provided
    supplierCityIDstringNo
    Supplier's city id in QIMA's system, refer to /parameter/v2/country/{countryId}/searchCities, /parameter/v2/province/{provinceId}/searchCities or /parameter/v2/country/{countryId}/cities. Mandatory when supplier code is not provided
    supplierAddressstringNo
    Mandatory when supplier code is not provided
    supplierProductLinesarrayNo
    Mandatory when supplier code is not provided, get product line from /parameter/v2/product-families API
    supplierAlternateContactNamestringNo
    Supplier's alternative contact name
    supplierAlternateContactPhonestringNo
    Supplier's alternative contact telephone
    supplierAlternateContactEmailstringNo
    Supplier's alternative contact email
    factoryCodestringNo
    Factory's identification code in client's system, mandatory when auto confirm factory is needed and factory other info are not provided
    factoryNamestringNo
    Mandatory when auto confirm factory is needed and factory code is not provided
    factoryContactNamestringNo
    Mandatory when auto confirm factory is needed and factory code is not provided
    factoryContactPhonestringNo
    Mandatory when auto confirm factory is needed and factory code is not provided
    factoryContactEmailstringNo
    Mandatory when auto confirm factory is needed and factory code is not provided
    factoryContinentIDstringNo
    Factory's continent id in QIMA's system, refer to /parameter/v2/continents. Mandatory when auto confirm factory is needed and factory code is not provided
    factoryCountryIDstringNo
    Factory's country id in QIMA's system, refer to /parameter/v2/countries. Mandatory when auto confirm factory is needed and factory code is not provided
    factoryProvinceIDstringNo
    Factory's province id in QIMA's system, refer to /parameter/v2/country/{countryId}/provinces. Mandatory when auto confirm factory is needed and factory code is not provided
    factoryCityIDstringNo
    Factory's city id in QIMA's system, refer to /parameter/v2/country/{countryId}/searchCities. Mandatory when auto confirm factory is needed and factory code is not provided
    factoryAddressstringNo
    Mandatory when auto confirm factory is needed and factory code is not provided
    factoryPostCodestringNo
    Mandatory when auto confirm factory is needed and factory code is not provided
    factoryProductLinesarrayNo
    Mandatory when auto confirm factory is needed and factory code is not provided, get product line from /parameter/v2/product-families API
    factoryAlternateContactNamestringNo
    Name of the alternative factory contact
    factoryAlternateContactPhonestringNo
    Telephone of the alternative factory contact
    factoryAlternateContactEmailstringNo
    Email of the alternative factory contact
    productsarrayYes
    products[].namestringNo
    Name of the inspection product
    products[].categoryIdstringNo
    Product category id, refer to /parameter/v2/product-categories
    products[].familyIdstringNo
    Product family id, refer to /parameter/v2/product-families
    products[].typeIdstringNo
    Product type id, refer to /parameter/v2/product-types
    products[].prodReferencestringNo
    Product level product reference, please leave this empty when multi-reference booking is enabled in account level
    products[].prodDivisionstringNo
    Division name that this product belongs to in client's company
    products[].poNumberstringNo
    Product level PO number, please leave this empty when multi-reference booking is enabled in account level and fill po number under refs
    products[].prodQuantityintegerNo
    Product level product quantity, please leave this empty when multi-reference booking is enabled in account level and fill product quantity under refs
    products[].expectedFinishedPctintegerNo
    Percentage of the expected production finished productions for inspection
    products[].expectedPackedPctintegerNo
    Percentage of the expected packed production for inspection
    products[].unitPackingstringNo
    Optional field in the product level to define unit packing comments
    products[].outerPackingstringNo
    Optional field in the product level to define outer packing comments
    products[].sampleReferenceClientCommentsstringNo
    Optional field in the product level to define sample comments
    products[].customField1stringNo
    Product level custom field 1 depends on use case
    products[].customField2stringNo
    Product level custom field 2 depends on use case
    products[].customField3stringNo
    Product level custom field 3 depends on use case
    products[].refsarrayNo
    Product reference level info, used when multi-reference booking is enabled in account level
    products[].refs[].poNumberstringNo
    Reference level PO number, fill this when multi-reference booking is enabled in account level
    products[].refs[].skuCodestringNo
    Reference level SKU code, fill this when multi-reference booking is enabled in account level
    products[].refs[].qtyintegerYes
    Reference level product quantity, fill this when multi-reference booking is enabled in account level
    products[].refs[].brandstringNo
    Reference level brand name, fill this when multi-reference booking is enabled in account level
    products[].refs[].customField1stringNo
    Product level custom field 1 depends on use case
    products[].refs[].customField2stringNo
    Product level custom field 2 depends on use case
    products[].refs[].customField3stringNo
    Product level custom field 3 depends on use case
    products[].refs[].customField4stringNo
    Product level custom field 4 depends on use case
    products[].refs[].customField5stringNo
    Product level custom field 5 depends on use case
    products[].refs[].customField6stringNo
    Product level custom field 6 depends on use case
    products[].refs[].customField7stringNo
    Product level custom field 7 depends on use case
    products[].refs[].customField8stringNo
    Product level custom field 8 depends on use case
    products[].refs[].customField9stringNo
    Product level custom field 9 depends on use case
    products[].refs[].customField10stringNo
    Product level custom field 10 depends on use case
    products[].refs[].customField11stringNo
    Product level custom field 11 depends on use case
    products[].refs[].customField12stringNo
    Product level custom field 12 depends on use case
    products[].checkListobjectNo
    products[].checkList.prodSampleLevelstringNo
    Product sample level
    products[].checkList.prodSampleSizeintegerNo
    Product sample size
    products[].checkList.aqlCriticalstringNo
    Allowed AQL in critical level
    products[].checkList.aqlMajorstringNo
    Allowed AQL in major level
    products[].checkList.aqlMinorstringNo
    Allowed AQL in minor level
    products[].checkList.prodMeasurementSampleSizeintegerNo
    Product measurement sample size
    products[].checkList.prodMeasurementSampleLevelstringNo
    Product measurement sample level
    customField1stringNo
    Order level custom field 1 depends on use case
    customField2stringNo
    Order level custom field w depends on use case
    customField3stringNo
    Order level custom field 3 depends on use case
    performInQimaoneintegerNo
    Inspection perform platform type, 0: Within QSP, 1: In QIMAone from QSP, 2: In QIMAone from QIMAone
    Responses

    200
    Inspection booking created successfully. Returns the booking confirmation details.

    Content-Type: application/json

    draft
    object
    FieldTypeDescription
    draftIdstringId of the booking draft
    isAnOrderNotADraftbooleanIndicate is this booking is in editing status. Draft means the booking is being edited.
    draftStepsarrayCan be ignored
    draftSteps[].currentboolean
    draftSteps[].doneboolean
    draftSteps[].labelstring
    draftSteps[].visitedboolean
    FieldTypeDescription
    orderIdstringOrder id, primary key of the inspection order
    orderPlacerstringThe username of account who placed the booking
    statusstringOrder status value of the booking, mapping between value and text are 5=DRAFT, 20=WAITING_FOR_VALIDATION, 21=WAITING_FOR_MORE_INF, 25=WAITING_FOR_FEEDBACK, 30=WAITING_FOR_ALLOCATION, 40=WAITING_FOR_INSPECTION, 50=WAITING_FOR_REPORT_VALIDATION, 60=FINISHED, 70=CANCELLED, 80=SERVICE_CUT
    statusTextstringOrder status text of the booking
    serviceTypestringQIMA inspection service type value 1: PSI (Pre-Shipment Inspection), 2: IPC (Initial Production Check), 3: DUPRO (During Production Inspection) , 4: CLC (Container Loading Check), 6: PM (Production Monitoring), 8: SR (Sample Review), 21: SC (Sample Collection)
    serviceTypeTextstringQIMA inspection service type text
    bookingDatestringDate of the inspection booking is placed, in format dd-MMM-yyyy
    bookingDateUnixTimestampintegerDate of the inspection booking is placed in unix timestamp
    orderNumberstringQIMA booking order number, like R-Cloud-xx
    companyIdstringCompany id in QIMA system
    userIdstringQIMA client user id
    parentCompanyIdstringParent company id in QIMA system
    allowChangeInspectionDatebooleanIndicate if in this order is supplier is allowed to change inspection date
    supplierValidateCodestringCode for supplier to fill when confirming inspection date and location via link in confirmation email
    clientRefNbstringReference number client can use for referencing with QIMA's inspection booking
    expectedInspectionDatestringOriginal expected inspection date from client, in dd-MMM-yyyy format
    expectedInspectionDateUnixTimestampintegerOriginal expected inspection date from client, in unix timestamp format
    actualInspectionDatestringActual inspection date confirmed with factory, in dd-MMM-yyyy format
    actualInspectionDateUnixTimestampintegerActual inspection date confirmed with factory, in unix timestamp format
    expectedShipDatestringOriginal expected shipment date from client, in dd-MMM-yyyy format
    expectedShipDateUnixTimestampintegerOriginal expected shipment date from client, in unix timestamp format
    bookFromPreOrderstringPrevious inspection booking id, need to provide when place re-inspection
    copyAllMailToarrayEmail addresses that all email related to order and reports will be copied to
    copyReportMailToarrayEmail addresses that all report related to order and reports will be copied to
    inspectionMethodobject
    inspectionMethod.idstringId of this system parameter
    inspectionMethod.classificationstringType of this system parameter
    inspectionMethod.keystringKey name of this system parameter
    inspectionMethod.valuestringValue name of this system parameter
    inspectionMethod.textstringDisplaying name of this system parameter
    inspectionMethod.descriptionstringDisplaying description of this system parameter
    inspectionMethod.createTimestringCreation time of this system parameter
    inspectionMethod.updateTimestringUpdate time of this system parameter
    inspectionMethod.sequenceintegerSequence of this system parameter when under same classification
    container20integerNumber of containers (20 inches) - for Container Loading Check (CLC) only
    container40integerNumber of containers (40 inches) - for Container Loading Check (CLC) only
    container40HQintegerNumber of containers (60 inches) - for Container Loading Check (CLC) only
    customField1stringCustom field 1 depends on use case
    customField2stringCustom field 2 depends on use case
    customField3stringCustom field 3 depends on use case
    performInQimaoneintegerInspection perform platform type, 0: Within QSP, 1: In QIMAone from QSP, 2: In QIMAone from QIMAone
    lcnumberstring
    confirmedboolean
    icneededboolean
    lcappNamestring
    lcappAddressstring
    lcbeneNamestring
    lcbeneAddressstring
    FieldTypeDescription
    orderIdstringOrder id, primary key of the inspection order
    cancelablebooleanIndicate currently if this booking can be cancelled
    editablebooleanIndicate currently if this booking can be modified
    isReInspectionbooleanIndicate if this inspection is re-inspection
    followUpbooleanIndicate if audit is a follow-up audit, when this booking is an audit booking
    originalNbReinspstringThe original order number if this booking is an re-inspection
    reInspectionInstructionstringThe original order number if this booking is an re-inspection
    nbOfInspectorsintegerInspectors count assigned to this inspection
    prevOrderTypestringPrevious service type
    prevOrderStatusstringPrevious order status
    prevServiceDatestringPrevious service date
    prevServiceDateTextstringPrevious service date, the value could be "Confidential", date, or a time window.
    multiSupplierOrderboolean
    quickBookingboolean
    FieldTypeDescription
    idstringId of the factory in this booking
    factoryIdstringId of the factory in client's account
    factoryCodestringFactory's identification code in client's system
    factoryNamestringName of the factory
    factoryNameCNstringChinese name of the factory
    factoryMGRNamestringName of the factory contact
    factoryMGRMobilestringMobile phone number of the factory contact
    factoryMGRNumberstringTelephone phone number of the factory contact
    factoryMGREmailarrayEmails of the the factory contact
    factoryOtherMobilestringMobile phone of the alternative factory contact
    factoryOtherNamestringName of the alternative factory contact
    factoryOtherNumberstringTelephone number of the alternative factory contact
    factoryOtherEmailarrayEmails of the the alternative factory contact
    factoryAddressstringAddress of the factory
    factoryCitystringCity of the factory
    factoryProvincestringProvince of the factory
    factoryCountrystringCountry of the factory
    factoryContinentstringContinent of the factory
    factoryPostCodestringPost code of the factory
    factoryProductLinesarrayProduct lines of the factory
    nbOfWorkersintegerNumber of the workers in the factory
    isMutiLocationbooleanIndicate if this inspection needs to be done in multiple factories
    ext1stringCustomer fields 1 of the factory info in this booking
    ext2stringCustomer fields 2 of the factory info in this booking
    ext3stringCustomer fields 3 of the factory info in this booking
    factoryCityIdstringCity id of the factory in QIMA system
    FieldTypeDescription
    orderIdstringId of the order
    idstringId of the supplier in this booking
    supplierCodestringSupplier's identification code in client's system
    supplierNamestringName of the supplier
    supplierNameCNstringChinese name of the factory
    supplierMGRNamestringName of the factory contact
    supplierMGRMobilestringMobile phone number of the factory contact
    supplierMGRNumberstringTelephone phone number of the factory contact
    supplierMGREmailarrayEmails of the the factory contact
    supplierOtherNamestringName of the alternative factory contact
    supplierOtherMobilestringMobile phone of the alternative factory contact
    supplierOtherNumberstringTelephone number of the alternative factory contact
    supplierOtherEmailarrayEmails of the the alternative factory contact
    supplierAddressstringAddress of the factory
    supplierCitystringCity of the factory
    supplierPostCodestringPost code of the factory
    supplierCountrystringCountry of the factory
    supplierContinentIDstringContinent id of the factory in QIMA system
    supplierProductLinesarrayProduct lines of the factory
    supplierIdstringId of the supplier in client's account
    ext1stringCustomer fields 1 of the factory info in this booking
    ext2stringCustomer fields 2 of the factory info in this booking
    ext3stringCustomer fields 3 of the factory info in this booking
    isActivestringIndicate if this supplier still can be selected for service
    FieldTypeDescription
    FieldTypeDescription
    FieldTypeDescription
    draftProductIdstringId of the product id in this booking booking draft
    draftIdstringId of the inspection booking draft
    productBeanobject
    productBean.orderIdstringOrder id of this product in this booking
    productBean.productIdstringId of this product
    productBean.seqintegerSequence of this product
    productBean.maxPcsPerMDinteger
    productBean.maxRefPerMDinteger
    productBean.maxPtsPerMDinteger
    productBean.nbOfRefInReportinteger
    productBean.prodCategoryClientstringProduct category selected by client while booking
    productBean.prodFamilyClientstringProduct family selected by client while booking
    productBean.prodTypestringProduct type decided by client while booking
    productBean.isReinspectionstringIf this inspection is an re-inspection
    productBean.preInspectionstringTODO
    productBean.preInspectionDatestringTODO
    productBean.preInspectionDateUnitTimeStampintegerTODO
    productBean.reinspectionCommentstringComment for inspection
    productBean.prodNamestringProduct name
    productBean.prodDivisionstringDivision name that this product belongs to in client's company
    productBean.prodReferencestringProduct reference, like sku number
    productBean.prodQuantityintegerProduct quantity, numbers only
    productBean.prodQuantityUnitstringUnit name of the product quantity, like pcs, sets
    productBean.otherUnitstringUnit name of the product quantity if it's not pcs, sets, like pcs
    productBean.nbOfPcsPerSetsintegerHow many pcs per set
    productBean.nbOfPtsPerSetsintegerHow many pcs per set
    productBean.poNumberstringPO number
    productBean.prodApparelCategorystringCategory name when this product belongs to apparel
    productBean.numberOfReferencesintegerHow many reference in this product
    productBean.bookingtypestringQIMA inspection type
    productBean.expectedFinishedPctintegerPercentage of the expected production finished productions for inspection
    productBean.expectedPackedPctintegerPercentage of the expected packed production for inspection
    productBean.setsDescriptionstringTODO
    productBean.customField1stringProduct level custom field 1 depends on use case
    productBean.customField2stringProduct level custom field 2 depends on use case
    productBean.customField3stringProduct level custom field 3 depends on use case
    productBean.productRefsarray
    productBean.productRefs[].idstringProduct reference id
    productBean.productRefs[].productIdstringProduct id of this product reference belongs to
    productBean.productRefs[].brandstringBrand name
    productBean.productRefs[].prodRefSeqstringSequence of this product reference
    productBean.productRefs[].prodRefPoNbstringProduct reference number
    productBean.productRefs[].prodRefSkuNbstringProduct reference sku number
    productBean.productRefs[].prodRefQuantityintegerQuantity of this product reference
    productBean.productRefs[].supplierIdstringSupplier id of this product reference belongs to, if there is more than 1 supplier in this booking
    productBean.productRefs[].supplierNamestringSupplier name of this product reference belongs to, if there is more than 1 supplier in this booking
    productBean.productRefs[].customField1stringProduct reference level custom field 1 depends on use case
    productBean.productRefs[].customField2stringProduct reference level custom field 2 depends on use case
    productBean.productRefs[].customField3stringProduct reference level custom field 3 depends on use case
    productBean.productRefs[].customField4stringProduct reference level custom field 4 depends on use case
    productBean.productRefs[].customField5stringProduct reference level custom field 5 depends on use case
    productBean.productRefs[].customField6stringProduct reference level custom field 6 depends on use case
    productBean.productRefs[].customField7stringProduct reference level custom field 7 depends on use case
    productBean.productRefs[].customField8stringProduct reference level custom field 8 depends on use case
    productBean.productRefs[].customField9stringProduct reference level custom field 9 depends on use case
    productBean.productRefs[].customField10stringProduct reference level custom field 10 depends on use case
    productBean.productRefs[].customField11stringProduct reference level custom field 11 depends on use case
    productBean.productRefs[].customField12stringProduct reference level custom field 12 depends on use case
    productChecklistBeanobject
    productChecklistBean.productIdstringId of this product
    productChecklistBean.checklistFromstring
    productChecklistBean.clientChecklistIdstring
    productChecklistBean.checklistNumberstring
    productChecklistBean.clientCommentsstringClient's comment on this checklist
    productChecklistBean.prodSampleLevelstringProduct sample level
    productChecklistBean.prodMeasurementSampleLevelstring
    productChecklistBean.aqlTypelstringAQL type, can be customized or standard
    productChecklistBean.aqlCriticalstringAllowed AQL in critical level
    productChecklistBean.aqlMajorstringAllowed AQL in major level
    productChecklistBean.aqlMinorstringAllowed AQL in minor level
    productChecklistBean.prodSampleSizeintegerProduct sample size
    productChecklistBean.prodMeasurementSampleSizeintegerProduct measurement sample size
    productChecklistBean.prodMdnumber
    productChecklistBean.measurementAQLstring
    productChecklistBean.fabricSampleLevelstring
    productChecklistBean.fabricMaxPenaltyinteger
    productChecklistBean.fabricMaxAverageinteger
    productChecklistBean.fabricMaxPenaltyUnitstring
    productChecklistBean.fabricMaxAverageUnitstring
    productChecklistBean.performClientTestsOnlystring
    productChecklistBean.performClientTestsOnlyBooleanboolean
    productChecklistBean.defectListarray
    productChecklistBean.defectList[].idstring
    productChecklistBean.defectList[].productIdstring
    productChecklistBean.defectList[].defectIdstring
    productChecklistBean.defectList[].publicDefectIdstring
    productChecklistBean.defectList[].isPublicboolean
    productChecklistBean.defectList[].selectedByinteger
    productChecklistBean.defectList[].defectNamestring
    productChecklistBean.defectList[].expectedDefectstring
    productChecklistBean.defectList[].classificationstring
    productChecklistBean.defectList[].fileIdstring
    productChecklistBean.defectList[].fileNamestring
    productChecklistBean.defectList[].originDefectIdstring
    productChecklistBean.testListarray
    productChecklistBean.testList[].idstring
    productChecklistBean.testList[].productIdstring
    productChecklistBean.testList[].testIdstring
    productChecklistBean.testList[].publicTestIdstring
    productChecklistBean.testList[].isPublicboolean
    productChecklistBean.testList[].selectedByinteger
    productChecklistBean.testList[].testNamestring
    productChecklistBean.testList[].instructionTeststring
    productChecklistBean.testList[].expectedResultstring
    productChecklistBean.testList[].sampleLevelstring
    productChecklistBean.testList[].sampleSizestring
    productChecklistBean.testList[].fileIdstring
    productChecklistBean.testList[].fileNamestring
    productChecklistBean.testList[].originTestIdstring
    productChecklistBean.bookingTypestringBooking type in product level
    productChecklistBean.prodQuantitynumberProduct level product quantity
    productChecklistBean.prodQuantityUnitstringUnit name of the product quantity, like pcs, sets
    productChecklistBean.otherUnitstring
    productChecklistBean.productAqlListarray
    productChecklistBean.productAqlList[].createTimestring
    productChecklistBean.productAqlList[].updateTimestring
    productChecklistBean.productAqlList[].createBystring
    productChecklistBean.productAqlList[].updateBystring
    productChecklistBean.productAqlList[].accessTimestring
    productChecklistBean.productAqlList[].paramsobject
    productChecklistBean.productAqlList[].idstring
    productChecklistBean.productAqlList[].productIdstring
    productChecklistBean.productAqlList[].productReferenceIdstring
    productChecklistBean.productAqlList[].prodSampleLevelstring
    productChecklistBean.productAqlList[].prodMeasurementSampleLevelstring
    productChecklistBean.productAqlList[].aqlTypestring
    productChecklistBean.productAqlList[].aqlCriticalstring
    productChecklistBean.productAqlList[].aqlCriticalTextstring
    productChecklistBean.productAqlList[].aqlMajorstring
    productChecklistBean.productAqlList[].aqlMajorTextstring
    productChecklistBean.productAqlList[].aqlMinorstring
    productChecklistBean.productAqlList[].aqlMinorTextstring
    productChecklistBean.productAqlList[].prodSampleSizeinteger
    productChecklistBean.productAqlList[].prodMeasurementSampleSizeinteger
    productChecklistBean.productAqlList[].prodMdnumber
    productChecklistBean.productAqlList[].measurementAQLstring
    productChecklistBean.productAqlList[].measurementAqlTextstring
    productChecklistBean.productAqlList[].fabricSampleLevelstring
    productChecklistBean.productAqlList[].fabricMaxPenaltyinteger
    productChecklistBean.productAqlList[].fabricMaxAverageinteger
    productChecklistBean.productAqlList[].fabricMaxPenaltyUnitstring
    productChecklistBean.productAqlList[].fabricMaxAverageUnitstring
    productChecklistBean.productAqlList[].performClientTestsOnlystring
    productChecklistBean.productAqlList[].criticalFoundinteger
    productChecklistBean.productAqlList[].majorFoundinteger
    productChecklistBean.productAqlList[].minorFoundinteger
    productChecklistBean.productAqlList[].criticalCheckedinteger
    productChecklistBean.productAqlList[].majorCheckedinteger
    productChecklistBean.productAqlList[].minorCheckedinteger
    productChecklistBean.productAqlList[].criticalMaxinteger
    productChecklistBean.productAqlList[].majorMaxinteger
    productChecklistBean.productAqlList[].minorMaxinteger
    productChecklistBean.productAqlList[].criticalAllowedDefectFrominteger
    productChecklistBean.productAqlList[].criticalAllowedDefectTointeger
    productChecklistBean.productAqlList[].majorAllowedDefectFrominteger
    productChecklistBean.productAqlList[].majorAllowedDefectTointeger
    productChecklistBean.productAqlList[].minorAllowedDefectFrominteger
    productChecklistBean.productAqlList[].minorAllowedDefectTointeger
    productChecklistBean.productAqlList[].inspResultstring
    productChecklistBean.productAqlList[].defectDescFoundstring
    productChecklistBean.productAqlList[].commentsstring
    productChecklistBean.productAqlList[].seqinteger
    productChecklistBean.productAqlList[].bookingTypestring
    productChecklistBean.productAqlList[].prodQuantitynumber
    productChecklistBean.productAqlList[].prodQuantityUnitstring
    productChecklistBean.productAqlList[].otherUnitstring
    productChecklistBean.productAqlList[].measurementFoundinteger
    productChecklistBean.productAqlList[].measurementMaxinteger
    productChecklistBean.productAqlList[].measurementCheckedinteger
    productChecklistBean.productAqlList[].customizedAqlstring
    productChecklistBean.productAqlList[].customizedAqlTextstring
    productChecklistBean.productAqlList[].customizedAqlAllowedDefectFrominteger
    productChecklistBean.productAqlList[].customizedAqlAllowedDefectTointeger
    productChecklistBean.productAqlList[].customizedAqlFoundinteger
    productChecklistBean.productAqlList[].customizedAqlMaxinteger
    productChecklistBean.productAqlList[].customizedAqlCheckedinteger
    productChecklistBean.productAqlList[].aqlFlaginteger
    productChecklistBean.customizedAqlstring
    productChecklistBean.customizedAqlTextstring
    sampleCollectionobject
    sampleCollection.idstring
    sampleCollection.productIdstring
    sampleCollection.collectSampleinteger
    sampleCollection.sampleNbinteger
    sampleCollection.sampleUnitstring
    sampleCollection.sampleByinteger
    sampleCollection.collectMethodinteger
    sampleCollection.courierstring
    sampleCollection.trackNbstring
    sampleCollection.addressstring
    sampleCollection.postcodestring
    sampleCollection.clientCommentsstring
    sampleCollection.collectLtSampleinteger
    sampleCollection.ltSampleNbinteger
    sampleCollection.ltClientCommentsstring
    sampleCollection.ltSampleRefNbstring
    sampleCollection.clientAccountNumberstring
    sampleCollection.productNamestring
    sampleReferenceobject
    sampleReference.idstring
    sampleReference.referenceinteger
    sampleReference.courierstring
    sampleReference.trackNbstring
    sampleReference.clientCommentsstring
    sampleReference.productIdstring
    productSpecobject
    productSpec.productIdstring
    productSpec.nbOfPointsinteger
    productSpec.logoDesstring
    productSpec.performDropTestboolean
    productSpec.unitPackingstring
    productSpec.innerPackingstring
    productSpec.outerPackingstring
    productSpec.packingCommentsstring
    productSpec.shippingMarksstring
    productSpec.nbOfRawMaterialsinteger
    productSpec.rawMaterialsDesstring
    productSpec.clcNbOfPalletsinteger
    productSpec.clcNbOfCartonsinteger
    productSpec.clcNbOfPcsPerCartoninteger
    productSpec.clcNumberingFromstring
    productSpec.clcNumberingTostring
    productSpec.additionalCommentstring
    productSpec.productColorsarray
    productSpec.productColors[].idstringId of product color
    productSpec.productColors[].productIdstringId of this product
    productSpec.productColors[].seqintegerSequence of product color
    productSpec.productColors[].colorDesstringProduct color
    productSpec.productTextileColorsarray
    productSpec.productTextileColors[].idstring
    productSpec.productTextileColors[].productIdstring
    productSpec.productTextileColors[].seqinteger
    productSpec.productTextileColors[].colorRefstring
    productSpec.productTextileColors[].colorCodestring
    productSpec.productTextileColors[].colorQuantitystring
    productSpec.productDimensionsarray
    productSpec.productDimensions[].productIdstringId of this product
    productSpec.productDimensions[].idstringId of this product dimension
    productSpec.productDimensions[].seqintegerSequence of this product dimension
    productSpec.productDimensions[].dimensionDesstringProduct dimension
    completedboolean
    {
      "message": null,
      "content": {
        "draft": {
          "draftId": "472DA71121044FA29749B8FA2F0E7BBB",
          "isAnOrderNotADraft": true,
          "draftSteps": null
        },
        "orderGeneralInfo": {
          "orderId": "258D31EB7071476E88619BBD4D1FB4BC",
          "orderPlacer": "apiuser001",
          "status": "20",
          "statusText": "WAITING_FOR_VALIDATION",
          "serviceType": "1",
          "serviceTypeText": "PSI",
          "bookingDate": "02-Jul-2026",
          "orderNumber": "Q2600368330-PP",
          "companyId": "23EC09AB0F3C46BBA4F79718DCED16D0",
          "userId": "4C6E94072DFC4918B60752F701DE544A",
          "clientRefNb": "2107-0-045691",
          "confirmed": false
        },
        "orderFactory": {
          "factoryId": "22904F91A04A41E09EABD465E165152F",
          "factoryCode": "SF-99-i56",
          "factoryName": "Sample Factory Co."
        },
        "orderSupplier": {
          "orderId": "258D31EB7071476E88619BBD4D1FB4BC",
          "supplierCode": "SF-TL90",
          "supplierName": "Sample Supplier Co.",
          "supplierId": "9CB3F02222CA46FC8791D790D5422582"
        },
        "products": [
          {
            "productBean": {
              "orderId": "258D31EB7071476E88619BBD4D1FB4BC",
              "productId": "86830F5AAA7445DB9A208D05F09A19CB",
              "prodName": "Dumbbell Kaytan 2kg",
              "prodQuantity": 4260,
              "poNumber": "6111"
            },
            "completed": false
          }
        ]
      }
    }

    Content-Type: application/json


    Content-Type: application/json


    Content-Type: application/json


    Content-Type: application/json

    {
      "message": "supplier info is not found by supplierCode [SF-TL90]",
      "content": null
    }
    POST
    /v1.0/inspection
    Request samples

    application/json

    { "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": 1, "expectedFinishedPct": 90, "expectedPackedPct": 100, "unitPacking": "string", "outerPacking": "string", "sampleReferenceClientComments": "string", "customField1": "string", "customField2": "string", "customField3": "string", "refs": [ { "poNumber": "string", "skuCode": "string", "qty": 1, "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 }

    Response samples

    application/json

    { "message": null, "content": { "draft": { "draftId": "472DA71121044FA29749B8FA2F0E7BBB", "isAnOrderNotADraft": true, "draftSteps": null }, "orderGeneralInfo": { "orderId": "258D31EB7071476E88619BBD4D1FB4BC", "orderPlacer": "apiuser001", "status": "20", "statusText": "WAITING_FOR_VALIDATION", "serviceType": "1", "serviceTypeText": "PSI", "bookingDate": "02-Jul-2026", "orderNumber": "Q2600368330-PP", "companyId": "23EC09AB0F3C46BBA4F79718DCED16D0", "userId": "4C6E94072DFC4918B60752F701DE544A", "clientRefNb": "2107-0-045691", "confirmed": false }, "orderFactory": { "factoryId": "22904F91A04A41E09EABD465E165152F", "factoryCode": "SF-99-i56", "factoryName": "Sample Factory Co." }, "orderSupplier": { "orderId": "258D31EB7071476E88619BBD4D1FB4BC", "supplierCode": "SF-TL90", "supplierName": "Sample Supplier Co.", "supplierId": "9CB3F02222CA46FC8791D790D5422582" }, "products": [ { "productBean": { "orderId": "258D31EB7071476E88619BBD4D1FB4BC", "productId": "86830F5AAA7445DB9A208D05F09A19CB", "prodName": "Dumbbell Kaytan 2kg", "prodQuantity": 4260, "poNumber": "6111" }, "completed": false } ] } }