POST api/Person/PersonBalance?CustID={CustID}&CookCode={CookCode}

【可用】登录用户--钱包--获取个人帐户余额接口

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CustID

用户ID

string

Required

CookCode

登录token

string

Required

Body Parameters

None.

Response Information

Resource Description

RequestResultOfCapitalAccountModel
NameDescriptionTypeAdditional information
ResultCode

integer

None.

Message

string

None.

Data

CapitalAccountModel

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": 1,
  "Message": "sample string 2",
  "Data": {
    "CustID": "sample string 1",
    "RealName": "sample string 2",
    "TotalBalance": 3.0
  }
}

text/html

Sample:
{"ResultCode":1,"Message":"sample string 2","Data":{"CustID":"sample string 1","RealName":"sample string 2","TotalBalance":3.0}}

application/xml, text/xml

Sample:
<RequestResultOfCapitalAccountModelH6mvxg5q xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MF.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MF.Models.Capital">
    <d2p1:CustID>sample string 1</d2p1:CustID>
    <d2p1:RealName>sample string 2</d2p1:RealName>
    <d2p1:TotalBalance>3</d2p1:TotalBalance>
  </Data>
  <Message>sample string 2</Message>
  <ResultCode>1</ResultCode>
</RequestResultOfCapitalAccountModelH6mvxg5q>