POST api/AccountAPI/updateBankDetails?user_id={user_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
user_id

string

Required

Body Parameters

BankInfo
NameDescriptionTypeAdditional information
holder

string

None.

accountNo

string

None.

bankName

string

None.

ifsc

string

None.

branch

string

None.

Request Formats

application/json, text/json

Sample:
{
  "holder": "sample string 1",
  "accountNo": "sample string 2",
  "bankName": "sample string 3",
  "ifsc": "sample string 4",
  "branch": "sample string 5"
}

application/xml, text/xml

Sample:
<BankInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/amazeAPI.Models">
  <accountNo>sample string 2</accountNo>
  <bankName>sample string 3</bankName>
  <branch>sample string 5</branch>
  <holder>sample string 1</holder>
  <ifsc>sample string 4</ifsc>
</BankInfo>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>