PUT api/BankAccount/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

BankAccount
NameDescriptionTypeAdditional information
BankAccountId

integer

None.

AccountNo

string

None.

AccountName

string

None.

BankId

integer

None.

BranchCode

string

None.

BranchName

string

None.

BranchAddress

string

None.

AccountTypeId

integer

None.

IFSCCode

string

None.

CurrencyId

integer

None.

Remarks

string

None.

AccountStatus

boolean

None.

Bank

Bank

None.

Currency

Currency

None.

AccountType

EntityTypeAttribute

None.

CreatedDate

date

Data type: DateTime

CreatedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BankAccountId": 1,
  "AccountNo": "sample string 2",
  "AccountName": "sample string 3",
  "BankId": 4,
  "BranchCode": "sample string 5",
  "BranchName": "sample string 6",
  "BranchAddress": "sample string 7",
  "AccountTypeId": 8,
  "IFSCCode": "sample string 9",
  "CurrencyId": 10,
  "Remarks": "sample string 11",
  "AccountStatus": true,
  "Bank": {
    "BankId": 1,
    "BankCode": "sample string 2",
    "BankName": "sample string 3",
    "CreatedDate": "2025-12-08T01:54:55.6738431+05:30",
    "CreatedBy": "sample string 5"
  },
  "Currency": {
    "CurrencyId": 1,
    "CurrencyName": "sample string 2",
    "CurrencyShortCode": "sample string 3",
    "CurrencySymbol": "sample string 4",
    "CreatedDate": "2025-12-08T01:54:55.6738431+05:30",
    "CreatedBy": "sample string 6"
  },
  "AccountType": {
    "EntityTypeAttributeId": 1,
    "EntityTypeId": 2,
    "EntityTypeAttributeName": "sample string 3",
    "ActiveFlag": true,
    "EntityType": {
      "EntityTypeId": 1,
      "EntityTypeName": "sample string 2",
      "isInsertable": true,
      "ActiveFlag": true,
      "CreatedDate": "2025-12-08T01:54:55.6738431+05:30",
      "CreatedBy": "sample string 6"
    },
    "CreatedDate": "2025-12-08T01:54:55.6738431+05:30",
    "CreatedBy": "sample string 6"
  },
  "CreatedDate": "2025-12-08T01:54:55.6738431+05:30",
  "CreatedBy": "sample string 14"
}

application/xml, text/xml

Sample:
<BankAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Domain.Entities">
  <CreatedBy>sample string 14</CreatedBy>
  <CreatedDate>2025-12-08T01:54:55.6738431+05:30</CreatedDate>
  <AccountName>sample string 3</AccountName>
  <AccountNo>sample string 2</AccountNo>
  <AccountStatus>true</AccountStatus>
  <AccountType>
    <CreatedBy>sample string 6</CreatedBy>
    <CreatedDate>2025-12-08T01:54:55.6738431+05:30</CreatedDate>
    <ActiveFlag>true</ActiveFlag>
    <EntityType>
      <CreatedBy>sample string 6</CreatedBy>
      <CreatedDate>2025-12-08T01:54:55.6738431+05:30</CreatedDate>
      <ActiveFlag>true</ActiveFlag>
      <EntityTypeId>1</EntityTypeId>
      <EntityTypeName>sample string 2</EntityTypeName>
      <isInsertable>true</isInsertable>
    </EntityType>
    <EntityTypeAttributeId>1</EntityTypeAttributeId>
    <EntityTypeAttributeName>sample string 3</EntityTypeAttributeName>
    <EntityTypeId>2</EntityTypeId>
  </AccountType>
  <AccountTypeId>8</AccountTypeId>
  <Bank>
    <CreatedBy>sample string 5</CreatedBy>
    <CreatedDate>2025-12-08T01:54:55.6738431+05:30</CreatedDate>
    <BankCode>sample string 2</BankCode>
    <BankId>1</BankId>
    <BankName>sample string 3</BankName>
  </Bank>
  <BankAccountId>1</BankAccountId>
  <BankId>4</BankId>
  <BranchAddress>sample string 7</BranchAddress>
  <BranchCode>sample string 5</BranchCode>
  <BranchName>sample string 6</BranchName>
  <Currency>
    <CreatedBy>sample string 6</CreatedBy>
    <CreatedDate>2025-12-08T01:54:55.6738431+05:30</CreatedDate>
    <CurrencyId>1</CurrencyId>
    <CurrencyName>sample string 2</CurrencyName>
    <CurrencyShortCode>sample string 3</CurrencyShortCode>
    <CurrencySymbol>sample string 4</CurrencySymbol>
  </Currency>
  <CurrencyId>10</CurrencyId>
  <IFSCCode>sample string 9</IFSCCode>
  <Remarks>sample string 11</Remarks>
</BankAccount>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.