GET api/Account/KH_FKZH/V/Query/SingleWithSimpleRet?dwlx={dwlx}&dwid={dwid}&year={year}
查询单个的预订款账户信息并以简单类型返回。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| dwlx |
客户类型 |
string |
Required |
| dwid |
客户 ID |
string |
Required |
| year |
年度 |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
查询单个的预订款账户信息并以简单类型返回。
Collection of RebateAccount| Name | Description | Type | Additional information |
|---|---|---|---|
| customertypeid |
客户属性ID,"1"地接社,“2”组团社,“3”协议单位,“4”地接社部门,“5”组团社部门,“7”导游员。 |
string |
None. |
| customerid |
客户ID |
string |
None. |
| customername |
客户名称 |
string |
None. |
| year |
年度,返款账户总是以年度为单位组织。 |
string |
None. |
| previousbalance |
上期结余 |
decimal number |
None. |
| totalrecharge |
累计返款 |
decimal number |
None. |
| totalconsumption |
累计消费 |
decimal number |
None. |
| currentbalance |
当前结余 |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"customertypeid": "sample string 1",
"customerid": "sample string 2",
"customername": "sample string 3",
"year": "sample string 4",
"previousbalance": 5.0,
"totalrecharge": 6.0,
"totalconsumption": 7.0,
"currentbalance": 8.0
},
{
"customertypeid": "sample string 1",
"customerid": "sample string 2",
"customername": "sample string 3",
"year": "sample string 4",
"previousbalance": 5.0,
"totalrecharge": 6.0,
"totalconsumption": 7.0,
"currentbalance": 8.0
}
]
application/xml, text/xml
Sample:
<ArrayOfRebateAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.WebInterface">
<RebateAccount>
<currentbalance>8</currentbalance>
<customerid>sample string 2</customerid>
<customername>sample string 3</customername>
<customertypeid>sample string 1</customertypeid>
<previousbalance>5</previousbalance>
<totalconsumption>7</totalconsumption>
<totalrecharge>6</totalrecharge>
<year>sample string 4</year>
</RebateAccount>
<RebateAccount>
<currentbalance>8</currentbalance>
<customerid>sample string 2</customerid>
<customername>sample string 3</customername>
<customertypeid>sample string 1</customertypeid>
<previousbalance>5</previousbalance>
<totalconsumption>7</totalconsumption>
<totalrecharge>6</totalrecharge>
<year>sample string 4</year>
</RebateAccount>
</ArrayOfRebateAccount>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.