POST api/{database}/Bank

Creates a new Bank with the specified values



Request Information

Parameters

NameDescriptionAdditional information
value The Bank with the updated values.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "accountHolder": "sample string 1",
  "messages": [],
  "bankAccount": "sample string 2",
  "bankCode": 3,
  "bankId": "sample string 4",
  "batchBooking": true,
  "bic": "sample string 6",
  "canChange": true,
  "cannotChangeReason": "sample string 8",
  "city": "sample string 9",
  "collectionDescription": 0,
  "description": "sample string 10",
  "directDebitExportTypeDomestic": 0,
  "directDebitExportTypeForeign": 0,
  "iban": "sample string 11",
  "minimumBalance": 12.0,
  "paymentDescription": 0,
  "paymentExportTypeDomestic": 0,
  "registration": 13,
  "street": "sample string 14"
}

application/xml, text/xml

Sample:
<Bank xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit">
  <AccountHolder>sample string 1</AccountHolder>
  <BankAccount>sample string 2</BankAccount>
  <BankCode>3</BankCode>
  <BankId>sample string 4</BankId>
  <BatchBooking>true</BatchBooking>
  <Bic>sample string 6</Bic>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 8</CannotChangeReason>
  <City>sample string 9</City>
  <CollectionDescription>None</CollectionDescription>
  <Description>sample string 10</Description>
  <DirectDebitExportTypeDomestic>None</DirectDebitExportTypeDomestic>
  <DirectDebitExportTypeForeign>None</DirectDebitExportTypeForeign>
  <Iban>sample string 11</Iban>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <MinimumBalance>12</MinimumBalance>
  <PaymentDescription>None</PaymentDescription>
  <PaymentExportTypeDomestic>None</PaymentExportTypeDomestic>
  <Registration>13</Registration>
  <Street>sample string 14</Street>
</Bank>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "accountHolder": "sample string 1",
  "messages": [],
  "bankAccount": "sample string 2",
  "bankCode": 3,
  "bankId": "sample string 4",
  "batchBooking": true,
  "bic": "sample string 6",
  "canChange": true,
  "cannotChangeReason": "sample string 8",
  "city": "sample string 9",
  "collectionDescription": 0,
  "description": "sample string 10",
  "directDebitExportTypeDomestic": 0,
  "directDebitExportTypeForeign": 0,
  "iban": "sample string 11",
  "minimumBalance": 12.0,
  "paymentDescription": 0,
  "paymentExportTypeDomestic": 0,
  "registration": 13,
  "street": "sample string 14"
}

application/xml, text/xml

Sample:
<Bank xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit">
  <AccountHolder>sample string 1</AccountHolder>
  <BankAccount>sample string 2</BankAccount>
  <BankCode>3</BankCode>
  <BankId>sample string 4</BankId>
  <BatchBooking>true</BatchBooking>
  <Bic>sample string 6</Bic>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 8</CannotChangeReason>
  <City>sample string 9</City>
  <CollectionDescription>None</CollectionDescription>
  <Description>sample string 10</Description>
  <DirectDebitExportTypeDomestic>None</DirectDebitExportTypeDomestic>
  <DirectDebitExportTypeForeign>None</DirectDebitExportTypeForeign>
  <Iban>sample string 11</Iban>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <MinimumBalance>12</MinimumBalance>
  <PaymentDescription>None</PaymentDescription>
  <PaymentExportTypeDomestic>None</PaymentExportTypeDomestic>
  <Registration>13</Registration>
  <Street>sample string 14</Street>
</Bank>