GET api/BankAccount/GetBankAccountAndMerchantDefaultsGetByAccountID?AccountID={AccountID}&CurrencyID={CurrencyID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountID | integer |
Required |
|
| CurrencyID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BankAccountAndMerchantViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BankAccount | DefaultBankAccountAndMerchant |
None. |
|
| Response | IResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"BankAccount": {
"Banked_ToBankAccountID": 1,
"MerchantID": "sample string 1",
"MerchantUserName": "sample string 2",
"MerchantPassword": "sample string 3"
},
"Response": null
}
application/xml, text/xml
Sample:
<BankAccountAndMerchantViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels.BankAccount">
<Response i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels" />
<BankAccount xmlns:d2p1="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.Models.Payment">
<d2p1:Banked_ToBankAccountID>1</d2p1:Banked_ToBankAccountID>
<d2p1:MerchantID>sample string 1</d2p1:MerchantID>
<d2p1:MerchantPassword>sample string 3</d2p1:MerchantPassword>
<d2p1:MerchantUserName>sample string 2</d2p1:MerchantUserName>
</BankAccount>
</BankAccountAndMerchantViewModel>