POST 17.0/database/tenancyrenewals

Description

Create Tenancy Renewals

URI Parameters

None.

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:20",
  "endDate": "2025-01-09T20:20",
  "addedDate": "2025-01-09T20:20",
  "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:20:37.5646621+00:00</StartDate>
  <EndDate>2025-01-09T20:20:37.5646621+00:00</EndDate>
  <AddedDate>2025-01-09T20:20:37.5646621+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:20",
  "endDate": "2025-01-09T20:20",
  "addedDate": "2025-01-09T20:20",
  "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:20:37.5646621+00:00</StartDate>
  <EndDate>2025-01-09T20:20:37.5646621+00:00</EndDate>
  <AddedDate>2025-01-09T20:20:37.5646621+00:00</AddedDate>
  <UserID>5</UserID>
  <Amount>6</Amount>
  <AmountBenefit>7</AmountBenefit>
  <AutoRenew>64</AutoRenew>
</TenancyRenewals>