GET api/Agent/Prepayment

查询预订金账户余额(基本信息)。 认证方式:HAWK,密钥:KEY+UPPER(MD5(密码))。 为向下兼容,同功能的WebForms接口访问地址为~/Source/QueryYFKRec.aspx。

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

查询预订金账户余额(基本信息)。 认证方式:HAWK,密钥:KEY+UPPER(MD5(密码))。 为向下兼容,同功能的WebForms接口访问地址为~/Source/QueryYFKRec.aspx。

PrepaymentAccount
NameDescriptionTypeAdditional 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>