4005.获取某Epc分类的配件列表
简要描述:- 获取某Epc下某个分类对应的配件列表,cata_code参数可从接口4002获取,epc参数继承自接口4002中epc参数,请求该接口一般需先请求接口4002
http://api.17vin.com:8080/{epc}?action=illustration&cata_code={cata_code}&user={username}&token={token}
- GET或POST
| 参数名 | 必选 | 类型 | 说明 | |
|---|---|---|---|---|
| epc | 是 | string | 该OE号所属epc,继承自接口4002中epc参数 | |
| action | 是 | string | 动作命令,illustration某分解图下对应配件列表 | |
| cata_code | 是 | string | 接口4002返回的cata_code节点 | |
| user | 是 | string | 用户名 | |
| token | 是 | string | 密钥,算法案例: MD5(concat(MD5(‘myusername’),MD5(‘mypassword’),’/toyota?action=illustration&cata_code=0901_090347-001’)) |
{
"code": 1,
"msg": "success",
"data": {
"partlist": [{
"illustration_img_address": "090347.png",
"callout": "09150",
"cata_code": "0901_090347-001",
"partnumber_original": "091510H010",
"partnumber": "091510H010",
"name_en": "LLAVE DE TUBOS, BUJIAS",
"name_zh": "轮毂螺母扳手",
"std_name_en": null,
"std_name_zh": "",
"qty": "01",
"begin_date": "200502",
"end_date": "200812",
"replacement": null,
"remark_en": "",
"remark_zh": null,
"sort": null,
"is_fit_for_this_vin": 1
},
...
{
"illustration_img_address": "090347.png",
"callout": "09126",
"cata_code": "0901_090347-001",
"partnumber_original": "091260H011",
"partnumber": "091260H011",
"name_en": "CAJA, GATO",
"name_zh": "千斤顶盒",
"std_name_en": null,
"std_name_zh": "",
"qty": "01",
"begin_date": "201202",
"end_date": "999999",
"replacement": null,
"remark_en": "",
"remark_zh": null,
"sort": null,
"is_fit_for_this_vin": 1
}],
"imgaddress": "090347.png",
"all_img_hotspots": [{
"img_hotspots": {
"img_name": "090347.png",
"img_width": 760,
"img_height": 1112,
"img_format": "image/png",
"hotspots": [{
"callout": "09150",
"topleft_x": 189,
"topleft_y": 586
},
...
{
"callout": "09126",
"topleft_x": 541,
"topleft_y": 414
}]
}
}]
}
}
返回参数partlist配件列表节点说明
| 参数名 | 类型 | 说明 | |
|---|---|---|---|
| callout | string | 图号 | |
| qty | string | 数量 | |
| replacement | string | 替换号 | |
| partnumber | string | 配件oe号码,去了特殊字符的 | |
| partnumber_original | string | 配件oe号码,epc原始的 | |
| name_en | string | 配件epc英文名称 | |
| name_zh | string | 配件epc中文名称 | |
| std_name_en | string | 配件标准名称(英文),也就是市场标准化的名称 | |
| std_name_zh | string | 配件标准名称(中文),也就是市场标准化的名称 | |
| illustration_img_address | string | 配件分解图 090347.png 请求案例:http://resource.17vin.com/img/{epc}/{illustration_img_address} 例如:http://resource.17vin.com/img/toyota/090347.png | |
| begin_date | string | 开始日期 | |
| end_date | string | 结束日期 | |
| remark_en | string | 英文备注 | |
| remark_zh | string | 中文备注 | |
| is_fit_for_this_vin | int | 是否适用当前vin号,1:适用,0 不适用 | |
| sort | int | 排序号,用于排序,可以自由选择是否需要 |
| 参数名 | 类型 | 说明 |
|---|---|---|
| img_name | string | 配件分解图 090347.png 请求案例:http://resource.17vin.com/img/{epc}/{illustration_img_address} 例如:http://resource.17vin.com/img/toyota/090347.png |
| img_width | int | 图片宽度 |
| img_height | string | 图片高度 |
| img_format | string | 图片格式 |
| hotspots | string | 图片坐标节点 |
| hotspots>callout | string | 图号 |
| hotspots>topleft_x | string | 图号在图片中左定点的X坐标位置 |
| hotspots>topleft_y | string | 图号在图片中左定点的Y坐标位置 |
- 此接口是图片图号下的所有配件列表,是未经筛选的结果