- 关于本文档
- API 调用指南
- 服务端接口
- 一、鉴权管理
- 二、企业信息
- 三、业务数据
- 四、事件订阅
- 五、通用数据
- 六、其他
订单查询(分页)
测试环境
https://openapi-uat.z-trip.cn
测试环境
https://openapi-uat.z-trip.cn
GET
/tmc/v1/order/queryListByPage
功能描述:此接口用于获取在途系统订单数据,返回结果为分页的订单数据数组。
注意:时间范围、订单号、差旅计划号,必须传一个。
请求参数
Query 参数
page
integer
页码
示例值:
1
size
integer
必需
示例值:
25
access_token
string
接口请求秘钥
bizType
string
可选
beginDate
string
可选
endDate
string
可选
timeType
string
可选
orderType
integer
可选
orderId
number
订单号
travelPlanNo
string
差旅计划号
empCode
string
出行人员工编码
userName
string
可选
返回响应
🟢200成功
application/json
Body
error
string
必需
data
object
必需
currentPage
integer
当前页码
list
array [object {43}]
数据集合
size
integer
每页条数
start
integer
第几条开始
total
integer
数据总条数
totalPage
integer
总页数
error_description
string
必需
示例
{
"error": "0",
"data": {
"currentPage": 1,
"list": [
{
"bizType": "10",
"bpBearAmount": 705,
"bpPayAmount": 705,
"completeTime": "2023-07-27 17:17:30",
"contacterName": "麟",
"costBreaks": [
{
"chief": true,
"corpCode": "YH27000000000000",
"corpName": "卧牛山建筑节能有限公司",
"costUnitCode": "YH10E00295",
"costUnitName": "集团数字中心",
"empCode": "159228",
"empName": "麟",
"orgCode": "50022380",
"orgName": "数字中心",
"percent": 100,
"totalAmount": 705
}
],
"createTime": "2023-07-27 17:13:27",
"dealFee": 0,
"departureTax": 50,
"fuelTax": 30,
"id": 108948482283264,
"illegalInfos": [
{
"empCode": "159228",
"empName": "麟",
"issueCode": "O004",
"issueInfo": "订单与申请存在地点差异"
}
],
"orderOriginType": "CC_H5",
"orderStatus": "COMPLETED",
"orderSummary": "上海-天津 2023-08-03 06:35起飞经济舱3.6折 麟",
"orderType": 1,
"originalOrderId": 108948482283264,
"paymentMethod": "BP_ACCOUNT",
"paymentTime": "2023-07-27 17:14:16",
"personalPayAmount": 0,
"productInfos": [
{
"cabinCode": "S",
"cabinFullPrice": 1760,
"cabinLevelCode": "Y",
"cabinName": "经济舱",
"discountRate": "3.6",
"flightNo": "HO1135",
"fromAirport": "PVG",
"fromAirportName": "浦东国际机场",
"fromCity": "上海",
"fromCityId": "10801",
"fromDate": "2023-08-03 06:35:00",
"fromTerminal": "T2",
"price": 625,
"product": "HO1135",
"serviceProvider": "吉祥航空",
"toAirport": "TSN",
"toAirportName": "滨海国际机场",
"toCity": "天津",
"toCityId": "10020",
"toDate": "2023-08-03 08:55:00",
"toTerminal": "T2"
}
],
"receivedAmount": 705,
"refundFee": 0,
"salePrice": 625,
"serviceChargeAmount": 0,
"taxFee": 80,
"tmcName": "系统集成接口对接TMC",
"totalAmount": 705,
"travelPlanNo": "HR19-2023-07-0747",
"travelPlans": {
"consumedAmount": 2010,
"costUnitCode": "YH10E00295",
"costUnitName": "集团数字中心",
"expense": 0,
"extend2": "{\"extendField8\":\"卧牛山建筑节能有限公司\",\"extendField2\":\"127417\",\"extendField1\":\"2023-07-27 16:08:00\",\"extendField3 \":\"婷婷\"}",
"planNo": "HR19-2023-07-0747",
"travelReason": "拜访客户",
"travelType": "90",
"travelTypeName": "其他"
},
"travelReason": "拜访客户",
"travelStartTime": "2023-08-03 06:35:00",
"travelType": "90",
"travellers": [
{
"bpBearAmount": 705,
"bpPayAmount": 705,
"credentialNo": "130430200112090543",
"credentialType": "IDENTITY",
"dealFee": 0,
"departureTax": 50,
"empCode": "159228",
"empName": "麟",
"empUniqueId": "73C7562FBCA8B55A3212592CF296D248",
"employee": true,
"facePrice": 625,
"fuelTax": 30,
"mobile": "13000006332",
"personalPayAmount": 0,
"product": "123-3123134123",
"refundFee": 0,
"salePrice": 625,
"serviceChargeAmount": 0,
"settlementStatus": "UN_SETTLEMENT",
"standardAmount": 1840,
"status": "REFUNDED",
"taxFee": 80,
"totalAmount": 705
}
],
"userCode": "159228",
"userName": "麟"
}
],
"size": 25,
"start": 0,
"total": 1,
"totalPage": 1
},
"error_description": "成功"
}
修改于 2025-04-24 03:21:19