POST api/AddBankDetails
Request Information
URI Parameters
None.
Body Parameters
BankDetails_InputName | Description | Type | Additional information |
---|---|---|---|
BID | integer |
None. |
|
Master_BID | integer |
Required |
|
UserId | integer |
None. |
|
BankOfName | string |
Matching regular expression pattern: ^[a-zA-Z- ]+$ |
|
OtherName | string |
Matching regular expression pattern: ^[a-zA-Z0-9_,-. ]+$ |
|
MICRNumber | integer |
Matching regular expression pattern: ([0-9]{9,})$ |
|
BranchName | string |
Matching regular expression pattern: ^[a-zA-Z0-9_,-. ]+$ |
|
AccountNumber | integer |
None. |
|
AccountNumberInc | string |
None. |
|
IfGetCard | integer |
None. |
|
IfGetLoan | integer |
None. |
|
LoanAmount | integer |
Matching regular expression pattern: ([0-9])*$ |
|
LoanTaken | boolean |
None. |
|
KisanCreditCard | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "BID": 1, "Master_BID": 2, "UserId": 3, "BankOfName": "sample string 4", "OtherName": "sample string 5", "MICRNumber": 6, "BranchName": "sample string 7", "AccountNumber": 8, "AccountNumberInc": "sample string 9", "IfGetCard": 10, "IfGetLoan": 11, "LoanAmount": 1, "LoanTaken": true, "KisanCreditCard": true }
application/xml, text/xml
Sample:
<BankDetails_Input xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WDD_Models"> <AccountNumber>8</AccountNumber> <AccountNumberInc>sample string 9</AccountNumberInc> <BID>1</BID> <BankOfName>sample string 4</BankOfName> <BranchName>sample string 7</BranchName> <IfGetCard>10</IfGetCard> <IfGetLoan>11</IfGetLoan> <KisanCreditCard>true</KisanCreditCard> <LoanAmount>1</LoanAmount> <LoanTaken>true</LoanTaken> <MICRNumber>6</MICRNumber> <Master_BID>2</Master_BID> <OtherName>sample string 5</OtherName> <UserId>3</UserId> </BankDetails_Input>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.