POST api/tenancy/{id}/setrent
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
Dezrez.Core.DataContracts.External.Api.Lettings.Command.UpdateRentAmountDataContractName | Description | Type | Additional information |
---|---|---|---|
RentAmount | decimal number |
None. |
|
PriceType | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
RentSchedule | Dezrez.Core.DataContracts.External.Api.Events.ScheduledEvents.Command.RecurringScheduleDataContract |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "RentAmount": 1.0, "PriceType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "RentSchedule": { "Frequency": 1, "StartDate": "2024-10-06T03:23:10.2963109Z", "DaysOfWeek": [ 1, 1 ], "DayOfMonth": 1, "Interval": 2, "IsSplit": true, "AnniversaryDay": 4, "AnniversaryMonth": 5, "IsNewTenancy": true } }
Response Information
Resource Description
Dezrez.Core.DataContracts.External.Api.Lettings.Query.TenancyPriceDataContractName | Description | Type | Additional information |
---|---|---|---|
RentAmount | decimal number |
None. |
|
PriceType | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
RentSchedule | Dezrez.Core.DataContracts.External.Api.Events.ScheduledEvents.Command.RecurringScheduleDataContract |
None. |
Response Formats
application/json, text/json
Sample:
{ "RentAmount": 1.0, "PriceType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "RentSchedule": { "Frequency": 1, "StartDate": "2024-10-06T03:23:10.2963109Z", "DaysOfWeek": [ 1, 1 ], "DayOfMonth": 1, "Interval": 2, "IsSplit": true, "AnniversaryDay": 4, "AnniversaryMonth": 5, "IsNewTenancy": true } }