GET api/Order/Query/Fees/{orderid}?personalid={personalid}

依据订单号,查谒这个订单的退款(手续费扣除及退款)记录。 仅当这个订单是您发起预订的,才会有数据返回。 认证方式:HAWK,密钥:KEY+UPPER(MD5(密码))。

请求信息

URI参数

NameDescriptionTypeAdditional information
orderid

电子门票系统订单编号。

string

Required

personalid

个人会员ID,当个人会员通过官方渠道发起操作时这个参数必须,代理商可以不提供这个参数。

integer

Default value is 0

窗体参数

None.

回复信息

资源描述

依据订单号,查谒这个订单的退款(手续费扣除及退款)记录。 仅当这个订单是您发起预订的,才会有数据返回。 认证方式:HAWK,密钥:KEY+UPPER(MD5(密码))。

Collection of OrderFeeItem
NameDescriptionTypeAdditional information
autoid

唯一标识每个记录的电子门票系统内部ID

integer

None.

productid

被计收手续费的产品ID(票型ID)

string

None.

productname

被计收手续费的票型的名称

string

None.

price

交易价格

decimal number

None.

amount

交易数量

decimal number

None.

description

扣款描述,用文本说明一下扣除手续费的原因

string

None.

calculatetype

计算依据,A表示定额,B表示按票价的百分比

string

None.

perticketfee

扣除手续费的单价

decimal number

None.

feeamount

违约的数量

integer

None.

isautoreturn

是否是预订金/返款余额退款(这两种退票是自劝的)

boolean

None.

paychannelname

支付渠道的名称

string

None.

needrefundsummary

需要退还的金额

decimal number

None.

startdatetime

发起扣费及退款申请的日期时间(yyyyMMddHHmmss)

string

None.

completedatetime

开始执行退款的日期时间(yyyymmddhhmmss) 退款开始执行后,等额的记录将出现在OrderReceiptAndRefund实体中。

string

None.

status

处理状态,“0”待办理,“1”办理中,“2”已办理

string

None.

statusname

处理状态名称 待办理, 办理中, 已办理

string

None.

batchno

退款批次号必须唯一 格式为:yyyyMMddHHmmssfff 同一批次号,如多次退款仅退一次

string

None.

回复格式

Test application/json, text/json

Sample:
[
  {
    "autoid": 1,
    "productid": "sample string 2",
    "productname": "sample string 3",
    "price": 4.0,
    "amount": 5.0,
    "description": "sample string 6",
    "calculatetype": "sample string 7",
    "perticketfee": 8.0,
    "feeamount": 9,
    "isautoreturn": true,
    "paychannelname": "sample string 11",
    "needrefundsummary": 12.0,
    "startdatetime": "sample string 13",
    "completedatetime": "sample string 14",
    "status": "sample string 15",
    "statusname": "sample string 16",
    "batchno": "sample string 17"
  },
  {
    "autoid": 1,
    "productid": "sample string 2",
    "productname": "sample string 3",
    "price": 4.0,
    "amount": 5.0,
    "description": "sample string 6",
    "calculatetype": "sample string 7",
    "perticketfee": 8.0,
    "feeamount": 9,
    "isautoreturn": true,
    "paychannelname": "sample string 11",
    "needrefundsummary": 12.0,
    "startdatetime": "sample string 13",
    "completedatetime": "sample string 14",
    "status": "sample string 15",
    "statusname": "sample string 16",
    "batchno": "sample string 17"
  }
]

Test application/xml, text/xml

Sample:
<ArrayOfOrderFeeItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TourWebApi.Models.Result">
  <OrderFeeItem>
    <amount>5</amount>
    <autoid>1</autoid>
    <batchno>sample string 17</batchno>
    <calculatetype>sample string 7</calculatetype>
    <completedatetime>sample string 14</completedatetime>
    <description>sample string 6</description>
    <feeamount>9</feeamount>
    <isautoreturn>true</isautoreturn>
    <needrefundsummary>12</needrefundsummary>
    <paychannelname>sample string 11</paychannelname>
    <perticketfee>8</perticketfee>
    <price>4</price>
    <productid>sample string 2</productid>
    <productname>sample string 3</productname>
    <startdatetime>sample string 13</startdatetime>
    <status>sample string 15</status>
    <statusname>sample string 16</statusname>
  </OrderFeeItem>
  <OrderFeeItem>
    <amount>5</amount>
    <autoid>1</autoid>
    <batchno>sample string 17</batchno>
    <calculatetype>sample string 7</calculatetype>
    <completedatetime>sample string 14</completedatetime>
    <description>sample string 6</description>
    <feeamount>9</feeamount>
    <isautoreturn>true</isautoreturn>
    <needrefundsummary>12</needrefundsummary>
    <paychannelname>sample string 11</paychannelname>
    <perticketfee>8</perticketfee>
    <price>4</price>
    <productid>sample string 2</productid>
    <productname>sample string 3</productname>
    <startdatetime>sample string 13</startdatetime>
    <status>sample string 15</status>
    <statusname>sample string 16</statusname>
  </OrderFeeItem>
</ArrayOfOrderFeeItem>