提交查询
https://api.ihuyi.com/veh/translic/Submit.json
| 参数名称 | 参数值描述 | 示例 | 类型 | 必填 |
| Content-Type | 内容类型,固定值 | application/x-www-form-urlencoded | string | 是 |
| 参数名称 | 参数值描述 | 示例 | 类型 | 必填 |
| account | APIID(用户中心【认证核验】-【车辆与道路运输信息验证】-【产品总览】查看) | xxxxxxxx | string | 是 |
| password | 1、APIKEY(用户中心【认证核验】-【车辆与道路运输信息验证】-【产品总览】查看) 2、动态密码(生成动态密码方式请看该文档末尾的说明) |
xxxxxxxxx | string | 是 |
| car_no | 车牌号码 | 沪**** | string | 是 |
| plate_color | 车牌颜色代码(1:蓝色;2:黄色;3:黑色;4:白色;5:绿色;9:其他;91:农黄色;92:农绿色;93:黄绿色;94:渐变绿) | 4 | string | 是 |
| trans_code | 道路运输证号 | 34********40 | string | 否 |
| vin | 车辆识别代号 | ****678 | string | 否 |
| date | 证件有效期(YYYYMMDD) | 20250101 | string | 否 |
| time | Unix时间戳(10位整型数字,当使用动态密码方式时为必填) | 1623643787 | string | 否 |
| 参数名称 | 参数值描述 | 示例 | 类型 | 必返 |
| code | 返回值为2时,表示提交成功 | 2|1 | string | 是 |
| msg | 提交结果描述 | 提交成功|提交失败 | string | 是 |
| idcardid | 当提交成功后,此字段为流水号,否则为0或空 | 16236437872836|0 | string | |
| result | 认证结果 | object | ||
| lists[] | 数据列表 | array | ||
| transCertificateCode | 道路运输证号 | 34********40 | string | |
| ownerName | 业户名称 | 上海市*****有限公司 | string | |
| certificateState | 证照状态 | 有效 | string | |
| businessState | 营运状态 | 营运 | string | |
| maturityWarning | 到期预警(0-有效期超过半月;1-有效期不足半月,说明:指有效期止跟调用接口时的北京时间对比) | 0 | string | |
| verifiedValidityDate | 有效期核验(0-不一致;1-一致,说明:一致代表在有效期内;不一致代表在有效期内) | 0 | string | |
| certificateCodeIsEquals | 道路运输证号是否一致(0-不一致;1-一致) | 1 | string | |
| businessScopeDesc | 车辆经营范围描述。(可能为多个,以‘,’拼接) | 道路普通货物运输 | string | |
| vehicleLength | 车长 | 12000 | string | |
| vehicleWidth | 车宽 | 2550 | string | |
| vehicleHigh | 车高 | 3950 | string | |
| approveTon | 车辆总质量 | 18.67 | string | |
| vehicleType | 车辆类型 | 重型仓栅式货车 | string | |
| transCertificateGrantOrgan | 发证机关名称 | ***运管所 | string |
| code | msg |
| 0 | 未知错误 |
| 1 | 提交失败 |
| 2 | 提交成功 |
| 400 | 非法ip访问 |
| 401 | 帐号不能为空 |
| 402 | 密码不能为空 |
| 403 | 应用不存在 |
| 404 | 姓名不能为空 |
| 4041 | 姓名格式不正确(2-10个中文汉字) |
| 405 | API ID 或 API KEY 不正确 |
| 406 | 车牌号码不能为空 |
| 407 | 车牌颜色代码不能为空 |
| 4050 | 账号被冻结 |
| 40501 | 动态密码已过期 |
| 40502 | 动态密码校验失败 |
| 40505 | 没有签定合同 |
| 4051 | 剩余条数不足 |
| 4052 | 访问 ip 与备案 ip 不符 |
| 4086 | 通道无效 |
| 4010 | 通道错误 |
| 4201 | 查询无结果 |
| 4202 | 系统异常 |
https://api.ihuyi.com/veh/translic/Submit.json?account=xxxxxxxx&password=xxxxxxxxx&car_no=沪****&plate_color=4&trans_code=34********40&vin=****678&date=20250101&time=1623643787
示例(成功)
<?xml version="1.0" encoding="utf-8"?><SubmitResult><code>2</code><msg>提交成功</msg><idcardid>16236437872836</idcardid><result><lists><list><transCertificateCode>34********40</transCertificateCode><ownerName>上海市*****有限公司</ownerName><certificateState>有效</certificateState><businessState>营运</businessState><maturityWarning>0</maturityWarning><verifiedValidityDate>0</verifiedValidityDate><certificateCodeIsEquals>1</certificateCodeIsEquals><businessScopeDesc>道路普通货物运输</businessScopeDesc><vehicleLength>12000</vehicleLength><vehicleWidth>2550</vehicleWidth><vehicleHigh>3950</vehicleHigh><approveTon>18.67</approveTon><vehicleType>重型仓栅式货车</vehicleType><transCertificateGrantOrgan>***运管所</transCertificateGrantOrgan></list><list><transCertificateCode>34********40</transCertificateCode><ownerName>上海市*****有限公司</ownerName><certificateState>有效</certificateState><businessState>营运</businessState><maturityWarning>0</maturityWarning><verifiedValidityDate>0</verifiedValidityDate><certificateCodeIsEquals>1</certificateCodeIsEquals><businessScopeDesc>道路普通货物运输</businessScopeDesc><vehicleLength>12000</vehicleLength><vehicleWidth>2550</vehicleWidth><vehicleHigh>3950</vehicleHigh><approveTon>18.67</approveTon><vehicleType>重型仓栅式货车</vehicleType><transCertificateGrantOrgan>***运管所</transCertificateGrantOrgan></list><list><transCertificateCode>34********40</transCertificateCode><ownerName>上海市*****有限公司</ownerName><certificateState>有效</certificateState><businessState>营运</businessState><maturityWarning>0</maturityWarning><verifiedValidityDate>0</verifiedValidityDate><certificateCodeIsEquals>1</certificateCodeIsEquals><businessScopeDesc>道路普通货物运输</businessScopeDesc><vehicleLength>12000</vehicleLength><vehicleWidth>2550</vehicleWidth><vehicleHigh>3950</vehicleHigh><approveTon>18.67</approveTon><vehicleType>重型仓栅式货车</vehicleType><transCertificateGrantOrgan>***运管所</transCertificateGrantOrgan></list></lists></result></SubmitResult>
{ "code":
"2"
, "msg":
"提交成功"
, "idcardid":
"16236437872836"
, "result":
{ "lists":
[ { "transCertificateCode":
"34********40"
, "ownerName":
"上海市*****有限公司"
, "certificateState":
"有效"
, "businessState":
"营运"
, "maturityWarning":
"0"
, "verifiedValidityDate":
"0"
, "certificateCodeIsEquals":
"1"
, "businessScopeDesc":
"道路普通货物运输"
, "vehicleLength":
"12000"
, "vehicleWidth":
"2550"
, "vehicleHigh":
"3950"
, "approveTon":
"18.67"
, "vehicleType":
"重型仓栅式货车"
, "transCertificateGrantOrgan":
"***运管所"
}
, { "transCertificateCode":
"34********40"
, "ownerName":
"上海市*****有限公司"
, "certificateState":
"有效"
, "businessState":
"营运"
, "maturityWarning":
"0"
, "verifiedValidityDate":
"0"
, "certificateCodeIsEquals":
"1"
, "businessScopeDesc":
"道路普通货物运输"
, "vehicleLength":
"12000"
, "vehicleWidth":
"2550"
, "vehicleHigh":
"3950"
, "approveTon":
"18.67"
, "vehicleType":
"重型仓栅式货车"
, "transCertificateGrantOrgan":
"***运管所"
}
, { "transCertificateCode":
"34********40"
, "ownerName":
"上海市*****有限公司"
, "certificateState":
"有效"
, "businessState":
"营运"
, "maturityWarning":
"0"
, "verifiedValidityDate":
"0"
, "certificateCodeIsEquals":
"1"
, "businessScopeDesc":
"道路普通货物运输"
, "vehicleLength":
"12000"
, "vehicleWidth":
"2550"
, "vehicleHigh":
"3950"
, "approveTon":
"18.67"
, "vehicleType":
"重型仓栅式货车"
, "transCertificateGrantOrgan":
"***运管所"
}
]
}
}
示例(失败)
<?xml version="1.0" encoding="utf-8"?><SubmitResult><code>1</code><msg>提交失败</msg></SubmitResult> {"code":"1","msg":"提交失败"}
$account = 'xxxxxxxx';
$password = 'xxxxxxxxx';
$app = 'translic'; //固定值
$time = '1623643787';
$password=md5($account.$password.$app.$time);
$password=md5('xxxxxxxxxxxxxxxxxtranslic1623643787');
//注意:所有字符编码统一为UTF-8
国内专业互联网团队
21年行业经验
7x24小时售后支持
丰富的行业经验
Copyright © 2004-2025 上海思锐信息技术有限公司 All rights reserved. 沪ICP备07035915号-15 电信增值业务许可证:B2-20160082
服务热线:
4008 808 898
服务热线(工作时间):
4008 808 898
业务咨询(非工作时间):
售后咨询(非工作时间):