POST api/Quality/QualityReport
获取质检报告资料(当传入区域时,优先挑选出带区域特征的,没有数据时抓精准匹配批号的,还没有数据时抓模糊匹配批号最新的一张)
请求的信息
URI参数
None.
Body参数
QualityInfo名称 | 描述 | 类型 | 其它信息 |
---|---|---|---|
Data |
条件实例 |
QualityModel |
None. |
AppKey |
合作方接入认证标识(海王提供对应商户编码) |
string |
None. |
TimeStamp |
10位时间戳 格式为long,时区为GMT+8。开放平台允许合作方请求最大时间误差为10分钟 |
integer |
None. |
Sign |
签名 |
string |
None. |
Version |
版本号 |
string |
None. |
Nonce |
唯一值 |
string |
None. |
请求格式
application/json, text/json
Sample:
{ "data": { "$id": "2", "barcode": "sample string 1", "batchNo": "sample string 2", "region": "sample string 3" }, "appKey": "sample string 1", "timeStamp": 2, "sign": "sample string 3", "version": "sample string 4", "nonce": "sample string 5" }
application/x-www-form-urlencoded
Sample:
Sample not available.
响应信息
资源描述
CustomJsonResultOfQualityResult名称 | 描述 | 类型 | 其它信息 |
---|---|---|---|
Content | QualityResult |
None. |
响应格式
application/json, text/json
Sample:
{ "content": { "$id": "2", "data": [ { "$id": "3", "barcode": "sample string 1", "batchNo": "sample string 2", "path": "sample string 3", "updateTime": "sample string 4" }, { "$ref": "3" }, { "$ref": "3" } ], "customStatus": 10, "customMessage": "sample string 1" } }