GET restapi/personal/progressreport/courses/v1?learningObjectiveId={learningObjectiveId}&onlyWithCriteria={onlyWithCriteria}

Gets the favourite courses where current user is a teacher and where the learning objective used.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
learningObjectiveId

The learning objective repository identifier.

integer

Required

onlyWithCriteria

If set to true will be return courses where this learning objective has criteria. Otherwise will be returned all courses where the learning objective used.

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

Collection of Itslearning.RestApi.Entities.Course
NameDescriptionTypeAdditional information
Code

string

None.

CourseId

integer

None.

CreatedDateTimeUtc

date

None.

Title

string

None.

OrganisationId

integer

None.

CourseColorClass

string

None.

SyncKey

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Code": "sample string 1",
    "CourseId": 2,
    "CreatedDateTimeUtc": "2025-06-25T14:40:37Z",
    "Title": "sample string 3",
    "OrganisationId": 4,
    "CourseColorClass": "sample string 5",
    "SyncKey": "sample string 6"
  },
  {
    "Code": "sample string 1",
    "CourseId": 2,
    "CreatedDateTimeUtc": "2025-06-25T14:40:37Z",
    "Title": "sample string 3",
    "OrganisationId": 4,
    "CourseColorClass": "sample string 5",
    "SyncKey": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCourse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Course>
    <Code>sample string 1</Code>
    <CourseColorClass>sample string 5</CourseColorClass>
    <CourseId>2</CourseId>
    <CreatedDateTimeUtc>2025-06-25T14:40:37Z</CreatedDateTimeUtc>
    <OrganisationId>4</OrganisationId>
    <SyncKey>sample string 6</SyncKey>
    <Title>sample string 3</Title>
  </Course>
  <Course>
    <Code>sample string 1</Code>
    <CourseColorClass>sample string 5</CourseColorClass>
    <CourseId>2</CourseId>
    <CreatedDateTimeUtc>2025-06-25T14:40:37Z</CreatedDateTimeUtc>
    <OrganisationId>4</OrganisationId>
    <SyncKey>sample string 6</SyncKey>
    <Title>sample string 3</Title>
  </Course>
</ArrayOfCourse>