6103.三级目录
简要描述:- 三级目录
http://api.17vin.com:8080/{epc}?action=cata3&model_id={model_id}&cata2_code={cata2_code}&user={user}&token={token}
- GET或POST
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| epc | 是 | string | 品牌对应epc,解码接口获取的epc节点值 |
| action | 是 | string | 动作命令,cata3代表三级目录 |
| model_id | 是 | string | 车型id |
| cata2_code | 是 | string | 上级目录的cata_code值,这里指二级类目接口返回的cata_code值 |
| user | 是 | string | 用户名 |
| token | 是 | string | 密钥,算法案例: MD5(concat(MD5(‘myusername’),MD5(‘mypassword’),’/jaguar?action=cata3&model_id=16313&cata2_code=-2147483619_760_6575’)) |
{
"code":1,
"msg":"success",
"data":{
"catalist":[
{
"cata_level":3,
"is_last":1,
"cata_index":"C781220611760",
"cata_code":"-2147483619_760_6575_25369",
"name_en":null,
"name_zh":"凸轮轴盖和垫圈-2.0公升汽油发动机-AJ200P",
"remark_en":null,
"remark_zh":null,
"begin_date":null,
"end_date":null,
"illustration_img_address":"fb00102a.png",
"is_fit_for_this_vin":1
},
{
"cata_level":3,
"is_last":1,
"cata_index":"C781220611763",
"cata_code":"-2147483619_760_6575_25374",
"name_en":null,
"name_zh":"可变气门升程单元-2.0公升汽油发动机-AJ200P",
"remark_en":null,
"remark_zh":null,
"begin_date":null,
"end_date":null,
"illustration_img_address":"fb00099b.png",
"is_fit_for_this_vin":1
}
]
}
}
返回参数说明
| 参数名 | 类型 | 说明 | |
|---|---|---|---|
| cata_level | int | 目录级别,这里是三级目录,所以值为3 | |
| is_last | int | 是否为最末级目录,1:最后一级目录目录, 0非最后一级目录 | |
| cata_index | string | 目录索引 | |
| cata_code | string | 当前目录代码 | |
| name_en | string | 目录英文名称 | |
| name_zh | string | 目录中文名称 | |
| illustration_img_address | string | fb00099b.png 请求案例:http://resource.17vin.com/img/{epc}/{illustration_img_address} 例如:http://resource.17vin.com/img/jaguar/fb00099b.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,说明具备取配件列表的条件