6105.配件列表
简要描述:- 配件列表
http://api.17vin.com:8080/{epc}?action=part&model_id={model_id}&last_cata_code={last_cata_code}&last_cata_code_level={last_cata_code_level}&user={username}&token={token}
- GET或POST
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| epc | 是 | string | 品牌对应epc,解码接口获取的epc节点值 |
| model_id | 是 | string | 车型id |
| action | 是 | string | 动作命令,part代表配件列表 |
| last_cata_code | 是 | string | 最后一级目录的cata_code值,丰田指二级类目接口返回的cata_code值,捷豹可能指四级目录接口返回的cata_code值,不同epc类目级别不同 |
| last_cata_code_level | 是 | string | 最后一级目录是几,根据请求类目的is_last节点判断最后一级是多少,比如丰田是2,捷豹是4 |
| user | 是 | string | 用户名 |
| token | 是 | string | 密钥,算法案例: MD5(concat(MD5(‘myusername’),MD5(‘mypassword’),’/jaguar?action=part&model_id=16313&last_cata_code=-2147483619_760_6575_25369&last_cata_code_level=3’)) |
{
"code":1,
"msg":"success",
"data":{
"partlist":[
{
"illustration_img_address":"fb00102a.png",
"callout":"1",
"cata_code":"-2147483619_760_6575_25369",
"partnumber_original":"JDE40041",
"partnumber":"JDE40041",
"name_en":"",
"name_zh":"凸轴盖",
"std_name_en":"",
"std_name_zh":"",
"qty":"1",
"begin_date":null,
"end_date":null,
"replacement":"",
"remark_en":null,
"remark_zh":" ",
"sort":"400",
"is_fit_for_this_vin":1
},
...
{
"illustration_img_address":"fb00102a.png",
"callout":"9",
"cata_code":"-2147483619_760_6575_25369",
"partnumber_original":"AJ813216",
"partnumber":"AJ813216",
"name_en":"",
"name_zh":"凸轴位置传感器",
"std_name_en":"",
"std_name_zh":"",
"qty":"1",
"begin_date":null,
"end_date":null,
"replacement":"",
"remark_en":null,
"remark_zh":" ",
"sort":"200",
"is_fit_for_this_vin":1
}
],
"imgaddress":"fb00102a.png",
"all_img_hotspots":[
{
"img_hotspots":{
"img_name":"fb00102a.png",
"img_width":1050,
"img_height":1485,
"img_format":"image/png",
"hotspots":[
{
"callout":"13",
"topleft_x":800,
"topleft_y":130
},
...
{
"callout":"7",
"topleft_x":390,
"topleft_y":185
}
]
}
}
]
}
}
返回参数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 | 配件分解图 fb00102a.png 请求案例:http://resource.17vin.com/img/{epc}/{illustration_img_address} 例如:http://resource.17vin.com/img/jaguar/fb00102a.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 | 配件分解图 fb00102a.png 请求案例:http://resource.17vin.com/img/{epc}/{illustration_img_address} 例如:http://resource.17vin.com/img/jaguar/fb00102a.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,说明具备取配件列表的条件