POST api/Gadget/SetBanks
Add a new bank to the authenticated user.
Request Information
URI Parameters
None.
Body Parameters
BankModelName | Description | Type | Additional information |
---|---|---|---|
BankId | globally unique identifier |
None. |
|
BankAccountNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "BankId": "70bf45a6-17a5-466f-b8f3-57e18d9dfa4c", "BankAccountNumber": "sample string 2" }
application/xml, text/xml
Sample:
<BankModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gosocket.Web.Api.Models"> <BankAccountNumber>sample string 2</BankAccountNumber> <BankId>70bf45a6-17a5-466f-b8f3-57e18d9dfa4c</BankId> </BankModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>