运单风控查询
请求地址
https://www.xxyb.cn/union/api/wlpt/consignor/queryWaybillRiskControl
Header
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| Token | 是 | string | 应用令牌 |
| cid | 是 | string | 合作ID |
| corpId | 是 | string | 企业ID |
请求参数
| 参数名 | 必选 | 类型 | 层级 | 说明 | 备注 |
|---|---|---|---|---|---|
| id | 是 | string | 1 | 运单ID |
入参示例
json
{
"id": "B123456789"
}返回参数
| 参数名 | 类型 | 层级 | 说明 | 备注 |
|---|---|---|---|---|
| code | int | 1 | 状态码 | |
| msg | string | 1 | 请求结果 | |
| total | int | 1 | 返回总条数 | |
| requestId | string | 1 | 请求编号 | |
| data | array | 1 | 返回数据 | |
| riskSource | RiskSourceEnum | 2 | 异常数量 | |
| abnormalCount | int | 2 | 异常数量 | |
| riskDetails | array | 2 | 风控详情 | |
| riskType | string | 3 | 风控类型 | |
| riskCount | int | 3 | 风控数量 | |
| abnormalCount | int | 3 | 异常数量 | |
| riskItemDetails | array | 3 | 风控项详情 | |
| rikeItem | string | 4 | 风控项 | |
| isAbnormal | boolean | 4 | 是否异常 | |
| riskResults | array | 4 | 风控结果 | 字符串数组 |
反参示例
json
{
"code": 200,
"data": [
{
"riskSource": "WAYBILL",
"abnormalCount": 2,
"riskDetails": [
{
"riskType": "运力信息校验",
"riskCount": 5,
"abnormalCount": 2,
"riskItemDetails": [
{
"rikeItem": "车牌号校验",
"isAbnormal": true,
"riskResults": [
"车牌号格式异常",
"车牌号不在白名单中"
]
},
{
"rikeItem": "车辆信息校验",
"isAbnormal": false,
"riskResults": [
"车辆信息正常"
]
},
{
"rikeItem": "司机资质校验",
"isAbnormal": true,
"riskResults": [
"驾驶证已过期",
"从业资格证缺失"
]
}
]
},
{
"riskType": "证件信息校验",
"riskCount": 3,
"abnormalCount": 1,
"riskItemDetails": [
{
"rikeItem": "身份验证",
"isAbnormal": false,
"riskResults": [
"身份验证通过"
]
},
{
"rikeItem": "资质审核",
"isAbnormal": true,
"riskResults": [
"从业资格证即将过期"
]
}
]
}
]
},
{
"riskSource": "VEHICLE",
"abnormalCount": 2,
"riskDetails": [
{
"riskType": "运力信息校验",
"riskCount": 5,
"abnormalCount": 2,
"riskItemDetails": [
{
"rikeItem": "车牌号校验",
"isAbnormal": true,
"riskResults": [
"车牌号格式异常",
"车牌号不在白名单中"
]
},
{
"rikeItem": "车辆信息校验",
"isAbnormal": false,
"riskResults": [
"车辆信息正常"
]
},
{
"rikeItem": "司机资质校验",
"isAbnormal": true,
"riskResults": [
"驾驶证已过期",
"从业资格证缺失"
]
}
]
},
{
"riskType": "证件信息校验",
"riskCount": 3,
"abnormalCount": 1,
"riskItemDetails": [
{
"rikeItem": "身份验证",
"isAbnormal": false,
"riskResults": [
"身份验证通过"
]
},
{
"rikeItem": "资质审核",
"isAbnormal": true,
"riskResults": [
"从业资格证即将过期"
]
}
]
}
]
}
],
"msg": "业务处理成功",
"total": null,
"requestId": "1eb7cb0e"
}枚举
风控来源 RiskSourceEnum
| Name | Message |
|---|---|
| WAYBILL | 运单 |
| DRIVER | 司机 |
| VEHICLE | 车辆 |
