POST api/tenancy/{id}/nextaction

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

SetNextActionDataContract
NameDescriptionTypeAdditional information
NextAction

EnumDataContract

None.

DateTime

date

None.

Notes

string

None.

LandlordPreference

EnumDataContract

None.

LandlordEndTenancyReason

EnumDataContract

None.

LandlordNotes

string

None.

TenantPreference

EnumDataContract

None.

TenantEndTenancyReason

EnumDataContract

None.

TenantNotes

string

None.

NoticeType

EnumDataContract

None.

Request Formats

application/json, text/json

Sample:
{
  "NextAction": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "DateTime": "2018-11-19T19:34:21.1846131Z",
  "Notes": "sample string 1",
  "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 2",
  "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 3",
  "NoticeType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  }
}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.