POST api/UnPos/Merchant/GetMoney/V/Add
新增提现单据记录。
Request Information
URI Parameters
None.
Body Parameters
MerchantGetMoneyAddParmName | Description | Type | Additional information |
---|---|---|---|
MerchantId |
商户ID int |
integer |
Required |
ShopId |
店铺ID char(4) PK NOT NULL. |
string |
Required Max length: 4 |
BillNum |
单据号 Varchar(20) |
string |
Required Max length: 20 |
Amount |
取现金额 Numeric(8,2) |
decimal number |
Required |
PaymentType |
付款方式 Varchar(100) |
string |
Required Max length: 100 |
BusiDescription |
交易摘要 Varchar(100) |
string |
Max length: 100 |
PaymentAccount |
付款方账号 Varchar(50) |
string |
Required Max length: 50 |
ReceiverAccount |
收款方账号 Varchar(50) |
string |
Required Max length: 50 |
ReceiverName |
收款方户名 Varchar(20) |
string |
Max length: 20 |
ReceiverBank |
收款方银行 Varchar(50) |
string |
Max length: 50 |
BankPaymentBillNum |
银行汇(付)款单号 Varchar(20) |
string |
Max length: 20 |
TaxNumber |
发票号码 Varchar(20) |
string |
Max length: 20 |
TaxCode |
发票代码 Varchar(20) |
string |
Max length: 20 |
Request Formats
application/json, text/json
Sample:
{ "MerchantId": 1, "ShopId": "sample string 2", "BillNum": "sample string 3", "Amount": 4.0, "PaymentType": "sample string 5", "BusiDescription": "sample string 6", "PaymentAccount": "sample string 7", "ReceiverAccount": "sample string 8", "ReceiverName": "sample string 9", "ReceiverBank": "sample string 10", "BankPaymentBillNum": "sample string 11", "TaxNumber": "sample string 12", "TaxCode": "sample string 13" }
application/xml, text/xml
Sample:
<MerchantGetMoneyAddParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.UnPos.Parms"> <Amount>4</Amount> <BankPaymentBillNum>sample string 11</BankPaymentBillNum> <BillNum>sample string 3</BillNum> <BusiDescription>sample string 6</BusiDescription> <MerchantId>1</MerchantId> <PaymentAccount>sample string 7</PaymentAccount> <PaymentType>sample string 5</PaymentType> <ReceiverAccount>sample string 8</ReceiverAccount> <ReceiverBank>sample string 10</ReceiverBank> <ReceiverName>sample string 9</ReceiverName> <ShopId>sample string 2</ShopId> <TaxCode>sample string 13</TaxCode> <TaxNumber>sample string 12</TaxNumber> </MerchantGetMoneyAddParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
新增提现单据记录。
CommonOperationResultName | Description | Type | Additional information |
---|---|---|---|
errcode |
错误代码,通常0表示成功,其他值表示错误。 |
integer |
None. |
errmsg |
错误描述,当errcode不为零时,此值可以用于呈现给用户。 |
string |
None. |
tag |
操作同时,服务器端需要返回的其他值。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": "sample string 3" }
application/xml, text/xml
Sample:
<CommonOperationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag>sample string 3</tag> </CommonOperationResult>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.