POST api/agency/addbankaccount

Creates a bank account for the agency.

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.Accounts.Financial.Command.Account.SetAgencyAccountDetailsDataContract
NameDescriptionTypeAdditional information
AccountName

string

None.

AccountNumber

string

None.

Sortcode

string

None.

OpeningBalance

decimal number

None.

IBAN

string

None.

BIC

string

None.

CountryCode

string

None.

BankName

string

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "AccountName": "sample string 1",
  "AccountNumber": "sample string 2",
  "Sortcode": "sample string 3",
  "OpeningBalance": 4.0,
  "IBAN": "sample string 5",
  "BIC": "sample string 6",
  "CountryCode": "sample string 7",
  "BankName": "sample string 8"
}

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.