GET api/BankAccount/GetBankAccountByContactID?contactID={contactID}&showInactive={showInactive}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| contactID | integer |
Required |
|
| showInactive | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of BankAccountModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BankAccountID | integer |
None. |
|
| AccountName | string |
None. |
|
| AccountNumber | string |
None. |
|
| BankID | integer |
None. |
|
| BSB | string |
None. |
|
| Branch | string |
None. |
|
| MerchantID | string |
None. |
|
| Host | boolean |
None. |
|
| CreateID | integer |
None. |
|
| CreateSessionID | integer |
None. |
|
| CreateTS | date |
None. |
|
| ModifyID | integer |
None. |
|
| ModifySessionID | integer |
None. |
|
| ModifyTS | date |
None. |
|
| InactiveID | integer |
None. |
|
| InactiveSessionID | integer |
None. |
|
| InactiveTS | date |
None. |
|
| StatusID | integer |
None. |
|
| Z_DB | integer |
None. |
|
| Z_ID | integer |
None. |
|
| GeneralLedgerNumber | string |
None. |
|
| Reference | string |
None. |
|
| Merchant_UserName | string |
None. |
|
| Merchant_Password | string |
None. |
|
| Default_CurrencyID | integer |
None. |
|
| PaymentTokenID | integer |
None. |
|
| CountryID | integer |
None. |
|
| Suffix | string |
None. |
|
| VerifiedBy_ContactID | integer |
None. |
|
| IsBlackList | boolean |
None. |
|
| Source | string |
None. |
|
| BankAccountModeID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"BankAccountID": 1,
"AccountName": "sample string 1",
"AccountNumber": "sample string 2",
"BankID": 1,
"BSB": "sample string 3",
"Branch": "sample string 4",
"MerchantID": "sample string 5",
"Host": true,
"CreateID": 1,
"CreateSessionID": 1,
"CreateTS": "2026-01-15T08:42:53.1977895+00:00",
"ModifyID": 1,
"ModifySessionID": 1,
"ModifyTS": "2026-01-15T08:42:53.1977895+00:00",
"InactiveID": 1,
"InactiveSessionID": 1,
"InactiveTS": "2026-01-15T08:42:53.1977895+00:00",
"StatusID": 1,
"Z_DB": 1,
"Z_ID": 1,
"GeneralLedgerNumber": "sample string 6",
"Reference": "sample string 7",
"Merchant_UserName": "sample string 8",
"Merchant_Password": "sample string 9",
"Default_CurrencyID": 1,
"PaymentTokenID": 1,
"CountryID": 1,
"Suffix": "sample string 10",
"VerifiedBy_ContactID": 1,
"IsBlackList": true,
"Source": "sample string 11",
"BankAccountModeID": 1
},
{
"BankAccountID": 1,
"AccountName": "sample string 1",
"AccountNumber": "sample string 2",
"BankID": 1,
"BSB": "sample string 3",
"Branch": "sample string 4",
"MerchantID": "sample string 5",
"Host": true,
"CreateID": 1,
"CreateSessionID": 1,
"CreateTS": "2026-01-15T08:42:53.1977895+00:00",
"ModifyID": 1,
"ModifySessionID": 1,
"ModifyTS": "2026-01-15T08:42:53.1977895+00:00",
"InactiveID": 1,
"InactiveSessionID": 1,
"InactiveTS": "2026-01-15T08:42:53.1977895+00:00",
"StatusID": 1,
"Z_DB": 1,
"Z_ID": 1,
"GeneralLedgerNumber": "sample string 6",
"Reference": "sample string 7",
"Merchant_UserName": "sample string 8",
"Merchant_Password": "sample string 9",
"Default_CurrencyID": 1,
"PaymentTokenID": 1,
"CountryID": 1,
"Suffix": "sample string 10",
"VerifiedBy_ContactID": 1,
"IsBlackList": true,
"Source": "sample string 11",
"BankAccountModeID": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfBankAccountModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.Models.BankAccount">
<BankAccountModel>
<AccountName>sample string 1</AccountName>
<AccountNumber>sample string 2</AccountNumber>
<BSB>sample string 3</BSB>
<BankAccountID>1</BankAccountID>
<BankAccountModeID>1</BankAccountModeID>
<BankID>1</BankID>
<Branch>sample string 4</Branch>
<CountryID>1</CountryID>
<CreateID>1</CreateID>
<CreateSessionID>1</CreateSessionID>
<CreateTS>2026-01-15T08:42:53.1977895+00:00</CreateTS>
<Default_CurrencyID>1</Default_CurrencyID>
<GeneralLedgerNumber>sample string 6</GeneralLedgerNumber>
<Host>true</Host>
<InactiveID>1</InactiveID>
<InactiveSessionID>1</InactiveSessionID>
<InactiveTS>2026-01-15T08:42:53.1977895+00:00</InactiveTS>
<IsBlackList>true</IsBlackList>
<MerchantID>sample string 5</MerchantID>
<Merchant_Password>sample string 9</Merchant_Password>
<Merchant_UserName>sample string 8</Merchant_UserName>
<ModifyID>1</ModifyID>
<ModifySessionID>1</ModifySessionID>
<ModifyTS>2026-01-15T08:42:53.1977895+00:00</ModifyTS>
<PaymentTokenID>1</PaymentTokenID>
<Reference>sample string 7</Reference>
<Source>sample string 11</Source>
<StatusID>1</StatusID>
<Suffix>sample string 10</Suffix>
<VerifiedBy_ContactID>1</VerifiedBy_ContactID>
<Z_DB>1</Z_DB>
<Z_ID>1</Z_ID>
</BankAccountModel>
<BankAccountModel>
<AccountName>sample string 1</AccountName>
<AccountNumber>sample string 2</AccountNumber>
<BSB>sample string 3</BSB>
<BankAccountID>1</BankAccountID>
<BankAccountModeID>1</BankAccountModeID>
<BankID>1</BankID>
<Branch>sample string 4</Branch>
<CountryID>1</CountryID>
<CreateID>1</CreateID>
<CreateSessionID>1</CreateSessionID>
<CreateTS>2026-01-15T08:42:53.1977895+00:00</CreateTS>
<Default_CurrencyID>1</Default_CurrencyID>
<GeneralLedgerNumber>sample string 6</GeneralLedgerNumber>
<Host>true</Host>
<InactiveID>1</InactiveID>
<InactiveSessionID>1</InactiveSessionID>
<InactiveTS>2026-01-15T08:42:53.1977895+00:00</InactiveTS>
<IsBlackList>true</IsBlackList>
<MerchantID>sample string 5</MerchantID>
<Merchant_Password>sample string 9</Merchant_Password>
<Merchant_UserName>sample string 8</Merchant_UserName>
<ModifyID>1</ModifyID>
<ModifySessionID>1</ModifySessionID>
<ModifyTS>2026-01-15T08:42:53.1977895+00:00</ModifyTS>
<PaymentTokenID>1</PaymentTokenID>
<Reference>sample string 7</Reference>
<Source>sample string 11</Source>
<StatusID>1</StatusID>
<Suffix>sample string 10</Suffix>
<VerifiedBy_ContactID>1</VerifiedBy_ContactID>
<Z_DB>1</Z_DB>
<Z_ID>1</Z_ID>
</BankAccountModel>
</ArrayOfBankAccountModel>