POST AEPS/api/data/AddBankAccount

Request Information

URI Parameters

None.

Body Parameters

AepsAccount
NameDescriptionTypeAdditional information
BankName

string

Required

String length: inclusive between 0 and 200

AccountNO

string

Required

Matching regular expression pattern: ^\d+$

String length: inclusive between 10 and 20

IFSC_CODE

string

Required

Matching regular expression pattern: ^[A-Z]{4}0[A-Z0-9]{6}$

String length: inclusive between 11 and 11

AccountHolder

string

Required

String length: inclusive between 0 and 100

Otp

string

String length: inclusive between 0 and 5

BankAddress

string

Required

String length: inclusive between 0 and 300

Request Formats

application/json, text/json

Sample:
{
  "BankName": "sample string 1",
  "AccountNO": "sample string 2",
  "IFSC_CODE": "sample string 3",
  "AccountHolder": "sample string 4",
  "Otp": "sample string 5",
  "BankAddress": "sample string 6"
}

application/xml, text/xml

Sample:
<AepsAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WhiteLabelApp.Models">
  <AccountHolder>sample string 4</AccountHolder>
  <AccountNO>sample string 2</AccountNO>
  <BankAddress>sample string 6</BankAddress>
  <BankName>sample string 1</BankName>
  <IFSC_CODE>sample string 3</IFSC_CODE>
  <Otp>sample string 5</Otp>
</AepsAccount>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.