POST api/bank
Request Information
URI Parameters
None.
Body Parameters
m_create_bankName | Description | Type | Additional information |
---|---|---|---|
bank_id | string |
Required String length: inclusive between 0 and 3 |
|
bank_code | string |
String length: inclusive between 0 and 10 |
|
bank_name | string |
Required String length: inclusive between 0 and 100 |
|
bank_logo | string |
None. |
|
bank_country | string |
String length: inclusive between 0 and 100 |
|
kbank_id | integer |
None. |
|
open_api_enabled | boolean |
None. |
|
open_api_deposit | boolean |
None. |
|
open_api_withdraw | boolean |
None. |
|
bot_web_banking | boolean |
None. |
|
bot_api_mobile | boolean |
None. |
|
bot_line | boolean |
None. |
|
bot_sms | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "bank_id": "sample string 1", "bank_code": "sample string 2", "bank_name": "sample string 3", "bank_logo": "sample string 4", "bank_country": "sample string 5", "kbank_id": 1, "open_api_enabled": true, "open_api_deposit": true, "open_api_withdraw": true, "bot_web_banking": true, "bot_api_mobile": true, "bot_line": true, "bot_sms": true }
application/xml, text/xml
Sample:
<m_create_bank xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Project.Features.Models"> <bank_code>sample string 2</bank_code> <bank_country>sample string 5</bank_country> <bank_id>sample string 1</bank_id> <bank_logo>sample string 4</bank_logo> <bank_name>sample string 3</bank_name> <bot_api_mobile>true</bot_api_mobile> <bot_line>true</bot_line> <bot_sms>true</bot_sms> <bot_web_banking>true</bot_web_banking> <kbank_id>1</kbank_id> <open_api_deposit>true</open_api_deposit> <open_api_enabled>true</open_api_enabled> <open_api_withdraw>true</open_api_withdraw> </m_create_bank>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.