services.shift.count
获取第三方班次数量
- 请求路由:
services.shift.count- 交互模型:
Request Response- 访问限制: 无
请求
RSocket.rr({
"route" : "services.shift.count",
"data" : {
"replaceMe" : "条件"
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
shiftId | String | 否 | 指定班次(选传) |
orderType | Number | 否 | 查询班次订单类型(必传) 2-专线 3-巴士 |
companyId | String | 否 | 指定公司id(选传) |
onStationId | String | 否 | 上车站点id(必传) |
offStationId | String | 否 | 下车站点id(必传) |
departureDate | String | 否 | 班次出发日期(yyyy-MM-dd)(必传) 如ticketType为1则不需要传递 |
ticketType | String | 否 | 购票类型(必传) 0-购买明确日期实体票 1-购买抵用劵,不具体返程日期和班次 |
account | String | 否 | 账户类型(默认RMB) RMB-人民币账户 HKD-港币账户 onePrice-一元账户 |
currency | String | 否 | 币种(必传) RMB-人民币 HKD-港币 MOP-澳币 |
isReturn | String | 否 | 单双程(必传) 0-单 1-双 |
returnShiftAttachRequest | Object | 否 | 回程班次查询附加条件 |
returnShiftAttachRequest.onStationId | String | 否 | 去程上车站点id(必传) |
returnShiftAttachRequest.offStationId | String | 否 | 去程下车站点id(必传) |
returnShiftAttachRequest.departureDate | String | 否 | 去程班次出发日期(yyyy-MM-dd)(必传) |
returnShiftAttachRequest.shiftId | String | 否 | 去程班次id(必传) |
returnShiftAttachRequest.companyId | String | 否 | 去程班次公司id(必传) |
返回
数量
{ }