POST api/tenancy/{id}/setrenewaloptions

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

SetRenewalOptionsDataContract
NameDescriptionTypeAdditional information
LandlordPreference

EnumDataContract

None.

LandlordEndTenancyReason

EnumDataContract

None.

LandlordNotes

string

None.

TenantPreference

EnumDataContract

None.

TenantEndTenancyReason

EnumDataContract

None.

TenantNotes

string

None.

Request Formats

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"
}

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 'SetRenewalOptionsDataContract'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.