40071.[私有查询]通过配件号搜索获取配件基础信息列表
简要描述:- 在某品牌下进行查询,获取相关配件的基础信息。此查询为私有查询,只有品牌方或者被品牌方授权的用户才有查询权限,manufacturer_brand参数为品牌名称或者公司名称,当搜索为精准搜索的时候,会返回替换号码,配件参数等信息,当查询为非精确命中时,则会隐藏相关信息。
搜索类型:exact为精准搜索,inexact为模糊搜索(匹配部分),smart为智慧搜索(如果精确搜索有结果,采用精确的结果,否则调用模糊搜索的结果)
请求URL:http://api.17vin.com:8080/?action=aftermarket_private_part_search&manufacturer_brand={manufacturer_brand}&query_part_number={query_part_number}&query_match_type={query_match_type}&user={username}&token={token}
- GET或POST
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| action | 是 | string | 动作命令,通过配件号获取适用车型 |
| query_part_number | 是 | string | 动作命令,搜索的配件号 |
| manufacturer_brand | 是 | string | 公司名称,如:精时信息科技有限公司 |
| user | 是 | string | 用户名 |
| token | 是 | string | 密钥,算法如下: MD5(concat(MD5('myusername'),MD5('mypassword'),'/?action=aftermarket_private_part_search&manufacturer_brand=精时信息科技有限公司&query_part_number=JSB00001&query_match_type=smart')) |
{
"code":1,
"data":[
{
"Partnumber":"JS-B-00001",
"Brand_name_zh":"精时",
"Part_name_zh":"前刹车片",
"Part_feature_zh":"",
"Category":"刹车片",
"Customer_category_name":"前刹车片",
"Part_img":"精时/JSB00001-0.png",
"Attribute_zh":"",
"Attribute_zh_v2":null,
"Oe_and_factory_no":"GDB1488,0986AB1149,2301805,2301802,2301881,FDB1717OES,FDB1717,FDB1668,FSL1717,FDB1717D,P85085N,P85085,P85051,05P1119,ZK01001",
"Weight":"",
"Unit":"",
"Detail":""
}
],
"msg":"success"
}
返回参数说明
| 参数名 | 类型 | 说明 | |
|---|---|---|---|
| Partnumber | string | 原始OE配件号码 | |
| Brand_name_zh | string | 品牌名称 | |
| Part_name_zh | string | 产品名称 | |
| Part_feature_zh | string | ** | |
| Category | string | ** | |
| Customer_category_name | string | * | |
| Part_img | string | 配件图 | |
| Attribute_zh | string | 配件属性 | |
| Attribute_zh | string | 配件属性 | |
| Attribute_zh_v2 | string | 配件属性2 | |
| Oe_and_factory_no | string | 大厂和oe号 | |
| Weight | string | 长 | |
| Unit | string | 单位 | |
| Detail | string | 详细 |