POST api/tenancy/{id}/setnoticeperiod

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

SetNoticePeriodDataContract
NameDescriptionTypeAdditional information
NoticePeriod

EnumDataContract

None.

CustomDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "NoticePeriod": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "CustomDate": "2018-11-15T00:26:10.0031779Z"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SetNoticePeriodDataContract'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.