scorders.partner.me
获取自己合伙人身份下需要分账的专线订单列表
- 请求路由:
scorders.partner.me- 交互模型:
Response Stream- 访问限制: 无
请求
RSocket.rs({
"route" : "scorders.partner.me",
"args" : {
"search" : "条件",
"pg" : "分页对象"
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
search | Object | 否 | 条件 |
search.orderIds | String[] | 否 | 订单id集合 |
search.filterChangeOrder | Boolean | 否 | 过滤改签后订单 |
search.partnerProfitShare | Boolean | 否 | 合伙人是否需要分账 |
search.fromTime | String | 否 | 开始时间 yyyy-MM-dd 用于查询上车时间 |
search.toTime | String | 否 | 结束时间 yyyy-MM-dd 用于查询上车时间 |
search.settlementId | String | 否 | 结算id,查询指定结算下的信息搭配partnerId使用 |
search.mobile | String | 否 | 手机号,用来查询他人给自己下的订单 |
search.portType | Number | 否 | 口岸类型 |
search.startMainArea | String | 否 | 开始城市 |
search.endMainArea | String | 否 | 结束城市 |
search.startMinorArea | String | 否 | 开始站点 |
search.endMinorArea | String | 否 | 结束站点 |
search.tenantId | String | 否 | 租户 |
search.orderStatus | Number | 否 | 专线订单状态 0-已取消 1-已支付 2-已完成 3-其他 |
search.ticketState | String | 否 | 车票状态 0-已取消 1-未乘车 2-已乘车 3-已完成 4-未知状态 5-已过期 |
search.ticketStatus | String[] | 否 | 车票状态集合 0-已取消 1-未乘车 2-已乘车未转乘 3-已完成 4-其他 5-已过期 |
search.refundStatus | Number | 否 | 返回状态 |
search.username | String | 否 | 用户 |
search.reissueStatus | Number | 否 | |
search.type | Number | 否 | |
search.partnerId | String | 否 | |
search.dailySettleId | String | 否 | |
search.monthlySettleId | String | 否 | |
search.companyId | String | 否 | |
search.writeOff | Number | 否 | 0:未核销,1:已核销 |
search.writeOffForm | String | 否 | |
search.writeOffTo | String | 否 | |
search.writeSign | String | 否 | |
search.success | Number[] | 否 | 组合状态 |
search.startMinorAreas | String[] | 否 | 上车站点列表 |
search.endMinorAreas | String[] | 否 | 下车站点列表 |
search.portTypes | Number[] | 否 | 口岸列表 |
search.keyword | String | 否 | 模糊匹配关键字 |
search.from | String | 否 | 查询起始时间,时间样式为RFC3339格式,如:2019-04-18T00:13:39.649Z |
search.to | String | 否 | 查询终止时间,时间样式为RFC3339格式,如:2019-04-19T00:13:39.649Z |
pg | Object | 否 | 分页对象 |
pg.page | Number | 否 | 页码,首页从0开始 |
pg.size | Number | 否 | 每页记录,默认为10 |
pg.sort | String[] | 否 | 排序字段清单,默认为升序,需要指定降序时在字段名后面添加desc并用分号隔开。 例如:["id", "crDate;desc"] |
返回
专线订单详细信息
[ ]
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
applicationRefunds | Object[] | 申请退款信息集合 |
applicationRefunds.[].applicationId | String | 申请编号 S + 年月日 + 自增编号 |
applicationRefunds.[].cancelCoupon | Boolean | 是否取消卡券 |
applicationRefunds.[].cancelOrder | Boolean | 是否取消订单 |
applicationRefunds.[].state | String | 申请状态 - -1 已取消 - 0 已驳回 - 1 申请中 - 2 已提交 |
applicationRefunds.[].refundId | String | 退款流水号 |
applicationRefunds.[].serviceCharge | Number | 手续费 |
applicationRefunds.[].type | String | 退款类型 - 0 车票退款 - 1 包车退款 - 2 其他退款 |
applicationRefunds.[].refunded | Boolean | 财务是否退款 - false 未退款 - true 已退款 |
applicationRefunds.[].refundTime | String | 实际退款时间 |
applicationRefunds.[].distanceTime | String | 距离时间 |
applicationRefunds.[].cancelTime | String | 申请取消时间 |
applicationRefunds.[].refundPrice | Number | 申请退款金额 |
applicationRefunds.[].cancelRemark | String | 申请说明 |
applicationRefunds.[].rejectRemark | String | 驳回说明 |
applicationRefunds.[].rejectTime | String | 驳回时间 |
applicationRefunds.[].attachments | Object[] | 附件 |
applicationRefunds.[].attachments.[].title | String | 附件标题 |
applicationRefunds.[].attachments.[].description | String | 附件说明 |
applicationRefunds.[].attachments.[].binaryId | String[] | 附件id |
applicationRefunds.[].orderInfo | Object | 关联订单信息 |
applicationRefunds.[].orderInfo.companyId | String | 公司id |
applicationRefunds.[].orderInfo.directRoute | Boolean | 包车订单必须字段,本次退款是针对哪个任务 false-A段/直达 true-B段 |
applicationRefunds.[].orderInfo.orderId | String | 订单id |
applicationRefunds.[].orderInfo.suborderId | String | 子订单号 |
applicationRefunds.[].orderInfo.orderType | Number | 订单类型:1-包车订单 2-班车订单 3-巴士订单 |
applicationRefunds.[].orderInfo.orderPrice | Number | 订单价格 |
applicationRefunds.[].orderInfo.orderState | Number | 订单状态 |
applicationRefunds.[].orderInfo.orderTime | String | 出行时间 |
applicationRefunds.[].orderInfo.name | String | 下单人名称 |
applicationRefunds.[].refundPayers | Object[] | 退款出资方,如果没有调整分账方数据则不需要上传 |
applicationRefunds.[].refundPayers.[].pendingSettlementAmount | Number | 待分账金额(单位:分) |
applicationRefunds.[].refundPayers.[].settled | Boolean | 是否分账 false - 未分账(还可调整分账方和退款) true - 已分账(不可调整分账方,如果去退款需要提示已分账是否还进行退款) |
applicationRefunds.[].refundPayers.[].refundedAmount | Number | 已退款金额(单位:分) |
applicationRefunds.[].refundPayers.[].contributionAmount | Number | 本次退款出资金额(单位:分) |
applicationRefunds.[].refundPayers.[].targetType | String | 帐户类型 由调用方根据分账方身份类型定义,例如:COMPANY,PARTNER,CHANNEL等 |
applicationRefunds.[].refundPayers.[].targetId | String | targetType下的帐户标识 |
applicationRefunds.[].refundPayers.[].targetName | String | 帐户名 |
applicationRefunds.[].ticketRefundInfos | Object[] | 车票退款信息 注:如果只是忽略车票则只需要把忽略的车票传递上来 |
applicationRefunds.[].ticketRefundInfos.[].originalPrice | Number | 平台车票对外票价(必须) |
applicationRefunds.[].ticketRefundInfos.[].thirdTicketPrice | Number | 第三方车票对外票价(必须) |
applicationRefunds.[].ticketRefundInfos.[].thirdOriginalPrice | Number | 第三方车票成本价(必须) |
applicationRefunds.[].ticketRefundInfos.[].shiftTime | String | 车票发车时间(必须) |
applicationRefunds.[].ticketRefundInfos.[].ticketCode | String | 车票号(必须) |
applicationRefunds.[].ticketRefundInfos.[].ticketGroup | String | 票组信息(必须) |
applicationRefunds.[].ticketRefundInfos.[].isReturn | String | 是否回程(必须) 0-去程 1-回程 |
applicationRefunds.[].ticketRefundInfos.[].firstChangePrice | Number | 使用优惠券金额 |
applicationRefunds.[].ticketRefundInfos.[].cancelTicket | Boolean | 是否取消车票 false - 不取消 true - 取消 |
applicationRefunds.[].ticketRefundInfos.[].passengerName | String | 乘客名 |
applicationRefunds.[].ticketRefundInfos.[].serviceCharge | Number | 手续费 |
applicationRefunds.[].ticketRefundInfos.[].thirdServiceCharge | Number | 第三方手续费 |
applicationRefunds.[].ticketRefundInfos.[].operatingState | String | 中港通状态 |
applicationRefunds.[].ticketRefundInfos.[].state | String | 车票状态 |
applicationRefunds.[].ticketRefundInfos.[].refundPrice | Number | 退款金额 |
applicationRefunds.[].ticketRefundInfos.[].operatorRefundPrice | Number | 第三方退款金额 |
applicationRefunds.[].ticketRefundInfos.[].operatorRefundTime | String | 运营商退款时间 |
applicationRefunds.[].rejectInfo | Object[] | 驳回信息 |
applicationRefunds.[].rejectInfo.[].ticketCodes | String[] | 车票集合 |
applicationRefunds.[].rejectInfo.[].reason | String | 驳回原因 |
applicationRefunds.[].rejectInfo.[].time | String | 驳回时间 |
applicationRefunds.[].refundInfos | Object[] | 退款信息 |
applicationRefunds.[].refundInfos.[].refunded | Boolean | 是否退款 - false 未退款 - true 已退款 |
applicationRefunds.[].refundInfos.[].refundTime | String | 实际退款时间 |
applicationRefunds.[].refundInfos.[].refundChannel | String | 退款渠道 WX-微信 DOUYIN-抖音 |
applicationRefunds.[].refundInfos.[].refundPrice | Number | 退款金额 |
applicationRefunds.[].extraProps | Object | 扩展属性 |
applicationRefunds.[].crBy | String | 创建者 |
applicationRefunds.[].upBy | String | 最后修改者 |
applicationRefunds.[].crDate | String | 创建时间 |
applicationRefunds.[].upDate | String | 最后修改时间 |
applicationRefunds.[].tenantId | String | 租户ID |
applicationRefunds.[].id | Varies | |
orderCommentCount | Number | 订单评价数量 |
partnerName | String | 合伙人名称 |
portTypeName | String | 口岸名称 |
orderStatusName | String |