POST api/tenancy/{id}/setnoticeperiod

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Dezrez.Core.DataContracts.External.Api.Lettings.Command.SetNoticePeriodDataContract
NameDescriptionTypeAdditional information
NoticePeriod

Dezrez.Core.DataContracts.External.Api.System.EnumDataContract

None.

CustomDate

date

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"
  },
  "CustomDate": "2024-10-30T15:16:29.7474386Z"
}

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.