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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdateTenancyKeyInformationDataContract'.

application/json, text/json

Sample:
{
  "AgreementType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "StartDate": "2024-04-25T06:42:44.0872783Z",
  "EstimatedStartDate": "2024-04-25T06:42:44.0872783Z",
  "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-04-25T06:42:44.0872783Z",
  "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