POST api/account/create

Create account for groupId provided

Request Information

URI Parameters

None.

Body Parameters

Dezrez.Core.DataContracts.Accounts.AccountingSystem.Command.SetClientSubAccountDataContract
NameDescriptionTypeAdditional information
Name

string

None.

AccountNumber

string

None.

SortCode

string

None.

BIC

string

None.

IBAN

string

None.

CountryCode

string

None.

BankType

string

None.

GroupId

integer

None.

IsMemo

boolean

None.

IsLandlord

boolean

None.

IsTenant

boolean

None.

IsCompany

boolean

None.

UpdateRoleTypes

boolean

None.

Id

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "AccountNumber": "sample string 2",
  "SortCode": "sample string 3",
  "BIC": "sample string 4",
  "IBAN": "sample string 5",
  "CountryCode": "sample string 6",
  "BankType": "sample string 7",
  "GroupId": 1,
  "IsMemo": true,
  "IsLandlord": true,
  "IsTenant": true,
  "IsCompany": true,
  "UpdateRoleTypes": true,
  "Id": 10
}

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.