Search inspection reports

Request
path Parameters
userId
required
string
query Parameters
start
string

Search period start date(format like 2016-12-01)

end
string

Search period end date(format like 2016-12-01)

keyword
string

Search keyword matches to Order number or PO number

page
integer

Page number to show

page-size
integer

Page size in search results

all
string

Send 'true' to fetch all sub-master account list under super-master account

sortField
string

SortField should be one of return columns name

sortType
string

DESC or ASC

companyRole
string

If to search report for broker

prodDivision
string

Division name that this product belongs to in client's company

advSearchUseProdName
string

Advanced Search Use Product Name

advSearchUseProdRef
string

Advanced Search Use Product Reference

startSendDate
string

Search period every time to send and resend report date(format like 2016-12-01)

endSendDate
string

Search period every time to send and resend report date(format like 2016-12-01)

status
string

Search reports by specific status, it support multi status and split by comma

Responses
200

Inspection reports search results will be returned

500

Error message returned

get/user/{userId}/reports
Request samples
curl -i -X GET \
  'https://qa-web-02.qima.com/user/{userId}/reports?start=string&end=string&keyword=string&page=0&page-size=0&all=string&sortField=string&sortType=string&companyRole=string&prodDivision=string&advSearchUseProdName=string&advSearchUseProdRef=string&startSendDate=string&endSendDate=string&status=string'
Response samples
application/json
{
  • "orderId": "string",
  • "productId": "string",
  • "orderNumber": [
    ],
  • "orderNumberProductSeq": [
    ],
  • "clientRefNb": "string",
  • "poNumber": "string",
  • "inspectionDate": [
    ],
  • "status": [
    ],
  • "companyId": [
    ],
  • "companyName": "string",
  • "productName": "string",
  • "supplierName": "string",
  • "supplierProvince": [
    ],
  • "supplierCity": [
    ],
  • "inspectionLocation": [
    ],
  • "factoryIdCode": "string",
  • "factoryName": "string",
  • "factoryCountry": [
    ],
  • "factoryProvince": [
    ],
  • "factoryAddress": "string",
  • "inspectorName": "string",
  • "serviceType": [
    ],
  • "serviceTypeText": [
    ],
  • "prodReference": "string",
  • "bookingType": "string",
  • "prodDivision": [
    ],
  • "prodQuantity": 0,
  • "prodQuantityUnit": [
    ],
  • "rejectionReason": "string",
  • "approvalReason": "string",
  • "reportApproveTime": [
    ],
  • "approver": "string",
  • "comments": "string",
  • "specResult": [
    ],
  • "testResult": [
    ],
  • "workmanshipResult": [
    ],
  • "measurementResult": [
    ],
  • "overrallResult": [
    ],
  • "criticalChecked": [
    ],
  • "majorChecked": [
    ],
  • "minorChecked": [
    ],
  • "criticalFound": [
    ],
  • "majorFound": [
    ],
  • "minorFound": [
    ],
  • "criticalMax": [
    ],
  • "majorMax": [
    ],
  • "minorMax": [
    ],
  • "missedInspection": [
    ],
  • "isReInspection": [
    ],
  • "reportRemark": "string",
  • "reportSummary": "string",
  • "clientRating": 0,
  • "clientFeedback": "string",
  • "read": [
    ],
  • "inspectionDateMMMFormat": [
    ],
  • "clientDecision": [
    ],
  • "expectedShipDate": [
    ],
  • "bookingDate": [
    ],
  • "sampleSize": [
    ],
  • "prodFamily": [
    ],
  • "prodCategory": [
    ],
  • "supplierAddress": "string",
  • "supplierCountry": [
    ],
  • "supplierIdCode": "string",
  • "realMD": [
    ],
  • "totalCharge": [
    ],
  • "sendReportTime": "2019-08-24T14:15:22Z",
  • "sendReportTimeFormat": [
    ],
  • "refResults": [
    ]
}