GET restapi/personal/courses/iteach/v1?PageIndex={PageIndex}&PageSize={PageSize}&onlyWithResources={onlyWithResources}
Retrieves a list with Courses for the given teacher.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
|
| onlyWithResources |
If sets to true gets only courses where resources are enabled. |
boolean |
Default value is False |
Body Parameters
None.
Response Information
Resource Description
Entity list with Courses.
EntityListOfItslearning.RestApi.Entities.Course| Name | Description | Type | Additional information |
|---|---|---|---|
| EntityArray | Collection of Itslearning.RestApi.Entities.Course |
None. |
|
| Total | integer |
None. |
|
| CurrentPageIndex | integer |
None. |
|
| PageSize | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"EntityArray": [
{
"Code": "sample string 1",
"CourseId": 2,
"CreatedDateTimeUtc": "2025-10-23T17:50:46Z",
"Title": "sample string 3",
"OrganisationId": 4,
"CourseColorClass": "sample string 5",
"SyncKey": "sample string 6"
},
{
"Code": "sample string 1",
"CourseId": 2,
"CreatedDateTimeUtc": "2025-10-23T17:50:46Z",
"Title": "sample string 3",
"OrganisationId": 4,
"CourseColorClass": "sample string 5",
"SyncKey": "sample string 6"
}
],
"Total": 1,
"CurrentPageIndex": 2,
"PageSize": 3
}
application/xml, text/xml
Sample:
<EntityList xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<CurrentPageIndex>2</CurrentPageIndex>
<EntityArray>
<Course>
<Code>sample string 1</Code>
<CourseColorClass>sample string 5</CourseColorClass>
<CourseId>2</CourseId>
<CreatedDateTimeUtc>2025-10-23T17:50:46Z</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-10-23T17:50:46Z</CreatedDateTimeUtc>
<OrganisationId>4</OrganisationId>
<SyncKey>sample string 6</SyncKey>
<Title>sample string 3</Title>
</Course>
</EntityArray>
<PageSize>3</PageSize>
<Total>1</Total>
</EntityList>