POST 17.0/app/accounts/getbankaccountforcompany

Description

Retrieves the bank account ID for the specified company based on the provided bank account type.

URI Parameters

None.

The request containing the company ID and bank account type.

Name Description Type Additional information
CompanyId

integer

None.

BankAccountType

byte

None.

application/json, text/json

Sample:
{
  "companyId": 1,
  "bankAccountType": 64
}

application/xml, text/xml

Sample:
<BankCompanyRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <CompanyId>1</CompanyId>
  <BankAccountType>64</BankAccountType>
</BankCompanyRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

The ID of the bank account.

integer

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int>1</int>