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": "620a512d-d599-4d63-aae3-d625f8e933e8", "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>620a512d-d599-4d63-aae3-d625f8e933e8</BankId> </BankModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
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>