PUT 17.0/database/tenancytenants/{tenancyid}/{contactid}

Description

Update existing Tenancy Tenants

URI Parameters

Name Description Type Additional information
tenancyID

integer

Required

contactID

integer

Required

Name Description Type Additional information
TenancyID

integer

None.

ContactID

integer

None.

PaymentMethodID

integer

None.

PaymentDay

byte

None.

PaymentDayBenefit

byte

None.

PaymentFrequency

byte

None.

PaymentFrequencyBenefit

byte

None.

Amount

decimal number

None.

AmountBenefit

decimal number

None.

Deposit

decimal number

None.

AdditionalAmount

decimal number

None.

AdditionalProductID

integer

None.

TDSTenantID

string

String length: inclusive between 0 and 25

application/json, text/json

Sample:
{
  "tenancyID": 1,
  "contactID": 1,
  "paymentMethodID": 1,
  "paymentDay": 64,
  "paymentDayBenefit": 64,
  "paymentFrequency": 64,
  "paymentFrequencyBenefit": 64,
  "amount": 1.0,
  "amountBenefit": 1.0,
  "deposit": 1.0,
  "additionalAmount": 1.0,
  "additionalProductID": 1,
  "tdsTenantID": "sample string 1"
}

application/xml, text/xml

Sample:
<TenancyTenantsUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TenancyID>1</TenancyID>
  <ContactID>1</ContactID>
  <PaymentMethodID>1</PaymentMethodID>
  <PaymentDay>64</PaymentDay>
  <PaymentDayBenefit>64</PaymentDayBenefit>
  <PaymentFrequency>64</PaymentFrequency>
  <PaymentFrequencyBenefit>64</PaymentFrequencyBenefit>
  <Amount>1</Amount>
  <AmountBenefit>1</AmountBenefit>
  <Deposit>1</Deposit>
  <AdditionalAmount>1</AdditionalAmount>
  <AdditionalProductID>1</AdditionalProductID>
  <TDSTenantID>sample string 1</TDSTenantID>
</TenancyTenantsUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
TenancyID

integer

None.

ContactID

integer

None.

PaymentMethodID

integer

None.

PaymentDay

byte

None.

PaymentDayBenefit

byte

None.

PaymentFrequency

byte

None.

PaymentFrequencyBenefit

byte

None.

Amount

decimal number

None.

AmountBenefit

decimal number

None.

Deposit

decimal number

None.

AdditionalAmount

decimal number

None.

AdditionalProductID

integer

None.

TDSTenantID

string

String length: inclusive between 0 and 25

application/json, text/json

Sample:
{
  "tenancyID": 1,
  "contactID": 2,
  "paymentMethodID": 3,
  "paymentDay": 64,
  "paymentDayBenefit": 64,
  "paymentFrequency": 64,
  "paymentFrequencyBenefit": 64,
  "amount": 8.0,
  "amountBenefit": 9.0,
  "deposit": 10.0,
  "additionalAmount": 11.0,
  "additionalProductID": 12,
  "tdsTenantID": "sample string 13"
}

application/xml, text/xml

Sample:
<TenancyTenants xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TenancyID>1</TenancyID>
  <ContactID>2</ContactID>
  <PaymentMethodID>3</PaymentMethodID>
  <PaymentDay>64</PaymentDay>
  <PaymentDayBenefit>64</PaymentDayBenefit>
  <PaymentFrequency>64</PaymentFrequency>
  <PaymentFrequencyBenefit>64</PaymentFrequencyBenefit>
  <Amount>8</Amount>
  <AmountBenefit>9</AmountBenefit>
  <Deposit>10</Deposit>
  <AdditionalAmount>11</AdditionalAmount>
  <AdditionalProductID>12</AdditionalProductID>
  <TDSTenantID>sample string 13</TDSTenantID>
</TenancyTenants>