POST api/customer/insertOrUpdateBank
Request Information
URI Parameters
None.
Body Parameters
BankModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BankId | integer |
None. |
|
| BankName | string |
None. |
|
| Branch | string |
None. |
|
| Ifsc | string |
None. |
|
| AccountNo | string |
None. |
|
| Amount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"BankId": 1,
"BankName": "sample string 2",
"Branch": "sample string 3",
"Ifsc": "sample string 4",
"AccountNo": "sample string 5",
"Amount": 6.0
}
application/xml, text/xml
Sample:
<BankModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MasAuto.Models"> <AccountNo>sample string 5</AccountNo> <Amount>6</Amount> <BankId>1</BankId> <BankName>sample string 2</BankName> <Branch>sample string 3</Branch> <Ifsc>sample string 4</Ifsc> </BankModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseWrapper| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseCode | integer |
None. |
|
| Message | string |
None. |
|
| Response | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 1,
"Message": "sample string 2",
"Response": {}
}
application/xml, text/xml
Sample:
<ResponseWrapper xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MasAuto.Models"> <Message>sample string 2</Message> <Response /> <ResponseCode>1</ResponseCode> </ResponseWrapper>