4002.通过OE号搜索配件所属分类列表
简要描述:- 此接口只针对oe件号才可能有返回结果(即此接口对品牌件号无效),根据OE配件号搜索该OE号对应的配件分类列表,获取该接口后还可再调用6号接口获取该分类下所有配件信息。如果不知道该OE号所属epc,可通过接口4001获取
http://api.17vin.com:8080/{epc}?action=search_illustration&query_part_number={query_part_number}&user={username}&token={token}
- GET或POST
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| epc | 是 | string | 该OE号所属epc,可通过接口4001获取 |
| action | 是 | string | 动作命令,search_illustration搜索插图和分类列表 |
| query_part_number | 是 | string | 动作命令,搜索的oe号 |
| user | 是 | string | 用户名 |
| token | 是 | string | 密钥,算法如下: MD5(concat(MD5('myusername'),MD5('mypassword'),'/toyota?action=search_illustration&query_part_number=091140G010')) |
{
"code":1,
"msg":"success",
"data":{
"searchlist":[
{
"cata_level":"2",
"cata_name_en":"STANDARD TOOL",
"cata_name_zh":"标准工具",
"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":null,
"begin_date":null,
"end_date":null,
"replacement":null,
"remark_en":null,
"remark_zh":null,
"sort":null,
"is_fit_for_this_vin":1
},
{
"cata_level":"2",
"cata_name_en":"STANDARD TOOL",
"cata_name_zh":"标准工具",
"illustration_img_address":"090179E.png",
"callout":"09114",
"cata_code":"0901_090179E-0001",
"partnumber_original":"091140G010",
"partnumber":"091140G010",
"name_en":"SUNCONJUNTO DE EXTENSION, MANIVELA DEL GATO",
"name_zh":"千斤顶把手加长杆分总成",
"std_name_en":null,
"std_name_zh":"",
"qty":null,
"begin_date":null,
"end_date":null,
"replacement":null,
"remark_en":null,
"remark_zh":null,
"sort":null,
"is_fit_for_this_vin":1
}
]
}
}
返回参数说明
| 参数名 | 类型 | 说明 | |
|---|---|---|---|
| cata_level | string | 最后一级目录级别 | |
| cata_name_en | string | 最后一级类目英文名称 | |
| cata_name_zh | string | 最后一级类目中文名称 | |
| cata_code | string | 最后一级类目代码 | |
| 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 | 配件分解图 090179E.png 请求案例:http://resource.17vin.com/img/{epc}/{illustration_img_address} 例如:http://resource.17vin.com/img/toyota/090179E.png | |
| begin_date | string | 开始日期 | |
| end_date | string | 结束日期 | |
| remark_en | string | 英文备注 | |
| remark_zh | string | 中文备注 | |
| is_fit_for_this_vin | int | 是否适用当前vin号,1:适用,0 不适用 | |
| sort | int | 排序号,用于排序,可以自由选择是否需要 |