POST api/{database}/BankAccount

Creates a new BankAccount with the specified values



Request Information

Parameters

NameDescriptionAdditional information
value The BankAccount with the updated values.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "accountholderCity": "sample string 1",
  "accountholderName": "sample string 2",
  "accountNumber": "sample string 3",
  "messages": [],
  "bankTypeId": "sample string 4",
  "bic": "sample string 5",
  "blocked": true,
  "canChange": true,
  "cannotChangeReason": "sample string 8",
  "city": "sample string 9",
  "countryId": "sample string 10",
  "giroAccountNumberOfBank": "sample string 11",
  "iban": "sample string 12",
  "isGAccount": true,
  "name": "sample string 14",
  "organizationId": 15,
  "preferred": true,
  "sequenceNumber": 17,
  "street": "sample string 18"
}

application/xml, text/xml

Sample:
<BankAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <AccountNumber>sample string 3</AccountNumber>
  <AccountholderCity>sample string 1</AccountholderCity>
  <AccountholderName>sample string 2</AccountholderName>
  <BankTypeId>sample string 4</BankTypeId>
  <Bic>sample string 5</Bic>
  <Blocked>true</Blocked>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 8</CannotChangeReason>
  <City>sample string 9</City>
  <CountryId>sample string 10</CountryId>
  <GiroAccountNumberOfBank>sample string 11</GiroAccountNumberOfBank>
  <Iban>sample string 12</Iban>
  <IsGAccount>true</IsGAccount>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <Name>sample string 14</Name>
  <OrganizationId>15</OrganizationId>
  <Preferred>true</Preferred>
  <SequenceNumber>17</SequenceNumber>
  <Street>sample string 18</Street>
</BankAccount>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "accountholderCity": "sample string 1",
  "accountholderName": "sample string 2",
  "accountNumber": "sample string 3",
  "messages": [],
  "bankTypeId": "sample string 4",
  "bic": "sample string 5",
  "blocked": true,
  "canChange": true,
  "cannotChangeReason": "sample string 8",
  "city": "sample string 9",
  "countryId": "sample string 10",
  "giroAccountNumberOfBank": "sample string 11",
  "iban": "sample string 12",
  "isGAccount": true,
  "name": "sample string 14",
  "organizationId": 15,
  "preferred": true,
  "sequenceNumber": 17,
  "street": "sample string 18"
}

application/xml, text/xml

Sample:
<BankAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <AccountNumber>sample string 3</AccountNumber>
  <AccountholderCity>sample string 1</AccountholderCity>
  <AccountholderName>sample string 2</AccountholderName>
  <BankTypeId>sample string 4</BankTypeId>
  <Bic>sample string 5</Bic>
  <Blocked>true</Blocked>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 8</CannotChangeReason>
  <City>sample string 9</City>
  <CountryId>sample string 10</CountryId>
  <GiroAccountNumberOfBank>sample string 11</GiroAccountNumberOfBank>
  <Iban>sample string 12</Iban>
  <IsGAccount>true</IsGAccount>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <Name>sample string 14</Name>
  <OrganizationId>15</OrganizationId>
  <Preferred>true</Preferred>
  <SequenceNumber>17</SequenceNumber>
  <Street>sample string 18</Street>
</BankAccount>