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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
state

string

Required

Body Parameters

Bank
NameDescriptionTypeAdditional information
bankCode

string

String length: inclusive between 0 and 4

bankName

string

Required

String length: inclusive between 0 and 16

countryCode

string

String length: inclusive between 0 and 2

locationCode

string

String length: inclusive between 0 and 2

mainBranchCode

string

String length: inclusive between 0 and 3

interface_code

string

String length: inclusive between 0 and 10

old_code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "bankCode": "sample string 1",
  "bankName": "sample string 2",
  "countryCode": "sample string 3",
  "locationCode": "sample string 4",
  "mainBranchCode": "sample string 5",
  "interface_code": "sample string 6",
  "old_code": "sample string 7"
}

application/xml, text/xml

Sample:
<Bank xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <bankCode>sample string 1</bankCode>
  <bankName>sample string 2</bankName>
  <countryCode>sample string 3</countryCode>
  <interface_code>sample string 6</interface_code>
  <locationCode>sample string 4</locationCode>
  <mainBranchCode>sample string 5</mainBranchCode>
  <old_code>sample string 7</old_code>
</Bank>

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

application/bson

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

Response Information

Resource Description

Bank
NameDescriptionTypeAdditional information
bankCode

string

String length: inclusive between 0 and 4

bankName

string

Required

String length: inclusive between 0 and 16

countryCode

string

String length: inclusive between 0 and 2

locationCode

string

String length: inclusive between 0 and 2

mainBranchCode

string

String length: inclusive between 0 and 3

interface_code

string

String length: inclusive between 0 and 10

old_code

string

None.

Response Formats

application/json, text/json

Sample:
{
  "bankCode": "sample string 1",
  "bankName": "sample string 2",
  "countryCode": "sample string 3",
  "locationCode": "sample string 4",
  "mainBranchCode": "sample string 5",
  "interface_code": "sample string 6",
  "old_code": "sample string 7"
}

application/xml, text/xml

Sample:
<Bank xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <bankCode>sample string 1</bankCode>
  <bankName>sample string 2</bankName>
  <countryCode>sample string 3</countryCode>
  <interface_code>sample string 6</interface_code>
  <locationCode>sample string 4</locationCode>
  <mainBranchCode>sample string 5</mainBranchCode>
  <old_code>sample string 7</old_code>
</Bank>

application/bson

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