POST api/progression/lettings/{roleId}/addtenantdeposit
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
roleId | integer |
Required |
Body Parameters
Dezrez.Core.DataContracts.External.Api.Role.Command.AddTenantCharge.AddTenantDepositDataContractName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Deposit | Dezrez.Core.DataContracts.External.Api.Role.Command.SetDeposit.SetDepositCommandDataContract |
None. |
|
TenantChargeInfo | Dezrez.Core.DataContracts.External.Api.Role.Command.AddTenantCharge.AddTenantChargeInfoDataContract |
None. |
|
HistoricDeposit | boolean |
None. |
|
DateProtected | date |
None. |
|
DepositSchemeId | integer |
None. |
|
Id | integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
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": "2024-10-30T15:17:03.9546854Z", "Id": 3 }, "HistoricDeposit": true, "DateProtected": "2024-10-30T15:17:03.9546854Z", "DepositSchemeId": 3, "Id": 4 }
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |