POST api/tenancy/{id}/setrenewaloptions

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Dezrez.Core.DataContracts.External.Api.Lettings.Command.SetRenewalOptionsDataContract
NameDescriptionTypeAdditional information
LandlordPreference

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

None.

LandlordEndTenancyReason

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

None.

LandlordNotes

string

None.

TenantPreference

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

None.

TenantEndTenancyReason

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

None.

TenantNotes

string

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "LandlordPreference": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "LandlordEndTenancyReason": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "LandlordNotes": "sample string 1",
  "TenantPreference": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "TenantEndTenancyReason": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "TenantNotes": "sample string 2"
}

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.