PUT 17.0/database/tenancyrenewals/{tenancyid}/{startdate}

Description

Update existing Tenancy Renewals

URI Parameters

Name Description Type Additional information
tenancyID

integer

Required

startDate

date

Required

Name Description Type Additional information
TenancyID

integer

None.

StartDate

date

None.

EndDate

date

None.

AddedDate

date

None.

UserID

integer

None.

Amount

decimal number

None.

AmountBenefit

decimal number

None.

AutoRenew

byte

None.

application/json, text/json

Sample:
{
  "tenancyID": 1,
  "startDate": "2025-01-09T20:34",
  "endDate": "2025-01-09T20:34",
  "addedDate": "2025-01-09T20:34",
  "userID": 1,
  "amount": 1.0,
  "amountBenefit": 1.0,
  "autoRenew": 64
}

application/xml, text/xml

Sample:
<TenancyRenewalsUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TenancyID>1</TenancyID>
  <StartDate>2025-01-09T20:34:35.7100829+00:00</StartDate>
  <EndDate>2025-01-09T20:34:35.7100829+00:00</EndDate>
  <AddedDate>2025-01-09T20:34:35.7100829+00:00</AddedDate>
  <UserID>1</UserID>
  <Amount>1</Amount>
  <AmountBenefit>1</AmountBenefit>
  <AutoRenew>64</AutoRenew>
</TenancyRenewalsUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
TenancyID

integer

None.

StartDate

date

None.

EndDate

date

None.

AddedDate

date

None.

UserID

integer

None.

Amount

decimal number

None.

AmountBenefit

decimal number

None.

AutoRenew

byte

None.

application/json, text/json

Sample:
{
  "tenancyID": 1,
  "startDate": "2025-01-09T20:34",
  "endDate": "2025-01-09T20:34",
  "addedDate": "2025-01-09T20:34",
  "userID": 5,
  "amount": 6.0,
  "amountBenefit": 7.0,
  "autoRenew": 64
}

application/xml, text/xml

Sample:
<TenancyRenewals xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TenancyID>1</TenancyID>
  <StartDate>2025-01-09T20:34:35.7100829+00:00</StartDate>
  <EndDate>2025-01-09T20:34:35.7100829+00:00</EndDate>
  <AddedDate>2025-01-09T20:34:35.7100829+00:00</AddedDate>
  <UserID>5</UserID>
  <Amount>6</Amount>
  <AmountBenefit>7</AmountBenefit>
  <AutoRenew>64</AutoRenew>
</TenancyRenewals>