POST api/BalanceTransfer/BalanceTransfer

Request Information

URI Parameters

None.

Body Parameters

NewBalanceTransferRequest
NameDescriptionTypeAdditional information
TransactionID

string

Matching regular expression pattern: ^[A-Za-z0-9_-]+$

String length: inclusive between 1 and 50

Pipe

string

None.

AccountHolderName

string

Required

String length: inclusive between 1 and 100

IfscCode

string

Required

Matching regular expression pattern: ^[A-Za-z]{4}0[A-Za-z0-9]{6}$

String length: inclusive between 11 and 11

BankAccountNumber

string

Required

Matching regular expression pattern: ^[0-9]+$

String length: inclusive between 6 and 30

Amount

string

Required

Matching regular expression pattern: ^\d+(\.\d{1,2})?$

Mode

string

Required

Matching regular expression pattern: ^[A-Za-z]+$

String length: inclusive between 2 and 10

Request Formats

application/json, text/json

Sample:
{
  "TransactionID": "sample string 1",
  "Pipe": "sample string 2",
  "AccountHolderName": "sample string 3",
  "IfscCode": "sample string 4",
  "BankAccountNumber": "sample string 5",
  "Amount": "sample string 6",
  "Mode": "sample string 7"
}

application/xml, text/xml

Sample:
<NewBalanceTransferRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BalanceTransferOpenAPI.Models">
  <AccountHolderName>sample string 3</AccountHolderName>
  <Amount>sample string 6</Amount>
  <BankAccountNumber>sample string 5</BankAccountNumber>
  <IfscCode>sample string 4</IfscCode>
  <Mode>sample string 7</Mode>
  <Pipe>sample string 2</Pipe>
  <TransactionID>sample string 1</TransactionID>
</NewBalanceTransferRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.