POST api/tenancy/{id}/rentdifferencewithschedule

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

UpdateRentAmountDataContract
NameDescriptionTypeAdditional information
RentAmount

decimal number

None.

PriceType

EnumDataContract

None.

RentSchedule

RecurringScheduleDataContract

None.

IsSplit

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "RentAmount": 1.0,
  "PriceType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "RentSchedule": {
    "Frequency": 1,
    "StartDate": "2018-11-16T21:11:35.1730058Z",
    "DaysOfWeek": [
      1,
      1
    ],
    "DayOfMonth": 1,
    "Interval": 2,
    "AnniversaryDay": 3,
    "AnniversaryMonth": 4
  },
  "IsSplit": true
}

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 'UpdateRentAmountDataContract'.

Response Information

Resource Description

RentDayDifferenceDataContract
NameDescriptionTypeAdditional information
DaysDifference

integer

None.

Amount

decimal number

None.

NextRentAmountSplit

decimal number

None.

NextRentAmountConsolidate

decimal number

None.

DateDue

date

None.

NextFullRentDate

date

None.

NextSplitRentDate

date

None.

Response Formats

application/json, text/json

Sample:
{
  "DaysDifference": 1,
  "Amount": 2.0,
  "NextRentAmountSplit": 3.0,
  "NextRentAmountConsolidate": 4.0,
  "DateDue": "2018-11-16T21:11:35.1886429Z",
  "NextFullRentDate": "2018-11-16T21:11:35.1886429Z",
  "NextSplitRentDate": "2018-11-16T21:11:35.1886429Z"
}