POST api/BankAccount/Save

Request Information

URI Parameters

None.

Body Parameters

BankAccount
NameDescriptionTypeAdditional information
isactive

boolean

None.

isCompanyAc

boolean

None.

AccountTitle

string

None.

bankAccountId

integer

None.

bankGlAccountId

integer

None.

companyId

integer

None.

currencyId

integer

None.

organizationId

integer

None.

partyId

integer

None.

partyTypeId

integer

None.

accountNo

string

None.

bankbranchId

integer

None.

IBAN

string

None.

Request Formats

application/json, text/json

Sample:
{
  "isactive": true,
  "isCompanyAc": true,
  "AccountTitle": "sample string 3",
  "bankAccountId": 4,
  "bankGlAccountId": 5,
  "companyId": 6,
  "currencyId": 7,
  "organizationId": 8,
  "partyId": 9,
  "partyTypeId": 10,
  "accountNo": "sample string 11",
  "bankbranchId": 12,
  "IBAN": "sample string 13"
}

application/xml, text/xml

Sample:
<BankAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model.S_Bank">
  <AccountTitle>sample string 3</AccountTitle>
  <IBAN>sample string 13</IBAN>
  <accountNo>sample string 11</accountNo>
  <bankAccountId>4</bankAccountId>
  <bankGlAccountId>5</bankGlAccountId>
  <bankbranchId>12</bankbranchId>
  <companyId>6</companyId>
  <currencyId>7</currencyId>
  <isCompanyAc>true</isCompanyAc>
  <isactive>true</isactive>
  <organizationId>8</organizationId>
  <partyId>9</partyId>
  <partyTypeId>10</partyTypeId>
</BankAccount>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.