POST api/progression/lettings/{roleId}/addtenantdeposit

Request Information

URI Parameters

NameDescriptionTypeAdditional information
roleId

integer

Required

Body Parameters

AddTenantDepositDataContract
NameDescriptionTypeAdditional information
Name

string

None.

Deposit

SetDepositCommandDataContract

None.

TenantChargeInfo

AddTenantChargeInfoDataContract

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Deposit": {
    "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
  },
  "TenantChargeInfo": {
    "AmountPaid": 1.1,
    "DiscountPercentage": 2.1,
    "DueDate": "2018-11-14T23:31:31.7852899Z",
    "Id": 3
  },
  "Id": 2
}

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.