POST api/account/createsystemaccount

Request Information

URI Parameters

None.

Body Parameters

CreateSubAccountSystemDataContract
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.

BankAccountType

BankAccountType

None.

AccountType

AccountType

None.

CrIsPositive

boolean

None.

SystemType

SystemType

None.

Id

integer

None.

Request Formats

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",
  "BankAccountType": 0,
  "AccountType": 0,
  "CrIsPositive": true,
  "SystemType": 0,
  "Id": 9
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CreateSubAccountSystemDataContract'.

Response Information

Resource Description

BankAccountDataContract
NameDescriptionTypeAdditional information
BankAccountType

string

None.

AccountNumber

string

None.

SortCode

string

None.

IBAN

string

None.

BIC

string

None.

Bank

BankDataContract

None.

IsPrimary

boolean

None.

AccountStatus

AccountStatus

None.

Name

string

None.

AccountType

string

None.

TotalBalance

decimal number

None.

TotalUnclearedBalance

decimal number

None.

TotalAvailableBalance

decimal number

None.

AccountPosition

decimal number

None.

Status

string

None.

ChildAccounts

Collection of integer

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "BankAccountType": "sample string 1",
  "AccountNumber": "sample string 2",
  "SortCode": "sample string 3",
  "IBAN": "sample string 4",
  "BIC": "sample string 5",
  "Bank": {
    "Name": "sample string 1",
    "BankType": 0,
    "BankTypeSystemName": "sample string 2"
  },
  "IsPrimary": true,
  "AccountStatus": 0,
  "Name": "sample string 7",
  "AccountType": "sample string 8",
  "TotalBalance": 9.0,
  "TotalUnclearedBalance": 10.0,
  "TotalAvailableBalance": 11.0,
  "AccountPosition": 12.0,
  "Status": "sample string 13",
  "ChildAccounts": [
    1,
    2
  ],
  "Id": 14
}