POST api/tenancy/{id}/setnoticeperiod
Set Notice Period. Processes this tenancy API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The unique identifier of the requested resource. |
integer |
Required |
Body Parameters
The set notice period data contract supplied with the request.
SetNoticePeriodDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| NoticePeriod |
The notice period value. |
EnumDataContract |
None. |
| CustomDate |
The custom date, expressed as a date and time. |
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": "2026-07-23T08:22:08.3018671Z"
}
Response Information
Resource Description
The response returned after the operation completes.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.