POST api/tenancy/{id}/updatetenancykeyinformation

Updates a tenancies key information

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

UpdateTenancyKeyInformationDataContract
NameDescriptionTypeAdditional information
AgreementType

EnumDataContract

None.

StartDate

date

None.

EstimatedStartDate

date

None.

NoticePeriod

EnumDataContract

None.

TenancyType

EnumDataContract

None.

Term

EnumDataContract

None.

EndDate

date

None.

ServiceLevel

EnumDataContract

None.

TenancyRoleStatus

EnumDataContract

None.

RentAmount

decimal number

None.

RentPaymentDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "AgreementType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "StartDate": "2020-07-09T19:46:53.7370105Z",
  "EstimatedStartDate": "2020-07-09T19:46:53.7370105Z",
  "NoticePeriod": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "TenancyType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "Term": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "EndDate": "2020-07-09T19:46:53.7370105Z",
  "ServiceLevel": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "TenancyRoleStatus": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "RentAmount": 1.0,
  "RentPaymentDate": "2020-07-09T19:46:53.7370105Z"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1