GET CoursesAPI/GetCoursesByCourseTypeID?coursetypeid={coursetypeid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
coursetypeid

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Courses
NameDescriptionTypeAdditional information
pkCourseID

integer

None.

Active

boolean

None.

Comments

string

None.

CourseDescription

string

None.

CourseID

string

None.

CourseName

string

None.

CourseTypeID

integer

None.

CreditValue

integer

None.

DateDeveloped

date

None.

DateDevelopedStr

string

None.

Department

string

None.

PrerequisiteText

string

None.

Programme

string

None.

LastRevision

date

None.

LastRevisionStr

string

None.

LectureHours

decimal number

None.

MaxAge

integer

None.

MinAge

integer

None.

CourseType

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "pkCourseID": 1,
    "Active": true,
    "Comments": "sample string 3",
    "CourseDescription": "sample string 4",
    "CourseID": "sample string 5",
    "CourseName": "sample string 6",
    "CourseTypeID": 7,
    "CreditValue": 8,
    "DateDeveloped": "2021-01-25T20:01:06.1533944+00:00",
    "DateDevelopedStr": "sample string 10",
    "Department": "sample string 11",
    "PrerequisiteText": "sample string 12",
    "Programme": "sample string 13",
    "LastRevision": "2021-01-25T20:01:06.1533944+00:00",
    "LastRevisionStr": "sample string 14",
    "LectureHours": 15.0,
    "MaxAge": 16,
    "MinAge": 17,
    "CourseType": "sample string 18"
  },
  {
    "pkCourseID": 1,
    "Active": true,
    "Comments": "sample string 3",
    "CourseDescription": "sample string 4",
    "CourseID": "sample string 5",
    "CourseName": "sample string 6",
    "CourseTypeID": 7,
    "CreditValue": 8,
    "DateDeveloped": "2021-01-25T20:01:06.1533944+00:00",
    "DateDevelopedStr": "sample string 10",
    "Department": "sample string 11",
    "PrerequisiteText": "sample string 12",
    "Programme": "sample string 13",
    "LastRevision": "2021-01-25T20:01:06.1533944+00:00",
    "LastRevisionStr": "sample string 14",
    "LectureHours": 15.0,
    "MaxAge": 16,
    "MinAge": 17,
    "CourseType": "sample string 18"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCourses xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models">
  <Courses>
    <Active>true</Active>
    <Comments>sample string 3</Comments>
    <CourseDescription>sample string 4</CourseDescription>
    <CourseID>sample string 5</CourseID>
    <CourseName>sample string 6</CourseName>
    <CourseType>sample string 18</CourseType>
    <CourseTypeID>7</CourseTypeID>
    <CreditValue>8</CreditValue>
    <DateDeveloped>2021-01-25T20:01:06.1533944+00:00</DateDeveloped>
    <DateDevelopedStr>sample string 10</DateDevelopedStr>
    <Department>sample string 11</Department>
    <LastRevision>2021-01-25T20:01:06.1533944+00:00</LastRevision>
    <LastRevisionStr>sample string 14</LastRevisionStr>
    <LectureHours>15</LectureHours>
    <MaxAge>16</MaxAge>
    <MinAge>17</MinAge>
    <PrerequisiteText>sample string 12</PrerequisiteText>
    <Programme>sample string 13</Programme>
    <pkCourseID>1</pkCourseID>
  </Courses>
  <Courses>
    <Active>true</Active>
    <Comments>sample string 3</Comments>
    <CourseDescription>sample string 4</CourseDescription>
    <CourseID>sample string 5</CourseID>
    <CourseName>sample string 6</CourseName>
    <CourseType>sample string 18</CourseType>
    <CourseTypeID>7</CourseTypeID>
    <CreditValue>8</CreditValue>
    <DateDeveloped>2021-01-25T20:01:06.1533944+00:00</DateDeveloped>
    <DateDevelopedStr>sample string 10</DateDevelopedStr>
    <Department>sample string 11</Department>
    <LastRevision>2021-01-25T20:01:06.1533944+00:00</LastRevision>
    <LastRevisionStr>sample string 14</LastRevisionStr>
    <LectureHours>15</LectureHours>
    <MaxAge>16</MaxAge>
    <MinAge>17</MinAge>
    <PrerequisiteText>sample string 12</PrerequisiteText>
    <Programme>sample string 13</Programme>
    <pkCourseID>1</pkCourseID>
  </Courses>
</ArrayOfCourses>