GET Api/Groups/GetGroupCourses?idGroup={idGroup}&idCourse={idCourse}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
idGroup

integer

Default value is 0

idCourse

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of GroupCourseResponse
NameDescriptionTypeAdditional information
idGroup

integer

None.

idCourse

integer

None.

groupUserPercentage

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "idGroup": 1,
    "idCourse": 2,
    "groupUserPercentage": 3.1
  },
  {
    "idGroup": 1,
    "idCourse": 2,
    "groupUserPercentage": 3.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfGroupCourseResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <GroupCourseResponse>
    <idGroup>1</idGroup>
    <idCourse>2</idCourse>
    <groupUserPercentage>3.1</groupUserPercentage>
  </GroupCourseResponse>
  <GroupCourseResponse>
    <idGroup>1</idGroup>
    <idCourse>2</idCourse>
    <groupUserPercentage>3.1</groupUserPercentage>
  </GroupCourseResponse>
</ArrayOfGroupCourseResponse>