GET api/Configuration/AcademicYears

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of AcademicYearViewModel
NameDescriptionTypeAdditional information
id

integer

None.

Start

date

Required

End

date

Required

Active

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "Start": "2020-08-03T20:03:05.1431832-04:00",
    "End": "2020-08-03T20:03:05.1431832-04:00",
    "Active": true
  },
  {
    "id": 1,
    "Start": "2020-08-03T20:03:05.1431832-04:00",
    "End": "2020-08-03T20:03:05.1431832-04:00",
    "Active": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfAcademicYearViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolERP.API.ViewModels.SchoolDetails">
  <AcademicYearViewModel>
    <Active>true</Active>
    <End>2020-08-03T20:03:05.1431832-04:00</End>
    <Start>2020-08-03T20:03:05.1431832-04:00</Start>
    <id>1</id>
  </AcademicYearViewModel>
  <AcademicYearViewModel>
    <Active>true</Active>
    <End>2020-08-03T20:03:05.1431832-04:00</End>
    <Start>2020-08-03T20:03:05.1431832-04:00</Start>
    <id>1</id>
  </AcademicYearViewModel>
</ArrayOfAcademicYearViewModel>