POST api/Gadget/SetBanks

Add a new bank to the authenticated user.

Request Information

URI Parameters

None.

Body Parameters

BankModel
NameDescriptionTypeAdditional information
BankId

globally unique identifier

None.

BankAccountNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BankId": "681f0636-3676-46e2-895d-9ad8fc10028d",
  "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>681f0636-3676-46e2-895d-9ad8fc10028d</BankId>
</BankModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>