接口描述
> 查看订单详情([需验证](https://www.showdoc.cc/ybd?page_id=1865243955181250 "需验证"))
请求URL
> [通讯地址 + 企业api基础链接](https://www.showdoc.cc/ybd?page_id=1865243955181250 "通讯地址 + 企业api基础链接") + /order/detail
请求方式
> GET
请求参数
参数名 |
类型 |
说明 |
orderNo |
string |
订单号 |
请求示例
"orderNo"="20190415152645093"
响应结果
> [响应结构](https://www.showdoc.cc/ybd?page_id=1873739988592287 "响应结构")
OrderDetailResp
参数名 |
类型 |
说明 |
orderNo |
string |
订单号(同请求中的订单号) |
surveyItemIds |
string |
调查项描述(ID)<br/>格式:调查项1:份数,调查项2:份数<br/>例子:1:1,14:1 |
surveyItemStr |
string |
调查项描述(调查项名)<br/>格式:调查项1名称:份数,调查项2名称:份数<br/>例子:身份信息核实:1,公共负面信息查询:1 |
title |
string |
套餐名 |
channel |
string |
支付方式<br/>wx-jsapi:微信JSAPI支付<br/>wx-h5:微信H5支付<br/>wx-native:微信PC扫码支付<br/>wx-app:APP微信支付<br/>alipay:支付宝支付<br/>balance:余额支付 |
status |
int |
订单状态:<br/>-10:已取消<br/>30:待支付<br/>40:进行中<br/>50:已完成 |
authType |
int |
授权方式:<br/>1:线下授权<br/>2:短信授权<br/>3:硬件授权<br/>4:接口文件授权 |
price |
int |
订单金额(单位:分) |
createTime |
string |
创建时间,格式:yyyy-MM-dd HH:mm:ss |
paymentTime |
string |
支付时间,格式:yyyy-MM-dd HH:mm:ss |
completeTime |
string |
完成时间,格式:yyyy-MM-dd HH:mm:ss |
withdrawTime |
string |
退款时间,格式:yyyy-MM-dd HH:mm:ss |
withdrawAmount |
int |
退款金额(单位:分) |
records |
list |
调查列表 -> OrderDetailRespRecord |
OrderDetailRespRecord
参数名 |
类型 |
说明 |
recordNo |
string |
背调号 |
candidateName |
string |
候选人姓名 |
candidateIdCardNo |
string |
候选人身份证号码 |
candidatePhone |
string |
候选人实名手机号码,授权方式为[短信授权]时有值 |
status |
int |
背调状态<br/>-10:已取消<br/>30:待支付<br/>40:待授权<br/>45:背调中<br/>50:已出报告 |
identificationMatch |
boolean |
身份核实通过 |
authTime |
string |
授权时间,格式:yyyy-MM-dd HH:mm:ss |
withdrawReason |
int |
退款原因<br/>1:取消(手机号码非本人实名认证)<br/>2:身份匹配失败<br/>3:内部异常<br/>4:取消(超时未授权)<br/>5:部分失败 |
withdrawAmount |
int |
退款金额(单位:分) |
items |
list |
背调调查项 -> OrderDetailRespItem |
OrderDetailRespItem
参数名 |
类型 |
说明 |
surveyItemId |
int |
调查项ID |
surveyItemStr |
string |
调查项名 |
icon |
string |
调查项icon(css) |
hasProblem |
boolean |
是否需要关注(当前调查项的任何一段需要关注,则需要关注) |
sections |
list |
分段 -> OrderDetailRespSection<br/> 一种调查项可以有 n(n≥1)段 |
OrderDetailRespSection
参数名 |
类型 |
说明 |
sectionIndex |
int |
分段索引,从1开始 |
singlePrice |
int |
背调调查项单价(单位:分) |
hasProblem |
boolean |
是否需要关注 |
status |
int |
背调调查项状态<br/>0:初始化<br/>1:待处理<br/>2:处理成功<br/>9:处理失败 |
响应示例
{
"code": "000",
"key": "CF6BF781AB82FEF5BFDF96B054ECEB15",
"seq": "s20190415111700",
"ts": "20190415184819",
"sign": "b69dbc419e425239973ba91af519a936",
"msg": {
"orderNo": "20190415152645093",
"surveyItemIds": "1:1,14:1",
"surveyItemStr": "身份信息核实:1,公共负面信息查询:1",
"title": "自定义订单",
"channel": null,
"price": 5500,
"status": 30,
"createTime": "2019-04-15 15:26:45",
"paymentTime": null,
"completeTime": null,
"withdrawTime": null,
"withdrawAmount": 0,
"authType": 2,
"records": [
{
"recordNo": "20190415152645093983751",
"candidateName": "袁重玉",
"candidateIdCardNo": "310109198412******",
"candidatePhone": "13585590312",
"status": 30,
"identificationMatch": false,
"authTime": null,
"withdrawReason": null,
"withdrawAmount": 0,
"items": [
{
"surveyItemId": 1,
"icon": "icon-shenfenyanzheng",
"surveyItemStr": "身份信息核实",
"hasProblem": false,
"sections": [
{
"singlePrice": 1500,
"hasProblem": false,
"status": 0
}
]
},
{
"surveyItemId": 14,
"icon": "icon-shoukao",
"surveyItemStr": "公共负面信息查询",
"hasProblem": false,
"sections": [
{
"singlePrice": 4000,
"hasProblem": false,
"status": 0
}
]
}
]
}
]
}
}
备注