POST api/TablesManagement/ADUBankBranch?state={state}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
state

string

Required

Body Parameters

BankBranches
NameDescriptionTypeAdditional information
BankBranches_code

integer

None.

bankCode

string

String length: inclusive between 0 and 4

branchNumber

string

String length: inclusive between 0 and 3

branchName

string

String length: inclusive between 0 and 16

Request Formats

application/json, text/json

Sample:
{
  "BankBranches_code": 1,
  "bankCode": "sample string 2",
  "branchNumber": "sample string 3",
  "branchName": "sample string 4"
}

application/xml, text/xml

Sample:
<BankBranches xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <BankBranches_code>1</BankBranches_code>
  <bankCode>sample string 2</bankCode>
  <branchName>sample string 4</branchName>
  <branchNumber>sample string 3</branchNumber>
</BankBranches>

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

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

BankBranches
NameDescriptionTypeAdditional information
BankBranches_code

integer

None.

bankCode

string

String length: inclusive between 0 and 4

branchNumber

string

String length: inclusive between 0 and 3

branchName

string

String length: inclusive between 0 and 16

Response Formats

application/json, text/json

Sample:
{
  "BankBranches_code": 1,
  "bankCode": "sample string 2",
  "branchNumber": "sample string 3",
  "branchName": "sample string 4"
}

application/xml, text/xml

Sample:
<BankBranches xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <BankBranches_code>1</BankBranches_code>
  <bankCode>sample string 2</bankCode>
  <branchName>sample string 4</branchName>
  <branchNumber>sample string 3</branchNumber>
</BankBranches>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.