订单号查询订单
开发中GET
/api/order-service/order/ticket/query请求参数
Query 参数
orderSn
string
可选
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
string
必需
message
null
必需
data
object
必需
ridingDate
string
必需
trainNumber
string
必需
departureTime
string
必需
arrivalTime
string
必需
passengerDetails
array [object {8}]
必需
requestId
null
必需
success
boolean
必需
示例
{
"code": "0",
"message": null,
"data": {
"ridingDate": "2023-06-01",
"trainNumber": "G35",
"departureTime": "09:56",
"arrivalTime": "14:26",
"passengerDetails": [
{
"seatType": 0,
"carriageNumber": "01",
"seatNumber": "01A",
"realName": "马百万",
"idType": 0,
"idCard": "1234567890",
"ticketType": 0,
"amount": 231300
},
{
"seatType": 0,
"carriageNumber": "01",
"seatNumber": "01F",
"realName": "花花",
"idType": 0,
"idCard": "1234567890",
"ticketType": 0,
"amount": 231300
}
]
},
"requestId": null,
"success": true
}
最后修改时间: 1 年前