POST banks/Create

Request Information

URI Parameters

None.

Body Parameters

BanksEntity
NameDescriptionTypeAdditional information
BankID

integer

None.

BankName

string

None.

Active

integer

None.

CountryID

integer

None.

TenantID

integer

None.

TenantName

string

None.

CountryName

string

None.

Include

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "BankID": 1,
  "BankName": "sample string 2",
  "Active": 3,
  "CountryID": 4,
  "TenantID": 5,
  "TenantName": "sample string 6",
  "CountryName": "sample string 7",
  "Include": true
}

text/html

Sample:
{"BankID":1,"BankName":"sample string 2","Active":3,"CountryID":4,"TenantID":5,"TenantName":"sample string 6","CountryName":"sample string 7","Include":true}

application/xml, text/xml

Sample:
<BanksEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Bank">
  <Active>3</Active>
  <BankID>1</BankID>
  <BankName>sample string 2</BankName>
  <CountryID>4</CountryID>
  <CountryName>sample string 7</CountryName>
  <Include>true</Include>
  <TenantID>5</TenantID>
  <TenantName>sample string 6</TenantName>
</BanksEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.