POST api/tenancy/{id}/updatetenancykeyinformation

Updates a tenancies key information

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Dezrez.Core.DataContracts.External.Api.Role.Query.Get.Group.UpdateTenancyKeyInformationDataContract
NameDescriptionTypeAdditional information
AgreementType

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

None.

StartDate

date

None.

EstimatedStartDate

date

None.

NoticePeriod

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

None.

TenancyType

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

None.

Term

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

None.

EndDate

date

None.

ServiceLevel

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

None.

TenancyRoleStatus

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

None.

RentAmount

decimal number

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "AgreementType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "StartDate": "2024-11-21T09:42:06.9305204Z",
  "EstimatedStartDate": "2024-11-21T09:42:06.9305204Z",
  "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": "2024-11-21T09:42:06.9305204Z",
  "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
}

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1