5102.Get Secondary Category List via VIN
Brief Summary:- Retrieve the secondary category list (second-level catalog categories) for a specific VIN (Vehicle Identification Number) from the associated Electronic Parts Catalog (EPC). The epc parameter must be obtained from interfaces 3001, 3002, or 3003, and cata1_code must be retrieved from interface 5101.
If the is_last field in the response is 0, proceed to request the next-level category. If is_last is 1, use interface 5105 to retrieve the part list.
Request URL:http://api.17vin.com:8080/{epc}?action=cata2&vin={vin}&cata1_code={cata1_code}&user={user}&token={token}
- GET or POST
| Parameter | Required | Type | Description |
|---|---|---|---|
| epc | Yes | string | Get epc from 3001 |
| vin | Yes | string | |
| cata1_code | Yes | string | Get it from 5101(cata_code) |
| is_vin_filter_open | No | string | Enable VIN-based part filtering: 1 = enabled, 0 = disabled (default: 1) |
| user | Yes | string | user name |
| epc_id | No | string | |
| js_id | No | string | |
| token | Yes | string | MD5(concat(MD5(‘myusername’),MD5(‘mypassword’),’/xxx?action=cata2&vin=xxxxxxxxxxxxxxxxx&cata1_code=xx’)) |
{
"code": 1,
"msg": "success",
"data": {
"catalist": [{
"cata_level": 2,
"is_last": 1,
"cata_index": "0901",
"cata_code": "0901_090562C-0001",
"name_en": "STANDARD TOOL",
"name_zh": "标准工具",
"remark_en": "",
"remark_zh": "",
"begin_date": "201005",
"end_date": "999999",
"illustration_img_address": "090562C.png",
"Is_fit_for_this_vin": 1
},
...
{
"cata_level": 2,
"is_last": 1,
"cata_index": "2211",
"cata_code": "2211_222539B-0001",
"name_en": "FUEL INJECTION SYSTEM",
"name_zh": "燃油喷射系统",
"remark_en": "",
"remark_zh": "",
"begin_date": "201005",
"end_date": "201509",
"illustration_img_address": "222539B.png",
"Is_fit_for_this_vin": 1
}]
}
}
Response description
| Parameter | Type | Description | |
|---|---|---|---|
| cata_level | int | 目录级别 | |
| is_last | int | Whether it is the final level directory: 1 = yes, 0 = no. | |
| cata_index | string | ||
| cata_code | string | ||
| name_en | string | ||
| name_zh | string | ||
| illustration_img_address | string | http://resource.17vin.com/img/{epc}/{illustration_img_address} http://resource.17vin.com/img/toyota/222539B.png | |
| begin_date | string | ||
| end_date | string | ||
| remark_en | string | ||
| remark_zh | string | ||
| is_fit_for_this_vin | int | Applicable to current VIN: 1 = applicable, 0 = not applicable |
- If is_last is 1, the next step is to call interface 5105 to retrieve the parts list.