GET api/TimetableOptions/ViewOptions/Weeks?from={from}&to={to}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
from

date

None.

to

date

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Week
NameDescriptionTypeAdditional information
WeekNumber

integer

None.

WeekLabel

string

None.

FirstDayInWeek

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "WeekNumber": 1,
    "WeekLabel": "sample string 2",
    "FirstDayInWeek": "2024-11-21T08:51:01.2268776+00:00"
  },
  {
    "WeekNumber": 1,
    "WeekLabel": "sample string 2",
    "FirstDayInWeek": "2024-11-21T08:51:01.2268776+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfWeek xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Scientia.Platform.API.Model">
  <Week>
    <FirstDayInWeek xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T08:51:01.2268776Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </FirstDayInWeek>
    <WeekLabel>sample string 2</WeekLabel>
    <WeekNumber>1</WeekNumber>
  </Week>
  <Week>
    <FirstDayInWeek xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2024-11-21T08:51:01.2268776Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </FirstDayInWeek>
    <WeekLabel>sample string 2</WeekLabel>
    <WeekNumber>1</WeekNumber>
  </Week>
</ArrayOfWeek>