[关闭]
@ahuawaiwai 2019-03-01T09:18:02.000000Z 字数 13888 阅读 574

api.app.jinri.cn 接口

测试地址:http://api.app.jinri.org.cn/swagger/
正式地址:http://api.app.jinri.cn/swagger/
接口文档

1. 获取所有订单列表 [POST]

请求地址:[http://api.app.jinri.org.cn/api/v1/order/queryorderlist]
请求示例 (JSON):
  1. {
  2. "listStatus": "All",
  3. "apiType": "All",
  4. "userId": "505",
  5. "userName": "17621673633",
  6. "perPageCount": 5,
  7. "currentPage": 1
  8. }
  • listStatus 必填,列表订单状态
  • apiType 必填,订单接口类型
  • userId string 必填,用户编号
  • userName string 必填,用户名 (赛事需要)
  • perPageCount int 必填,每页记录数
  • currentPage int 必填,当前页数

返回示例:

  1. {
  2. "pageCount": 5,
  3. "currentPage": 1,
  4. "totalCount": 149,
  5. "data": [
  6. {
  7. "orderDate": "2018-07-25",
  8. "isCurrentYear": true,
  9. "list": [
  10. {
  11. "listStatus": 0,
  12. "apiId": 5,
  13. "createTime": "2018-07-25 17:44:01",
  14. "orderStatus": 5,
  15. "payStatus": 0,
  16. "userId": "505",
  17. "userName": "",
  18. "orderNo": "",
  19. "orderId": "902",
  20. "totalPrice": "3372.00",
  21. "depCity": "惠灵顿",
  22. "arrCity": "上海",
  23. "depAirport": "惠灵顿国际机场",
  24. "arrAirport": "浦东国际机场T1",
  25. "depTime": null,
  26. "arrTime": null,
  27. "title": null,
  28. "tripNo": null,
  29. "tripType": 1,
  30. "remark": null,
  31. "remark2": null,
  32. "imgUrl":"",
  33. "match_id":"",
  34. "is_import":false,
  35. "refund_reason":"",
  36. "game_type":"",
  37. "segments": [
  38. {
  39. "depTime": "2018-07-26 05:00",
  40. "aircom": "MU",
  41. "airLogo": "http://gjcdn.jinri.cn/static/AirLine/MU.png",
  42. "flightNo": "东方航空QF172",
  43. "index": 0
  44. }
  45. ]
  46. }
  47. ]
  48. },
  49. {
  50. "orderDate": "2018-07-24",
  51. "isCurrentYear": true,
  52. "list": [
  53. {
  54. "listStatus": 0,
  55. "apiId": 4,
  56. "createTime": "2018-07-24 14:16:19",
  57. "orderStatus": 5,
  58. "payStatus": 0,
  59. "userId": "505",
  60. "userName": "",
  61. "totalPrice": "0",
  62. "orderNo": "",
  63. "orderId": "902",
  64. "depCity": null,
  65. "arrCity": null,
  66. "depAirport": null,
  67. "arrAirport": null,
  68. "depTime": "2018-08-21",
  69. "arrTime": "2018-08-22",
  70. "title": "上海悦隆酒店",
  71. "tripNo": null,
  72. "tripType": 0,
  73. "remark": "1间",
  74. "remark2": "共1晚",
  75. "imgUrl":"",
  76. "match_id":"",
  77. "is_import":false,
  78. "refund_reason":"",
  79. "game_type":"",
  80. "segments": null
  81. },
  82. {
  83. "listStatus": 0,
  84. "apiId": 3,
  85. "createTime": "2018-07-24 09:46:03",
  86. "orderStatus": 7,
  87. "payStatus": 0,
  88. "userId": "505",
  89. "userName": "",
  90. "orderNo": "",
  91. "orderId": "902",
  92. "totalPrice": null,
  93. "depCity": "上海",
  94. "arrCity": "昆山",
  95. "depAirport": null,
  96. "arrAirport": null,
  97. "depTime": "2018-08-21 08:57",
  98. "arrTime": "2018-08-21 09:35",
  99. "title": null,
  100. "tripNo": "K376",
  101. "tripType": 0,
  102. "remark": null,
  103. "remark2": null,
  104. "imgUrl":"",
  105. "match_id":"",
  106. "is_import":false,
  107. "refund_reason":"",
  108. "game_type":"",
  109. "segments": null
  110. }
  111. ]
  112. }
  113. ],
  114. "code": 0,
  115. "isSuccess": false,
  116. "message": "查询数据成功"
  117. }
  • code:int 返回码,0代表成功
  • data:数据列表
    • orderDate:string 分组日期
    • isCurrentYear:boolean是否当年,如果是隐藏年份
      • listStatus:列表订单状态
      • apiId:订单接口类型
      • createTime:DateTime 预定日期
      • orderStatus:int 订单状态 对应具体业务状态
      • payStatus:int 支付状态 仅赛事使用 0.未支付 1.已支付
      • userId:string 用户ID
      • userName:string 用户名
      • orderNo:string 订单编号【机票、火车票、酒店】
      • orderId:string 订单id 【赛事、旅游】
      • totalPrice:string 总价【国内机票如果有优惠券 显示优惠后的价格】
      • depCity:string 出发城市
      • arrCity:string 到达城市
      • depAirport:string 出发机场
      • arrAirport:string 到达机场
      • depTime:string 出发时间/赛事时间
      • arrTime:string 到达时间
      • title:string 酒店名称/赛事名称/旅游名称
      • tripNo:string 火车票车次
      • tripType:航程类型 【只有机票使用】
      • remark:string 酒店房间数/赛事项目/旅游人数
      • remark2:string 酒店几晚
      • imgurl:string 图片url【旅游、赛事】
      • match_id:string 存放赛事信息
      • is_import:boolean 是否跑团导入【仅赛事使用】
      • refund_reason:string 失败原因【仅赛事使用】
      • game_type:string 比赛类型 1--马拉松 2--骑行 3--游泳比赛 4--其他比赛【仅赛事使用】
      • segments:List 飞机航程 【只有机票使用】
        • depTime:string 出发时间
        • aircom:string 航空公司
        • airLogo:string 航空公司Logo地址
        • flightNo:string 航班号
        • index:int 0表示去程 1表示返程
        • depCity:string 出发城市
        • arrCity:string 到达城市
        • depAirport:string 出发机场
        • arrAirport:string 到达机场
      • couponAmount:string 优惠券金额
      • isApplyChange : bool 是否申请改签,true代表申请
  • isSuccess:bool 是否成功,true代表成功
  • message: string 返回信息
  • perPageCount:int 每页记录数
  • currentPage:int 当前页数
  • totalCount:int 总行数

2. 删除订单 [POST]

请求地址:[http://api.app.jinri.org.cn/api/v1/order/deleteorder]
请求示例 (JSON):
  1. {
  2. "user": "JinriTrainIos",
  3. "sign": "4116f69880ac664fd6565dbfc781f69f",
  4. "timestamp": "1534475185418",
  5. "sessionid": "m1LaUwC/fGbBCFshtJ2iFSryzToNc+/9++FZIFF87G8NKJEl5Qr//A==",
  6. "requestKey": "e04dddce-dd07-4938-befd-62b22c42734a",
  7. "data":{
  8. "apiType": 3,
  9. "orderNo": "17621673633"
  10. }
  11. }

返回示例:

  1. {
  2. "data":true
  3. "code": 0
  4. "isSuccess":true
  5. "message":"删除订单成功"
  6. }
  • data:bool 是否成功,true代表成功
  • code:int 返回码,0代表成功
  • isSuccess:bool 接口调用是否成功,true代表成功
  • message: string 返回信息

3. 我的优惠券 [POST]

请求地址:[http://api.app.jinri.org.cn/api/v1/coupon/getCouponList]
请求示例 (JSON):
  1. {
  2. "userId": 521,
  3. "couponStatus": 1,
  4. "couponType": 1,
  5. }

返回示例:

  1. {
  2. "pageCount": 0,
  3. "currentPage": 0,
  4. "totalCount": 1,
  5. "data": [
  6. {
  7. "title": "test",
  8. "couponType": "0",
  9. "amount": 5,
  10. "minUseAmount": 0,
  11. "code": "0",
  12. "startTime": "2018-10-01 00:00:00",
  13. "endTime": "2018-11-20 00:00:00",
  14. "receiveWay": 0,
  15. "amountType": 0,
  16. "couponStatus": 1
  17. }
  18. ],
  19. "code": 0,
  20. "isSuccess": true,
  21. "message": "获取优惠券列表成功"
  22. }
  • data:数据列表
    • title: string 优惠券名称
    • couponType: sting 优惠券业务类型 (会有多个以逗号间隔) 同apiType
    • amount: decimal 金额
    • minUseAmount: decimal 最小使用金额
    • code: string 优惠券码
    • startTime: datetime 开始时间
    • endTime: datetime 结束时间
    • receiveWay: int 领取途径
    • amountType:int 金额类型
    • couponStatus:int 优惠券状态
  • code:int 返回码,0代表成功
  • isSuccess:bool 接口调用是否成功,true代表成功
  • message: string 返回信息
  • perPageCount:int 每页记录数
  • currentPage:int 当前页数
  • totalCount:int 总行数

4. APP领取优惠券 [POST]

请求地址:[http://api.app.jinri.org.cn/api/v1/coupon/getAppCouponByEvent]
请求示例 (JSON):
  1. {
  2. "userId": 88,
  3. "mobile": "15214335603",
  4. "eventId": 1
  5. }
  • userId int 必填,用户编号
  • mobile string 必填,手机号
  • eventId int 必填,活动ID

返回示例:

  1. {
  2. "data": true,
  3. "code": 0,
  4. "isSuccess": true,
  5. "message": "领取优惠券成功"
  6. }
  • data:bool 是否成功,true代表成功
  • code:int 返回码,0代表成功
  • isSuccess:bool 接口调用是否成功,true代表成功
  • message: string 返回信息

5.H5领取优惠券 [POST]

请求地址:[http://api.app.jinri.org.cn/api/v1/coupon/getH5CouponByEvent]
请求示例 (JSON):
  1. {
  2. "userId": 88,
  3. "mobile": "15214335603",
  4. "eventId": 1
  5. }
  • userId int 必填,用户编号
  • mobile string 必填,手机号
  • eventId int 必填,活动ID

返回示例:

  1. {
  2. "data": true,
  3. "code": 0,
  4. "isSuccess": true,
  5. "message": "领取优惠券成功"
  6. }
  • data:bool 是否成功,true代表成功
  • code:int 返回码,0代表成功
  • isSuccess:bool 接口调用是否成功,true代表成功
  • message: string 返回信息

6.根据id获取活动信息 [POST]

请求地址:[http://api.app.jinri.org.cn/api/v1/coupon/getEventInfoById]
请求示例 (JSON):
  1. {
  2. "eventId": 1
  3. }
  • eventId int 必填,活动ID

返回示例:

  1. {
  2. "data": {
  3. "eventInfoData": {
  4. "eventId": 1
  5. "title": "测试",
  6. "eventStatus": 1,
  7. "startTime": "2018-10-01 00:00:00",
  8. "endTime": "2018-11-30 00:00:00",
  9. "eventScope": 0,
  10. "eventRule": "测试规则",
  11. "isShare": 0,
  12. "shareTitle": "测试分享",
  13. "shareImgUrl": "http:baidu.com",
  14. "shareContent": "测试分享内容",
  15. "shareLinkUrl": "",
  16. "topImgUrl_APP": "",
  17. "topImgUrl_H5": ""
  18. },
  19. "couponInfoData": [
  20. {
  21. "title": "test",
  22. "amountType": 0,
  23. "amount": 5,
  24. "minUseAmount": 0,
  25. "totalCount": 500,
  26. "isFinish": false,
  27. "describe": "test describe",
  28. "businessType": "0",
  29. "startTime": "2018-10-01 00:00:00",
  30. "endTime": "2018-11-20 00:00:00"
  31. }
  32. ]
  33. },
  34. "code": 0,
  35. "isSuccess": true,
  36. "message": "活动信息获取成功"
  37. }
  • data:数据列表
    • eventInfoData 活动信息
      • title: string 活动标题
      • eventStatus: int 活动状态
      • startTime: datetime 开始时间
      • endTime: datetime 结束时间
      • eventScope:int 活动类型
      • eventRule:string 活动规则
      • eventRule:string 活动规则
      • isShare: int 是否分享
      • shareTitle: string 分享标题
      • shareImgUrl: string 分享图片地址
      • shareContent: string 分享内容
      • shareLinkUrl: string 分享链接地址
      • topImgUrl_APP: string APP头图地址
      • topImgUrl_H5: string H5头图地址
    • couponInfoData:list 优惠券信息
      • title:string 优惠券信息
      • amountType:int 金额类型
      • amount:decimal 金额
      • minUseAmount:decimal 最小使用金额
      • totalCount:int 数量
      • isFinish:bool 是否生成完
      • describe:string 描述
      • businessType:string 业务类型
      • startTime: datetime 优惠券生效日期
      • endTime: datetime 优惠券截止日期
  • code:int 返回码,0代表成功
  • isSuccess:bool 接口调用是否成功,true代表成功
  • message: string 返回信息

7.APP获取活动信息 [POST]

请求地址:[http://api.app.jinri.org.cn/api/v1/coupon/getEventInfo

]
请求示例 (JSON):

  1. {
  2. "uid": 0,
  3. "mobile": "string"
  4. }
  • uid int 必填,用户编号
  • mobile string 必填,手机号

返回示例:

  1. {
  2. "data": {
  3. "eventInfoData": {
  4. "eventId": 1
  5. "title": "测试",
  6. "eventStatus": 1,
  7. "startTime": "2018-10-01 00:00:00",
  8. "endTime": "2018-11-30 00:00:00",
  9. "eventScope": 0,
  10. "eventRule": "测试规则",
  11. "isShare": 0,
  12. "shareTitle": "测试分享",
  13. "shareImgUrl": "http:baidu.com",
  14. "shareContent": "测试分享内容",
  15. "shareLinkUrl": "",
  16. "topImgUrl_APP": "",
  17. "topImgUrl_H5": ""
  18. },
  19. "couponInfoData": [
  20. {
  21. "title": "test",
  22. "amountType": 0,
  23. "amount": 5,
  24. "minUseAmount": 0,
  25. "totalCount": 500,
  26. "isFinish": false,
  27. "describe": "test describe",
  28. "businessType": "0",
  29. "startTime": "2018-10-01 00:00:00",
  30. "endTime": "2018-11-20 00:00:00"
  31. }
  32. ]
  33. },
  34. "code": 0,
  35. "isSuccess": true,
  36. "message": "活动信息获取成功"
  37. }
  • data:数据列表
    • eventInfoData 活动信息
      • title: string 活动标题
      • eventStatus: int 活动状态
      • startTime: datetime 开始时间
      • endTime: datetime 结束时间
      • eventScope:int 活动类型
      • eventRule:string 活动规则
      • eventRule:string 活动规则
      • isShare: int 是否分享
      • shareTitle: string 分享标题
      • shareImgUrl: string 分享图片地址
      • shareContent: string 分享内容
      • shareLinkUrl: string 分享链接地址
      • topImgUrl_APP: string APP头图地址
      • topImgUrl_H5: string H5头图地址
    • couponInfoData:list 优惠券信息
      • title:string 优惠券信息
      • amountType:int 金额类型
      • amount:decimal 金额
      • minUseAmount:decimal 最小使用金额
      • totalCount:int 数量
      • isFinish:bool 是否生成完
      • describe:string 描述
      • businessType:string 业务类型
      • startTime: datetime 优惠券生效日期
      • endTime: datetime 优惠券截止日期
  • code:int 返回码,0代表成功
  • isSuccess:bool 接口调用是否成功,true代表成功
  • message: string 返回信息

8.APP获取订单改签信息 [POST]

请求地址:[http://apiflight.shanglv.jinri.cn/api/Change/GetOrderChangeList]
测试请求地址:[http://tweb.apiflight.jinri.cn/api/Change/GetOrderChangeList]

请求示例 (JSON):

  1. {
  2. "user": "AdminUser",
  3. "sign": "71993882b3b2519f5bf09589bcbe9814",
  4. "timestamp": "1537325992862",
  5. "sessionid": "3k9tN+sFa32/HtB6/eoLjak+XgBEbc0viSDzU8wc4WY=",
  6. "data": "118102961851"
  7. }
  • user string 必填
  • sign string 必填
  • timestamp string 必填
  • sessionid string 必填
  • data string 必填,订单编号

返回示例:

  1. {
  2. "code": 0,
  3. "message": "成功",
  4. "TotalRowCount": 0,
  5. "data": [
  6. {
  7. "ChangeNo": "G118110946522",
  8. "UserId": 113,
  9. "ParentOrderID": "118102961851",
  10. "ChangeReason": 1,
  11. "IsFree": false,
  12. "ChangePassengers": [
  13. {
  14. "ChangePassengerID": 10,
  15. "ChangeNO": "G118110946522",
  16. "TickNo": null,
  17. "OldTickNo": "880-2092474486",
  18. "NationCode": "CN",
  19. "PassengerID": 1707,
  20. "ChangeInfo": null,
  21. "Name": "裴建波",
  22. "Nation": "中国",
  23. "PassengerType": 0,
  24. "Sexual": 1,
  25. "IdentifyClass": 2,
  26. "IdentifyNumber": "41132319910525631X",
  27. "Mobile": null,
  28. "Birthday": "1991-05-25",
  29. "VIPCode": null
  30. }
  31. ],
  32. "ChangeFlights": [
  33. {
  34. "ChangeFlightID": 17,
  35. "SegmentID": 1448,
  36. "FlightNO": "HU7610",
  37. "ChangeNO": "G118110946522",
  38. "FromCityName": "上海",
  39. "ToCityName": "北京",
  40. "FromAirport": "SHA",
  41. "FromAirportName": "上海虹桥机场 ",
  42. "ToAirport": "PEK",
  43. "ToAirportName": "北京机场 ",
  44. "AirCode": "HU",
  45. "AirName": "海南航空",
  46. "Cabin": "M",
  47. "DepTime": "2018/8/23 18:40:00",
  48. "ArrTime": "2018/8/23 20:55:00",
  49. "ChangeInfo": "出发日期:2018-08-23 -> 2018-12-05;抵达日期:2018-08-23 -> 2018-01-09",
  50. "CabinClass": 1
  51. }
  52. ],
  53. "OrderState": 0,
  54. "FinishTime": null,
  55. "Contact": "jackie",
  56. "ChangePrice": {
  57. "ChangePriceID": 10,
  58. "ChangeNO": "G118110946522",
  59. "RefundTotal": 0,
  60. "PayAmount": 0,
  61. "ProviderAmount": 0,
  62. "PlatmAmount": 0
  63. },
  64. "Remark": "改签",
  65. "CreateTime": "2018-11-09T11:51:40.667"
  66. },
  67. {
  68. "ChangeNo": "G118112242099",
  69. "UserId": 0,
  70. "ParentOrderID": "118102961851",
  71. "ChangeReason": 1,
  72. "IsFree": true,
  73. "ChangePassengers": [
  74. {
  75. "ChangePassengerID": 15,
  76. "ChangeNO": "G118112242099",
  77. "TickNo": null,
  78. "OldTickNo": "880-2092474486",
  79. "NationCode": "CN",
  80. "PassengerID": 1707,
  81. "ChangeInfo": "姓名:裴建波 -> hello;手机号: -> 15962488851;国籍:中国 -> 中国澳门特区",
  82. "Name": "hello",
  83. "Nation": "中国澳门特区",
  84. "PassengerType": 0,
  85. "Sexual": 1,
  86. "IdentifyClass": 2,
  87. "IdentifyNumber": "Rafm7TRE0trcVMH8lZrfkMArmMxzpuYp",
  88. "Mobile": "15962488851",
  89. "Birthday": "1991-05-25",
  90. "VIPCode": null
  91. }
  92. ],
  93. "ChangeFlights": [
  94. {
  95. "ChangeFlightID": 22,
  96. "SegmentID": 1448,
  97. "FlightNO": "HU7610",
  98. "ChangeNO": "G118112242099",
  99. "FromCityName": "上海",
  100. "ToCityName": "北京",
  101. "FromAirport": "PVG",
  102. "FromAirportName": "上海浦东国际机场",
  103. "ToAirport": "LLI",
  104. "ToAirportName": "拉利贝拉机场 ",
  105. "AirCode": "HU",
  106. "AirName": "海南航空",
  107. "Cabin": "C",
  108. "DepTime": "2018-08-17",
  109. "ArrTime": "2018-08-30",
  110. "ChangeInfo": "出发日期:2018-08-23 -> 2018-08-17;抵达日期:2018-08-23 -> 2018-08-30;出发机场:SHA -> PVG;到达机场:PEK -> LLI;舱位等级:M -> C",
  111. "CabinClass": 1
  112. }
  113. ],
  114. "OrderState": 6,
  115. "FinishTime": null,
  116. "Contact": null,
  117. "ChangePrice": {
  118. "ChangePriceID": 15,
  119. "ChangeNO": "G118112242099",
  120. "RefundTotal": 0,
  121. "PayAmount": 0,
  122. "ProviderAmount": 0,
  123. "PlatmAmount": 0
  124. },
  125. "Remark": "改签",
  126. "CreateTime": "2018-11-22T16:45:53.463"
  127. }
  128. ]
  129. }
  • data:数据列表
    • ChangeNo: string 改期单号
    • UserId: int 用户ID
    • ParentOrderID: string 原始订单编号
    • ChangeReason: int 改期原因
    • IsFree: boolean 是否免费改签
    • ChangePassengers: list 改期乘客
      • ChangePassengerID: int ID
      • ChangeNO: string 改期单号
      • TickNo: string 票号
      • OldTickNo: string 老票号
      • NationCode: string 国家码
      • PassengerID: int 乘机人ID
      • ChangeInfo: string 改签信息
      • Name: string 姓名
      • Nation: string 所在国家
      • PassengerType: int 乘机人类型
      • Sexual: int 性别
      • IdentifyClass: int 证件类型
      • IdentifyNumber: string 证件号码
      • Mobile: string 手机号码
      • Birthday: string 生日
      • VIPCode: string 航空公司会员号
    • ChangeFlights: list 改期航班
      • ChangeFlightID: int 航班ID
      • SegmentID: int 原航班ID
      • FlightNO: string 航班号
      • ChangeNO: string 改期单号
      • FromCityName: string 出发城市名
      • ToCityName: string 抵达城市名
      • FromAirport: string 出发机场三字码
      • FromAirportName: string 出发机场
      • ToAirport: string 抵达机场三字码
      • ToAirportName: string 抵达机场
      • AirCode: string 航司代码
      • AirName: string 航司名称
      • Cabin: string 舱位
      • DepTime: string 出发时间
      • ArrTime: string 抵达时间
      • ChangeInfo: string 更改信息
      • CabinClass: int 舱位等级
    • OrderState: int 改期状态
    • FinishTime: datetime 完成时间
    • Contact: string 联系方式
    • ChangePrice: 改期价格
      • ChangePriceID: int ID
      • ChangeNO: string 改签订单号
      • RefundTotal: int 退款总金额
      • PayAmount: int 支付金额
    • Remark: string 备注
    • CreateTime: datetime 创建时间
  • code:int 返回码,0代表成功
  • message: string 返回信息
  • TotalRowCount: int 总条数

9.获取赛事成绩列表信息 [POST]

请求地址:[http://api.app.jinri.cn/api/v1/game/getGameResultsList]
测试请求地址:[http://api.app.jinri.org.cn/api/v1/game/getGameResultsList]

请求示例 (JSON):

  1. {
  2. "gameId": 19,
  3. "gameType": 2,
  4. "sex": "男",
  5. "number": "",
  6. "identityNo": "111111111111111111",
  7. "page":2,
  8. "count":10
  9. }
  • gameId int 必填 赛事ID
  • gameType int 必填 赛事类型
  • sex string 必填 男/女
  • number string 必填 号码牌
  • identityNo string 必填,证件号
  • page int 必填,当前页
  • count int 必填,每页数量

返回示例:

  1. {
  2. "pageCount": 10,
  3. "currentPage": 2,
  4. "totalCount": 23,
  5. "data": [
  6. {
  7. "number": "6634",
  8. "name": "许海峰",
  9. "sex": "男",
  10. "identityType": "未知证件类型",
  11. "identityNo": "111111111111111111",
  12. "mobile": "15000989323",
  13. "country": "中国",
  14. "mileage": "21",
  15. "competitionResults": "01:58:56",
  16. "netResults": "01:56:21",
  17. "netRanking": "937",
  18. "starting": "00:02:35",
  19. "ending": "01:58:56",
  20. "gameId": 19,
  21. "gameType": 2,
  22. "updateTime": "2019-01-17 13:42:55",
  23. "id": 3401
  24. }
  25. ],
  26. "code": 0,
  27. "isSuccess": true,
  28. "message": "获取赛事成绩列表成功"
  29. }
  • data:数据列表
    • number: string 号码牌
    • name: string 姓名
    • sex: string 性别
    • identityType: string 证件类型
    • identityNo: string 证件号
    • mobile: string 手机号
    • country: string 国籍
    • mileage: string 个人里程
    • competitionResults: string 个人赛会成绩
    • netResults: string 个人净成绩
    • netRanking: string 个人净名次
    • starting: string 起点
    • ending: string 终点
    • gameId: string 赛事ID
    • gameType: int 赛事类型
    • updateTime: DateTime 更新时间
    • id: int 编号
  • code:int 返回码,0代表成功
  • message: string 返回信息
  • TotalRowCount: int 总条数

枚举

listStatus 列表订单状态枚举

Key Value Description
All 0 全部订单
WaitPay 1 待支付
WaitUse 2 待出行
Refund 3 退款/售后

apiType、couponType 订单接口类型枚举

Key Value Description
All 0 全部
Game 1 赛事
Tourism 2 旅游
TrainTicket 3 火车票
Hotel 4 酒店
Flight 5 机票

tripType 航程类型枚举 【只有机票使用】

Key Value Description
None 0
OW 1 单程
RT 2 往返

couponStatus 优惠券状态

Key Value Description
All 0 全部
CanUse 1 未使用
Used 2 已使用
Expired 3 已过期

receiveWay 领取途径

Key Value Description
OffLine 1 线下
APP 2 APP
H5 3 H5

eventStatusType 活动状态

Key Value Description
None 0 待审核
OnLine 1 上线
OffLine 2 下线

eventScopeType 活动类型

Key Value Description
Register 0 注册优惠
Order 1 下单优惠

amountType 金额类型

Key Value Description
Quota 0 定额
Reduction 1 满减

OrderState 改期状态

Key Value Description
WaitAudit 0 待审核
AuditReturn 1 审核退回
WaitPay 2 待付款
Payed 3 支付成功
WaitComplete 5 待完成
Completed 6 已完成
Failed 7 已失败
Canceled 9 已取消
Refunding 10 退款中
RefundSuccess 11 退款完成

ChangeReason 改期原因

Key Value Description
WillChange 1 自愿改期
Other 5 其他

CabinClass 舱位等级

Key Value Description
A 0 所有舱位
B 1 经济舱
C 2 公务舱
F 3 头等舱

GameType 赛事类型

Key Value Description
FiveKilometre 1 5公里健康跑
HalfMarathon 2 半程组
FullMarathon 3 全马
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注