POST api/deposit/schemes/create

Request Information

URI Parameters

None.

Body Parameters

SetDepositSchemeDataContract
NameDescriptionTypeAdditional information
SchemeName

string

None.

SchemeType

string

None.

ReferenceNumber

string

None.

DepositAccountId

integer

None.

BankAccountName

string

None.

SortCode

string

None.

AccountNumber

string

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SchemeName": "sample string 1",
  "SchemeType": "sample string 2",
  "ReferenceNumber": "sample string 3",
  "DepositAccountId": 1,
  "BankAccountName": "sample string 4",
  "SortCode": "sample string 5",
  "AccountNumber": "sample string 6",
  "Id": 7
}

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 'SetDepositSchemeDataContract'.

Response Information

Resource Description

DepositSchemeDataContract
NameDescriptionTypeAdditional information
SchemeName

string

None.

SchemeType

string

None.

ReferenceNumber

string

None.

DepositClientAccountId

integer

None.

AccountLedger

AccountDataContract

None.

CreatedDate

date

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "SchemeName": "sample string 1",
  "SchemeType": "sample string 2",
  "ReferenceNumber": "sample string 3",
  "DepositClientAccountId": 1,
  "AccountLedger": {
    "Name": "sample string 1",
    "AccountType": "sample string 2",
    "TotalBalance": 3.0,
    "TotalUnclearedBalance": 4.0,
    "TotalAvailableBalance": 5.0,
    "AccountPosition": 6.0,
    "Status": "sample string 7",
    "ChildAccounts": [
      1,
      2
    ],
    "Id": 8
  },
  "CreatedDate": "2018-12-12T00:50:29.0057863Z",
  "Id": 4
}