PUT api/BankAccountNumbers/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

BankAccountNumber
NameDescriptionTypeAdditional information
id

integer

None.

customerId

integer

Required

accountNumber

string

Required

accountNumberWithoutSeparators

string

None.

iban

integer

Range: inclusive between 0 and 1

description

string

None.

defaultAccountNumber

integer

Range: inclusive between 0 and 1

created

date

None.

updated

date

None.

companyData

CompanyData

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "customerId": 2,
  "accountNumber": "sample string 3",
  "accountNumberWithoutSeparators": "sample string 4",
  "iban": 5,
  "description": "sample string 6",
  "defaultAccountNumber": 7,
  "created": "2025-11-08T13:34:36.4796468+01:00",
  "updated": "2025-11-08T13:34:36.4796468+01:00",
  "companyData": {
    "companyName": "sample string 1",
    "databaseName": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<BankAccountNumber xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiOptima_v._2._0.Models">
  <accountNumber>sample string 3</accountNumber>
  <accountNumberWithoutSeparators>sample string 4</accountNumberWithoutSeparators>
  <companyData>
    <companyName>sample string 1</companyName>
    <databaseName>sample string 2</databaseName>
  </companyData>
  <created>2025-11-08T13:34:36.4796468+01:00</created>
  <customerId>2</customerId>
  <defaultAccountNumber>7</defaultAccountNumber>
  <description>sample string 6</description>
  <iban>5</iban>
  <id>1</id>
  <updated>2025-11-08T13:34:36.4796468+01:00</updated>
</BankAccountNumber>

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 'BankAccountNumber'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.