2.15.2 查询账单明细
接口说明
- 1.新接口
- 2.根据账单号和订单号查询账单明细数据
名称 | 描述 |
---|---|
沙箱环境地址 | https://open-plus-test.fenbeijinfu.com |
生产环境地址 | https://open-plus.fenbeitong.com |
HTTP方法 | POST |
Content-Type | application/x-www-form-urlencoded |
method | /openapi/func/bill/queryOrderDetail |
字段 | 名称 | 类型 | 必填 | 描述 |
---|---|---|---|---|
access_token | 鉴权Token | string | Y | 5747fbc10f0e60e0709d8d722 |
sign | 签名 | string | Y | oihfnlyeofdh98 |
timestamp | 时间戳 | long | Y | 13位时间戳 1241243250000 |
data | 请求数据 | jsonobject | Y | 请求数据 |
data.bill_no | 账单编号 | string | Y | 账单编号 |
data.page_index | 页码 | integer | N | 默认值1 |
data.page_size | 条数 | integer | N | 默认值500,最大值500 |
请求示例:
"access_token":"5747fbc10f0e60e0709d8d722",
"timestamp":124124325,
"sign":"oihfnlyeofdh98",
"data":{
"bill_no":"0000888820191225",
"page_index":1,
"page_size":10
}
响应结果:
字段 | 名称 | 类型 | 必填 | 描述 |
---|---|---|---|---|
page_info | 分页信息 | jsonobject | Y | 分页信息 |
page_info.page_size | 每页条数 | integer | Y | 每页条数 |
page_info.current_page | 当前页码 | integer | Y | 当前面码 |
page_info.total_pages | 分页总数 | integer | Y | 分页总数 |
page_info.total_size | 数据总数 | integer | Y | 数据总数 |
list | 数据列表 | jsonarray | Y | 数据列表 |
list.order_category | 业务线 | integer | Y | 业务线:3:用车;7:机票;11:酒店;15:火车;20:采购;30:口碑用餐;40:机票;50:外卖;60:美团点评;126:分贝通虚拟卡;131:快递;130:闪送;911:其他订单 |
list.order_id | 订单号 | string | Y | 订单号 |
list.source_order_id | 主订单号 | string | Y | 主订单号 |
list.order_create_time | 预订/退票/下单日期时间 | date | Y | 预订/退票/下单日期时间 |
list.ticket_no | 票号/取票号 | string | Y | 票号/取票号 |
list.order_category_type | 机票分类/用车服务商/其他订单业务类别 | string | Y | 机票分类/用车服务商/其他订单业务类别 |
list.ticket_status | 机票/订单/支付状态 | string | Y | 机票/订单/支付状态 |
list.employee_name | 预订/下单/用餐人 | string | Y | 预订/下单/用餐人 |
list.employee_phone | 预订/下单/用餐人手机号 | string | Y | 预订/下单/用餐人手机号 |
list.department_name | 预定/下单/用餐人直属部门 | string | Y | 预定/下单/用餐人直属部门 |
list.department_hierarchy | 预订/下单人层级部门 | string | Y | 预订/下单人层级部门 |
list.third_employee_id | 预订/下单/用餐人第三方人员id | string | N | 预订/下单/用餐人第三方人员id |
list.third_department_id | 预订/下单/用餐人第三方部门id | string | N | 预订/下单/用餐人第三方部门id |
list.customer_name | 旅客/乘车人/使用人/发件人/交易人姓名 | string | Y | 旅客/乘车人/使用人/发件人/交易人姓名 |
list.customer_phone | 旅客/乘车人/发件人手机号/使用人/交易人手机号 | string | Y | 旅客/乘车人/发件人手机号/使用人/交易人手机号 |
list.customer_dept | 旅客直属部门/乘车人部门/使用人直属部门 | string | Y | 旅客直属部门/乘车人部门/使用人直属部门 |
list.customer_hierarchy_dept | 旅客/乘车人层级部门/使用人层级部门 | string | Y | 旅客/乘车人层级部门/使用人层级部门 |
list.third_customer_id | 旅客/乘车人/使用人/发件人/交易人第三方人员id | string | N | 旅客/乘车人/使用人/发件人/交易人第三方人员id |
list.third_customer_dept_id | 旅客/乘车人/使用人/发件人/交易人第三方部门id | string | N | 旅客/乘车人/使用人/发件人/交易人第三方部门id |
list.trip_type | 行程/用车类型/主门店/商家名称 | string | Y | 行程/用车类型/主门店/商家名称 |
list.trip_info | 火车/机票行程/分门店名/被保人/收件人姓名 | string | Y | 火车/机票行程/分门店名/被保人/收件人姓名 |
list.flight_no | 航班号/车次/服务类型/门店地址/收件人手机号 | string | Y | 航班号/车次/服务类型/门店地址/收件人手机号 |
list.departure_name | 出发城市/下单城市 | string | Y | 出发城市/下单城市 |
list.from_station_name | 出发车站/出发地/发件地址 | string | Y | 出发车站/出发地/发件地址 |
list.arrival_name | 到达城市/入住城市/目的城市/用餐城市 | string | Y | 到达城市/入住城市/目的城市/用餐城市 |
list.to_station_name | 到达车站/目的地/门店地址/收件地址 | string | Y | 到达车站/目的地/门店地址/收件地址 |
list.departure_time | 起飞/入住/出发/行程开始时间 | string | Y | 起飞/入住/出发/行程开始时间 |
list.back_departure_time | 到达/离店/支付/完成时间 | string | Y | 到达/离店/支付/完成时间 |
list.discount | 机票折扣 | double | Y | 机票折扣 |
list.seat_type | 坐席/产品类目/业务描述 | string | Y | 坐席/产品类目/业务描述 |
list.seat_location | 座位编号/明细/商品明细 | string | Y | 座位编号/明细/商品明细 |
list.number_of_nights | 间夜数/商品数量/用餐人数 | integer | Y | 间夜数/商品数量/用餐人数 |
list.sale_price | 票销售价/平均客房单价/车票单价/商品单价 | double | Y | 票销售价/平均客房单价/车票单价/商品单价 |
list.airport_fee | 机场建设费 | double | Y | 机场建设费 |
list.fuel_fee | 燃油费 | double | Y | 燃油费 |
list.taxes | 税费 | double | Y | 税费 |
list.taxi_price | 用车金额/采购商品总价 | double | Y | 用车金额/采购商品总价 |
list.insurance_price | 保险费/运费 | double | Y | 保险费/运费 |
list.endorse_diff_fee | 改签差价 | double | Y | 改签差价 |
list.change_fee | 改签费/改签手续费 | double | Y | 改签费/改签手续费 |
list.upgrate_fee | 升舱费/火车抢票费/用车调度费 | double | Y | 升舱费/火车抢票费/用车调度费 |
list.refund_ext_fee | 退票费 | double | Y | 退票费 |
list.coupon_amount | 优惠券/折扣 | double | Y | 优惠券/折扣 |
list.total_price | 销售总价/本次企业最高支付/订单实付 | double | Y | 销售总价/本次企业最高支付/订单实付 |
list.service_fee_reduction | 减免金额 | double | Y | 减免金额 |
list.company_pay_price | 企业支付 | double | Y | 企业支付 |
list.service_fee | 服务费 | double | Y | 服务费 |
list.total_amount | 应收总额 | double | Y | 应收总额 |
list.red_coupon | 红包券支付 | double | Y | 红包券支付 |
list.personal_pay_price | 员工支付/个人支付(含分贝币支付) | double | Y | 员工支付/个人支付(含分贝币支付) |
list.reason | 事由 | string | Y | 事由 |
list.cost_attribution_category | 费用归属类型 | string | Y | 费用归属类型,1.部门 2.项目 |
list.cost_attribution_name | 费用归属 | string | Y | 费用归属 |
list.project_code | 项目编号 | string | Y | 项目编号 |
list.is_need_trip_apply | 是否需要行程审批 | string | Y | 是否需要行程审批 1:是;2:否 |
list.trip_apply_id | 行程审批单号 | string | Y | 行程审批单号 |
list.is_hyper_gauge | 是否超规 | string | Y | 是否超规 1:是;2:否 |
list.hyper_gauge_reason | 超规理由 | string | Y | 超规理由 |
list.is_need_during_apply | 是否需要订单审批 | string | Y | 是否需要订单审批 1:是;2:否 |
list.during_apply_id | 订单审批单号 | string | Y | 订单审批单号 |
list.hyper_gauge_info | 超规项 | string | Y | 超规项 |
list.is_need_re_apply | 是否需要退改控制 | string | Y | 是否需要退改控制 1:是;0:否 |
list.re_apply_id | 退改审批单号 | string | Y | 退改审批单号 |
list.re_apply_reason | 退改理由 | string | Y | 退改理由 |
list.custom_field1 | 自定义字段1 | string | Y | 自定义字段1 |
list.custom_field2 | 自定义字段2 | string | Y | 自定义字段2 |
list.custom_field3 | 自定义字段3 | string | Y | 自定义字段3 |
list.remark | 标签 | string | Y | 标签 |
{
"code": 0,
"msg": "success",
"data": {
"page_info": {
"page": 1,
"page_size": 1,
"current_page": 1,
"total_pages": 1586,
"total_size": 1586
},
"list": [
{
"order_category": 3,
"order_id": "5ca17ae423445f44282d4010",
"source_order_id": "",
"order_create_time": "2019-04-01 10:43:49",
"ticket_no": null,
"order_category_type": null,
"ticket_status": "已取消",
"employee_name": "李唯",
"employee_phone": "18211174628",
"department_name": "IOSLeeOne(李唯)",
"department_hierarchy": "北京分贝金服科技有限公司/IOSLeeOne(李唯)",
"third_employee_id": null,
"third_department_id": null,
"customer_name": "李唯",
"customer_phone": "18211174628",
"customer_dept": "IOSLeeOne(李唯)",
"customer_hierarchy_dept": "北京分贝金服科技有限公司/IOSLeeOne(李唯)",
"third_customer_id": null,
"third_customer_dept_id": null,
"trip_type": "车",
"trip_info": null,
"flight_no": "实时",
"departure_name": "世贸天阶南街(南街4门)",
"from_station_name": "光华路甲9号世贸天阶南街1层",
"arrival_name": "三里屯太古里",
"to_station_name": "朝阳区三里屯路19号",
"departure_time": null,
"back_departure_time": "2019-04-01 10:43:57",
"discount": null,
"seat_type": null,
"seat_location": null,
"number_of_nights": null,
"sale_price": null,
"airport_fee": null,
"fuel_fee": null,
"taxes": null,
"taxi_price": 0,
"insurance_price": 0,
"endorse_diff_fee": null,
"change_fee": null,
"upgrate_fee": null,
"refund_ext_fee": null,
"coupon_amount": 0,
"total_price": 0,
"service_fee_reduction": 0,
"company_pay_price": 0,
"service_fee": 0,
"total_amount": 0,
"red_coupon": null,
"personal_pay_price": 0,
"reason": "加班 测试",
"cost_attribution_category": "1",
"cost_attribution_name": "北京分贝金服科技有限公司",
"project_code": null,
"is_need_trip_apply": "2",
"trip_apply_id": "",
"is_hyper_gauge": "2",
"hyper_gauge_reason": "",
"is_need_during_apply": "2",
"during_apply_id": "",
"hyper_gauge_info": null,
"is_need_re_apply": null,
"re_apply_id": null,
"re_apply_reason": null,
"custom_field1": null,
"custom_field2": null,
"custom_field3": null,
"remark": null
}
]
},
"request_id": "lHyNSmerQBz8XNhc"
}