PUT v1/Agency/{AgencyId}/BankAccounts/{BankAccountId}

Update Bank Account Details

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AgencyId

integer

Required

BankAccountId

integer

Required

Body Parameters

AgencyBankDTO
NameDescriptionTypeAdditional information
BankTransitNumber

Bank routing / transit code

string

Required

Matching regular expression pattern: ^\d{1,10}$

String length: inclusive between 0 and 10

AccountNumber

string

Required

Matching regular expression pattern: ^\d{1,128}$

String length: inclusive between 0 and 128

AgencyBankType

AgentBankTypeEnum

Required

EFTBankAccountType

BankAccountTypeEnum

Required

Id

Primary Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BankTransitNumber": "sample string 1",
  "AccountNumber": "sample string 2",
  "AgencyBankType": "Unknown",
  "EFTBankAccountType": "Unknown",
  "Id": 3
}

application/xml, text/xml

Sample:
<AgencyBankDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GCApi.Models">
  <Expand></Expand>
  <Expansions xmlns:d2p1="http://schemas.datacontract.org/2004/07/GCApi.Enums" />
  <Id>3</Id>
  <AccountNumber>sample string 2</AccountNumber>
  <AgencyBankType>Unknown</AgencyBankType>
  <BankTransitNumber>sample string 1</BankTransitNumber>
  <EFTBankAccountType>Unknown</EFTBankAccountType>
</AgencyBankDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Update Bank Account Details

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.