POST api/tenancy/{id}/setrentschedule

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

RecurringScheduleDataContract
NameDescriptionTypeAdditional information
Frequency

Frequency

None.

StartDate

date

None.

DaysOfWeek

Collection of DayOfWeek

None.

DayOfMonth

integer

None.

Interval

integer

None.

AnniversaryDay

integer

None.

AnniversaryMonth

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Frequency": 1,
  "StartDate": "2018-11-16T10:24:20.2942819Z",
  "DaysOfWeek": [
    1,
    1
  ],
  "DayOfMonth": 1,
  "Interval": 2,
  "AnniversaryDay": 3,
  "AnniversaryMonth": 4
}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.