PUT api/bankcodes/{id}

Route for updating bank code.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

BankCodeUpdateViewModel
NameDescriptionTypeAdditional information
Code

Code

string

None.

InterestBearingAccount

interest bearing account update

InterestBearingAccountUpdateViewModel

None.

Address

Address update model

AddressViewModel

None.

BankCodeDescription

Bank Code Description

string

Required

ChartOfAccountsId

GL Account Id

integer

Required

BankId

Bank ID

integer

Required

GLSubAccountId

GL Sub Account Nmae Required when GL Account are linked to GL Sub Account via Chart of Accounts

integer

None.

InterestChartOfAccountID

Interest Chart of Account Id Optional

integer

None.

InterestGlSubAccountID

Interest GL Sub Account ID Required if InterestChartOfAccountID is not empty

integer

None.

BankFeeChartOfAccountID

Bank Fee Chart of Account ID Optional

integer

None.

BankFeeGlSubAccountID

Bank Fee Gl Sub Account Id Required if BankFeeChartOfAccountID is not empty

integer

None.

AbaNumberId

ABA Number Id Highly recommended to be Required on UI but user able to create Bank Code without Aba Number Id

integer

None.

BankAccount

Bank Account

string

Required

BrokerageAccount

Brokerage Account

string

None.

CheckPrintDescription1

MCIR Description 1 Required only for Canadian Banks

string

None.

CheckPrintDescription2

MCIR Description 2 Required only for Canadian Banks

string

None.

CheckPrintDescription3

Check Print Description 3 Required only for Canadian Banks

string

None.

Micr1

MCIR 1

string

None.

Micr2

MCIR 2

string

None.

LastCheckNumber

Last Check Number

integer

Range: inclusive between 0 and 999999999

IsActive

Is Active

boolean

None.

IsTransactionalBank

Is Lockbox

boolean

None.

NonTransactionalAccount

Non Transactional Account

boolean

None.

IsCheckExport

Is Check Export

boolean

None.

AccountTypeId

Account Type Id

integer

Required

AccountUseId

Account Use Id

integer

Required

PositivePayEligible

Positive Pay Eligible

boolean

None.

BankBalanceMinimum

Bank Balance Minimum

integer

Range: inclusive between 0 and 10000000

AutoSignMaxAmount

Bank auto Sign Max Amount

decimal number

None.

CheckSignatureID

integer

None.

EntityId

Entity

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "interestBearingAccount": {
    "id": 1,
    "accountTypeId": 2,
    "effectiveRate": 1.0,
    "effectiveDate": "2024-10-14T08:26:42.0481364-04:00",
    "maturityDate": "2024-10-14T08:26:42.0481364-04:00"
  },
  "address": {
    "addressId": 1,
    "address1": "sample string 2",
    "address2": "sample string 3",
    "city": "sample string 4",
    "state": "sample string 5",
    "zipCode": "sample string 6",
    "country": "sample string 7"
  },
  "bankCodeDescription": "sample string 2",
  "chartOfAccountsId": 3,
  "bankId": 4,
  "glSubAccountId": 1,
  "interestChartOfAccountID": 1,
  "interestGlSubAccountID": 1,
  "bankFeeChartOfAccountID": 1,
  "bankFeeGlSubAccountID": 1,
  "abaNumberId": 1,
  "bankAccount": "sample string 5",
  "brokerageAccount": "sample string 6",
  "checkPrintDescription1": "sample string 7",
  "checkPrintDescription2": "sample string 8",
  "checkPrintDescription3": "sample string 9",
  "micr1": "sample string 10",
  "micr2": "sample string 11",
  "lastCheckNumber": 12,
  "isActive": true,
  "isTransactionalBank": true,
  "nonTransactionalAccount": true,
  "isCheckExport": true,
  "accountTypeId": 17,
  "accountUseId": 18,
  "positivePayEligible": true,
  "bankBalanceMinimum": 19,
  "autoSignMaxAmount": 1.0,
  "checkSignatureID": 1,
  "entityId": 1
}

application/xml, text/xml

Sample:
<BankCodeUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.BankCode">
  <AbaNumberId>1</AbaNumberId>
  <AccountTypeId>17</AccountTypeId>
  <AccountUseId>18</AccountUseId>
  <AutoSignMaxAmount>1</AutoSignMaxAmount>
  <BankAccount>sample string 5</BankAccount>
  <BankBalanceMinimum>19</BankBalanceMinimum>
  <BankCodeDescription>sample string 2</BankCodeDescription>
  <BankFeeChartOfAccountID>1</BankFeeChartOfAccountID>
  <BankFeeGlSubAccountID>1</BankFeeGlSubAccountID>
  <BankId>4</BankId>
  <BrokerageAccount>sample string 6</BrokerageAccount>
  <ChartOfAccountsId>3</ChartOfAccountsId>
  <CheckPrintDescription1>sample string 7</CheckPrintDescription1>
  <CheckPrintDescription2>sample string 8</CheckPrintDescription2>
  <CheckPrintDescription3>sample string 9</CheckPrintDescription3>
  <CheckSignatureID>1</CheckSignatureID>
  <EntityId>1</EntityId>
  <GLSubAccountId>1</GLSubAccountId>
  <InterestChartOfAccountID>1</InterestChartOfAccountID>
  <InterestGlSubAccountID>1</InterestGlSubAccountID>
  <IsActive>true</IsActive>
  <IsCheckExport>true</IsCheckExport>
  <IsTransactionalBank>true</IsTransactionalBank>
  <LastCheckNumber>12</LastCheckNumber>
  <Micr1>sample string 10</Micr1>
  <Micr2>sample string 11</Micr2>
  <NonTransactionalAccount>true</NonTransactionalAccount>
  <PositivePayEligible>true</PositivePayEligible>
  <Address xmlns:d2p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
    <Address1 xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 2</Address1>
    <Address2 xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 3</Address2>
    <City xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 4</City>
    <Country xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 7</Country>
    <State xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 5</State>
    <ZipCode xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.Address">sample string 6</ZipCode>
    <d2p1:AddressId>1</d2p1:AddressId>
  </Address>
  <Code>sample string 1</Code>
  <InterestBearingAccount xmlns:d2p1="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.AccountType">
    <d2p1:AccountTypeId>2</d2p1:AccountTypeId>
    <d2p1:EffectiveDate>2024-10-14T08:26:42.0481364-04:00</d2p1:EffectiveDate>
    <d2p1:EffectiveRate>1</d2p1:EffectiveRate>
    <d2p1:MaturityDate>2024-10-14T08:26:42.0481364-04:00</d2p1:MaturityDate>
    <d2p1:Id>1</d2p1:Id>
  </InterestBearingAccount>
</BankCodeUpdateViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BankCodeUpdateViewModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.