5105.配件列表
简要描述:- 配件列表
http://api.17vin.com:8080/{epc}?action=part&vin={vin}&last_cata_code={last_cata_code}&last_cata_code_level={last_cata_code_level}&user={username}&token={token}
- GET或POST
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| epc | 是 | string | 品牌对应epc,解码接口获取的epc节点值 |
| vin | 是 | string | 车架号 |
| action | 是 | string | 动作命令,part代表配件列表 |
| last_cata_code | 是 | string | 最后一级目录的cata_code值,丰田指二级类目接口返回的cata_code值,捷豹可能指四级目录接口返回的cata_code值,不同epc类目级别不同 |
| last_cata_code_level | 是 | string | 最后一级目录是几,根据请求类目的is_last节点判断最后一级是多少,比如丰田是2,捷豹是4 |
| is_vin_filter_open | 否 | string | 是否开启vin筛选,1:开启,0:不筛选,默认值为1 |
| user | 是 | string | 用户名 |
| epc_id | 否 | string | 某原厂epc下面的细分车型id |
| js_id | 否 | string | js_id标准车型id |
| token | 是 | string | 密钥,算法案例: MD5(concat(MD5(‘myusername’),MD5(‘mypassword’),’/toyota?action=part&vin=LFMGJE720DS070251&last_cata_code=0901_090562C-0001&last_cata_code_level=2’)) |
{
"code": 1,
"msg": "success",
"data": {
"partlist": [{
"illustration_img_address": "090562C.png",
"callout": "09114",
"cata_code": "0901_090562C-0001",
"partnumber_original": "091140G010",
"partnumber": "091140G010",
"name_en": "SUNCONJUNTO DE EXTENSION, MANIVELA DEL GATO",
"name_zh": "千斤顶把手加长杆分总成",
"std_name_en": null,
"std_name_zh": "",
"qty": "01",
"begin_date": "201005",
"end_date": "201311",
"replacement": "",
"remark_en": "NO.2",
"remark_zh": null,
"sort": null,
"is_fit_for_this_vin": 1
},
...
{
"illustration_img_address": "090562C.png",
"callout": "81604",
"cata_code": "0901_090562C-0001",
"partnumber_original": "8160402030",
"partnumber": "8160402030",
"name_en": "JUEGO REFLECTOR, TRIANGULO",
"name_zh": "三角形反光器组件",
"std_name_en": null,
"std_name_zh": "安全警示牌",
"qty": "01",
"begin_date": "201005",
"end_date": "201311",
"replacement": "",
"remark_en": "",
"remark_zh": null,
"sort": null,
"is_fit_for_this_vin": 1
}],
"imgaddress": "090562C.png",
"all_img_hotspots": [{
"img_hotspots": {
"img_name": "090562C.png",
"img_width": 760,
"img_height": 1112,
"img_format": "image/png",
"hotspots": [{
"callout": "09114",
"topleft_x": 486,
"topleft_y": 109
}, {
"callout": "09115",
"topleft_x": 391,
"topleft_y": 64
},
...
{
"callout": "091Y9",
"topleft_x": 175,
"topleft_y": 683
}]
}
}]
}
}
返回参数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 | 配件分解图 090562C.png 请求案例:http://resource.17vin.com/img/{epc}/{illustration_img_address} 例如:http://resource.17vin.com/img/toyota/090562C.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 | 配件分解图 090562C.png 请求案例:http://resource.17vin.com/img/{epc}/{illustration_img_address} 例如:http://resource.17vin.com/img/toyota/090562C.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坐标位置 |
- is_last如果为1,说明具备取配件列表的条件