POST api/tenancy/{id}/setdates
Set start date, terms, end date and notice period for tenancy. assertions
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
Dezrez.Core.DataContracts.External.Api.Lettings.Command.SetTenancyDatesDataContractName | Description | Type | Additional information |
---|---|---|---|
NoticePeriod | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
StartDate | date |
None. |
|
TenancyType | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
Term | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
EndDate | date |
None. |
|
RentAmount | decimal number |
None. |
|
PriceType | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "NoticePeriod": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "StartDate": "2024-10-30T15:16:10.9562854Z", "TenancyType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Term": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "EndDate": "2024-10-30T15:16:10.9562854Z", "RentAmount": 1.0, "PriceType": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" } }
Response Information
Resource Description
Dezrez.Core.DataContracts.External.Api.Role.Query.Get.Group.TenantRoleDataContractResponse Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.