PUT api/InstitutionSettings/CalendarSettings
Request Information
URI Parameters
None.
Body Parameters
CalendarSettingsName | Description | Type | Additional information |
---|---|---|---|
FirstDayInWeek | integer |
None. |
|
ReviewTimetables | ReviewTimetableSettings |
None. |
|
ViewTimetables | ViewTimetableSettings |
None. |
Request Formats
application/json, text/json
Sample:
{ "FirstDayInWeek": 1, "ReviewTimetables": { "StartDate": "2024-11-21T08:54:41.4280963+00:00", "EndDate": "2024-11-21T08:54:41.4280963+00:00" }, "ViewTimetables": { "StartDate": "2024-11-21T08:54:41.4280963+00:00", "EndDate": "2024-11-21T08:54:41.4280963+00:00" } }
application/xml, text/xml
Sample:
<CalendarSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <FirstDayInWeek>1</FirstDayInWeek> <ReviewTimetables> <EndDate>2024-11-21T08:54:41.4280963+00:00</EndDate> <StartDate>2024-11-21T08:54:41.4280963+00:00</StartDate> </ReviewTimetables> <ViewTimetables> <EndDate>2024-11-21T08:54:41.4280963+00:00</EndDate> <StartDate>2024-11-21T08:54:41.4280963+00:00</StartDate> </ViewTimetables> </CalendarSettings>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CalendarSettingsName | Description | Type | Additional information |
---|---|---|---|
FirstDayInWeek | integer |
None. |
|
ReviewTimetables | ReviewTimetableSettings |
None. |
|
ViewTimetables | ViewTimetableSettings |
None. |
Response Formats
application/json, text/json
Sample:
{ "FirstDayInWeek": 1, "ReviewTimetables": { "StartDate": "2024-11-21T08:54:41.4280963+00:00", "EndDate": "2024-11-21T08:54:41.4280963+00:00" }, "ViewTimetables": { "StartDate": "2024-11-21T08:54:41.4280963+00:00", "EndDate": "2024-11-21T08:54:41.4280963+00:00" } }
application/xml, text/xml
Sample:
<CalendarSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model"> <FirstDayInWeek>1</FirstDayInWeek> <ReviewTimetables> <EndDate>2024-11-21T08:54:41.4280963+00:00</EndDate> <StartDate>2024-11-21T08:54:41.4280963+00:00</StartDate> </ReviewTimetables> <ViewTimetables> <EndDate>2024-11-21T08:54:41.4280963+00:00</EndDate> <StartDate>2024-11-21T08:54:41.4280963+00:00</StartDate> </ViewTimetables> </CalendarSettings>