列车经停站查询
GET
/api/ticket-service/train-station/query请求参数
Query 参数
trainId
string
列车ID
示例值:
1
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
string
必需
message
null
必需
data
array [object {5}]
必需
sequence
string
站序
departure
string
站名
arrivalTime
string
到站时间
departureTime
string
出发时间
stopoverTime
integer | null
停留时间
requestId
null
必需
success
boolean
必需
示例
{
"code": "0",
"message": null,
"data": [
{
"sequence": "1",
"departure": "北京南",
"arrivalTime": "09:56",
"departureTime": "09:56",
"stopoverTime": null
},
{
"sequence": "2",
"departure": "济南西",
"arrivalTime": "11:19",
"departureTime": "11:21",
"stopoverTime": 2
},
{
"sequence": "3",
"departure": "南京南",
"arrivalTime": "13:20",
"departureTime": "13:22",
"stopoverTime": 2
},
{
"sequence": "4",
"departure": "杭州东",
"arrivalTime": "14:26",
"departureTime": "14:28",
"stopoverTime": 2
},
{
"sequence": "5",
"departure": "宁波",
"arrivalTime": "15:14",
"departureTime": "15:14",
"stopoverTime": null
}
],
"requestId": null,
"success": true
}
最后修改时间: 2 年前