GET api/Account/KH_YFKZH/V/Query/SingleWithSimpleRet/{dwlx}/{dwid}
查询单个的预订款账户信息并以简单类型返回。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| dwlx |
客户类型 |
string |
Required |
| dwid |
客户 ID |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
查询单个的预订款账户信息并以简单类型返回。
PrepaymentAccount| Name | Description | Type | Additional information |
|---|---|---|---|
| customertypeid |
客户属性ID,"1"地接社,“2”组团社,“3”协议单位,“4”地接社部门,“5”组团社部门,“7”导游员。 |
string |
None. |
| customerid |
客户ID |
string |
None. |
| customername |
客户名称 |
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",
"previousbalance": 4.0,
"totalrecharge": 5.0,
"totalconsumption": 6.0,
"currentbalance": 7.0
}
application/xml, text/xml
Sample:
<PrepaymentAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Result.WebInterface"> <currentbalance>7</currentbalance> <customerid>sample string 2</customerid> <customername>sample string 3</customername> <customertypeid>sample string 1</customertypeid> <previousbalance>4</previousbalance> <totalconsumption>6</totalconsumption> <totalrecharge>5</totalrecharge> </PrepaymentAccount>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.