GET api/v1/general/courses/GetYearCourses

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of GetCourseYearMappingModel
NameDescriptionTypeAdditional information
Id

integer

None.

YearId

integer

None.

CourseId

integer

None.

TargetInHours

decimal number

None.

ActualInHours

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "YearId": 2,
    "CourseId": 3,
    "TargetInHours": 4.0,
    "ActualInHours": 5.0
  },
  {
    "Id": 1,
    "YearId": 2,
    "CourseId": 3,
    "TargetInHours": 4.0,
    "ActualInHours": 5.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfGetCourseYearMappingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
  <GetCourseYearMappingModel>
    <ActualInHours>5</ActualInHours>
    <CourseId>3</CourseId>
    <Id>1</Id>
    <TargetInHours>4</TargetInHours>
    <YearId>2</YearId>
  </GetCourseYearMappingModel>
  <GetCourseYearMappingModel>
    <ActualInHours>5</ActualInHours>
    <CourseId>3</CourseId>
    <Id>1</Id>
    <TargetInHours>4</TargetInHours>
    <YearId>2</YearId>
  </GetCourseYearMappingModel>
</ArrayOfGetCourseYearMappingModel>