6102.二级目录
简要描述:- 二级目录
http://api.17vin.com:8080/{epc}?action=cata2&model_id={model_id}&cata1_code={cata1_code}&user={user}&token={token}
- GET或POST
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| epc | 是 | string | 品牌对应epc,解码接口获取的epc节点值 |
| model_id | 是 | string | 车型id |
| cata1_code | 是 | string | 上级目录,也就是一级目录返回字段中的cata_code值 |
| user | 是 | string | 用户名 |
| token | 是 | string | 密钥,算法案例: MD5(concat(MD5(‘myusername’),MD5(‘mypassword’),’/toyota?action=cata2&model_id=11121&cata1_code=2’)) |
{
"code":1,
"msg":"success",
"data":{
"catalist":[
{
"cata_level":2,
"is_last":1,
"cata_index":"3312",
"cata_code":"3312_335469A-0004",
"name_en":"SHIFT LEVER & RETAINER",
"name_zh":"换档杆和限位器",
"remark_en":"",
"remark_zh":"",
"begin_date":"201607",
"end_date":"999999",
"illustration_img_address":"335469A.png",
"is_fit_for_this_vin":1
},
...
{
"cata_level":2,
"is_last":1,
"cata_index":"4804",
"cata_code":"4804_483901E-0001",
"name_en":"REAR SPRING & SHOCK ABSORBER",
"name_zh":"后弹簧和减振器",
"remark_en":"",
"remark_zh":"",
"begin_date":"201308",
"end_date":"999999",
"illustration_img_address":"483901E.png",
"is_fit_for_this_vin":1
}
]
}
}
返回参数说明
| 参数名 | 类型 | 说明 | |
|---|---|---|---|
| cata_level | int | 目录级别 | |
| is_last | int | 是否为最末级目录,1:最后一级目录目录, 0非最后一级目录 | |
| cata_index | string | 目录索引 | |
| cata_code | string | 当前目录代码 | |
| name_en | string | 目录英文名称 | |
| name_zh | string | 目录中文名称 | |
| illustration_img_address | string | 483901E.png 请求案例:http://resource.17vin.com/img/{epc}/{illustration_img_address} 例如:http://resource.17vin.com/img/toyota/483901E.png | |
| begin_date | string | 开始日期 | |
| end_date | string | 结束日期 | |
| remark_en | string | 英文备注 | |
| remark_zh | string | 中文备注 | |
| is_fit_for_this_vin | int | 是否适用当前vin号,1:适用,0 不适用 |
- is_last如果为1,说明具备取配件列表的条件