POST api/progression/lettings/{id}/setdeposit

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

SetDepositCommandDataContract
NameDescriptionTypeAdditional information
PriceValue

decimal number

None.

CurrencyCode

string

None.

Scheme

EnumDataContract

None.

Status

EnumDataContract

None.

DepositIdentification

string

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PriceValue": 1.1,
  "CurrencyCode": "sample string 2",
  "Scheme": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "Status": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "DepositIdentification": "sample string 3",
  "Id": 4
}

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

Response Information

Resource Description

DepositDataContract
NameDescriptionTypeAdditional information
PriceValue

decimal number

None.

CurrencyCode

string

None.

Scheme

EnumDataContract

None.

DepositStatus

EnumDataContract

None.

DepositIdentification

string

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "PriceValue": 1.1,
  "CurrencyCode": "sample string 2",
  "Scheme": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "DepositStatus": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "DepositIdentification": "sample string 3",
  "Id": 4
}