services.shift.info
通过班次id信息获取指定班次信息
- 请求路由:
services.shift.info- 交互模型:
Request Response- 访问限制: 无
请求
RSocket.rr({
"route" : "services.shift.info",
"data" : {
"replaceMe" : "请求信息"
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
shiftId | String | 否 | 班次id(必传) |
shiftRequest | Object | 否 | 班次请求对象(必传) |
shiftRequest.zlPlan | String | 否 | 获取中旅接口方案 |
shiftRequest.otherFromCityId | String | 否 | 第三方开始城市id |
shiftRequest.otherToCityId | String | 否 | 第三方结束城市id |
shiftRequest.otherOnStationId | String | 否 | 第三方上车站点id |
shiftRequest.otherOffStationId | String | 否 | 第三方下车站点id |
shiftRequest.returnOtherFromCityId | String | 否 | 回程里去程第三方开始城市id |
shiftRequest.returnOtherToCityId | String | 否 | 回程里去程第三方结束城市id |
shiftRequest.returnOtherOnStationId | String | 否 | 回程里去程第三方上车站点id |
shiftRequest.returnOtherOffStationId | String | 否 | 回程里去程第三方下车站点id |
shiftRequest.shiftId | String | 否 | 指定班次(选传) |
shiftRequest.orderType | Number | 否 | 查询班次订单类型(必传) 2-专线 3-巴士 |
shiftRequest.companyId | String | 否 | 指定公司id(选传) |
shiftRequest.onStationId | String | 否 | 上车站点id(必传) |
shiftRequest.offStationId | String | 否 | 下车站点id(必传) |
shiftRequest.departureDate | String | 否 | 班次出发日期(yyyy-MM-dd)(必传) 如ticketType为1则不需要传递 |
shiftRequest.ticketType | String | 否 | 购票类型(必传) 0-购买明确 日期实体票 1-购买抵用劵,不具体返程日期和班次 |
shiftRequest.account | String | 否 | 账户类型(默认RMB) RMB-人民币账户 HKD-港币账户 onePrice-一元账户 |
shiftRequest.currency | String | 否 | 币种(必传) RMB-人民币 HKD-港币 MOP-澳币 |
shiftRequest.isReturn | String | 否 | 单双程(必传) 0-单 1-双 |
shiftRequest.returnShiftAttachRequest | Object | 否 | 回程班次查询附加条件 |
shiftRequest.returnShiftAttachRequest.onStationId | String | 否 | 去程上车站点id(必传) |
shiftRequest.returnShiftAttachRequest.offStationId | String | 否 | 去程下车站点id(必传) |
shiftRequest.returnShiftAttachRequest.departureDate | String | 否 | 去程班次出发日期(yyyy-MM-dd)(必传) |
shiftRequest.returnShiftAttachRequest.shiftId | String | 否 | 去程班次id(必传) |
shiftRequest.returnShiftAttachRequest.companyId | String | 否 | 去程班次公司id(必传) |
返回
班次信息
{ }
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
scheduleId | String | 班次id |
companyId | String | 公司id |
companyName | String | 公司名称 |
portId | String | 途径口岸id |
portName | String | 途径口岸名称 |
startCity | String | 开始城市 |
endCity | String | 结束城市 |
startStation | String | 上车站点id |
endStation | String | 下车站点id |
shiftTime | String | 班次时间 |
runTime | String | 该班次开车时间 HH:mm |
endTime | String | 该班次结束时间 HH:mm |
prices | Object[] | 班次中所有票种对应价格 |
prices.[].fee | String | 价格 |
prices.[].ticketTypeId | String | 票种类型id |
prices.[].ticketTypeName | String | 票价类型名称 |
prices.[].ticketCategoryLineId | String | 路线票种id |
prices.[].ticketCategoryName | String | 线路票种名称 |
viaStationInfos | Object[] | 途径站点信息 |
viaStationInfos.[].type | String | 类型 0-开始城市下站点 1-结束城市下站点 |
viaStationInfos.[].otherStationId | String | 第三方站点id |
viaStationInfos.[].otherStationName | String | 第三方站点名称 |
viaStationInfos.[].time | String | 通过时间(HH:mm) |
extraProps | Object | 扩展属性 |
crBy | String | 创建者 |
upBy | String | 最后修改者 |
crDate | String | 创建时间 |
upDate | String | 最后修改时间 |
tenantId | String | 租户ID |
id | Varies |