{
"from": "string",
"to": "string",
"fromCode": "string",
"toCode": "string",
"date": "string",
"isBusiness": 0
}
curl --location --request POST '/api/ops/train/search' \
--header 'Content-Type: application/json' \
--data-raw '{
"from": "string",
"to": "string",
"fromCode": "string",
"toCode": "string",
"date": "string",
"isBusiness": 0
}'
{
"success": false,
"errCode": "",
"errMsg": "",
"traceId": "",
"data": [
{
"trainNo": "",
"trainName": "",
"trainType": "",
"from": "",
"to": "",
"startTime": "",
"endDate": "",
"endTime": "",
"startDate": "",
"duration": "",
"fromStationCode": "",
"toStationCode": "",
"firstStation": "",
"firstTime": "",
"lastStation": "",
"lastTime": "",
"remainNum": "",
"minPrice": "",
"trainKey": "",
"seats": [
{
"seatType": "",
"seatName": "",
"seatPrice": "",
"remainNum": ""
}
]
}
]
}