GET api/customer/amount

获取当前用户额度,欠款金额信息

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ResponseOfCustomerAmountModel
NameDescriptionTypeAdditional information
data

CustomerAmountModel

None.

errcode

错误码,默认为成功:SUCCESS

string

None.

errmsg

错误信息,默认为:成功

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "UserId": 1,
    "LimitAmount": 1.0,
    "OwedAmount": 2.0,
    "RemainLimitAmount": 3.0,
    "PayType": 0,
    "DelayAmount": 4.0
  },
  "errcode": "sample string 1",
  "errmsg": "sample string 2"
}

application/xml, text/xml

Sample:
<ResponseOfCustomerAmountModelJsPr1rbN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Infrastructure.WebApi">
  <errcode>sample string 1</errcode>
  <errmsg>sample string 2</errmsg>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/ViewModel.Api.Customer">
    <d2p1:DelayAmount>4</d2p1:DelayAmount>
    <d2p1:LimitAmount>1</d2p1:LimitAmount>
    <d2p1:OwedAmount>2</d2p1:OwedAmount>
    <d2p1:PayType>Direct</d2p1:PayType>
    <d2p1:RemainLimitAmount>3</d2p1:RemainLimitAmount>
    <d2p1:UserId>1</d2p1:UserId>
  </data>
</ResponseOfCustomerAmountModelJsPr1rbN>