1)请求地址
https://v.1dq.com/api/c97
2)示范URL
https://v.1dq.com/api/c97?key=您的key&com=小米科技有限责任公司&page=1&limit=10
3)请求参数
字段名称 |
类型 |
必填 |
字段说明 |
示范 |
备注 |
key |
string |
Y |
AppKey在我的数据页面 |
xxxxxx |
- |
com |
string |
Y |
公司名称 |
小米科技有限责任公司 |
- |
page |
int |
N |
页码 |
1 |
- |
limit |
int |
N |
每页显示条数 |
10 |
- |
4)选填参数
字段名称 |
类型 |
必填 |
字段说明 |
示范 |
备注 |
trans_id |
string |
N |
用户订单号,24 字符以内 |
2017201230 |
- |
trans_date |
string |
N |
用户订单时间,格式为YYmmddHHiiss |
20160112122233 |
- |
trans_remark |
string |
N |
用户备注,原路返回 |
xxx |
- |
account |
string |
N |
是否返回账户信息 ,如需返回剩余可用次数,请传递auto如果账户是按次数扣除,则返回剩余次数如账户是按金额扣除,则返回账户剩余金额
|
auto |
- |
output |
string |
N |
输出格式,默认JSON;可选项JSON/XML |
JSON |
- |
5)返回参数
字段名称 |
类型 |
必填 |
字段说明 |
示范 |
备注 |
error_code |
int |
Y |
状态码 |
- |
- |
reason |
string |
Y |
状态说明 |
- |
- |
ordersign |
string |
Y |
订单号 |
- |
- |
result |
string |
Y |
结果集 |
- |
- |
6)返回JSON结果示例
{
"error_code": 0,
"reason": "查询成功",
"result": [
{
"certNo": "2014011606680487",
"certStatus": "暂停",
"issuedCompanyName": "中国质量认证中心",
"expiredDate": "2019-03-14",
"certificationProgram": "CCC/电信终端设备",
"name": "小米科技有限责任公司",
"detailInfo": "证书详细信息"
}
],
"ordersign": "2cb5e5ae30e3b50c32a82a19463df855"
}