GET restapi/personal/children/{childId}/courses/v1?PageIndex={PageIndex}&PageSize={PageSize}
Returns list of courses where the child is a learner.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| childId |
Identifier of the child. |
integer |
Required |
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
EntityListOfItslearning.RestApi.Entities.ChildCourse| Name | Description | Type | Additional information |
|---|---|---|---|
| EntityArray | Collection of Itslearning.RestApi.Entities.ChildCourse |
None. |
|
| Total | integer |
None. |
|
| CurrentPageIndex | integer |
None. |
|
| PageSize | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"EntityArray": [
{
"Teachers": [
{
"HierarchyRole": 0,
"PersonId": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"FullName": "sample string 4",
"ProfileUrl": "sample string 5",
"AdditionalInfo": "sample string 6",
"ProfileImageUrl": "sample string 7",
"ProfileImageUrlSmall": "sample string 8"
},
{
"HierarchyRole": 0,
"PersonId": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"FullName": "sample string 4",
"ProfileUrl": "sample string 5",
"AdditionalInfo": "sample string 6",
"ProfileImageUrl": "sample string 7",
"ProfileImageUrlSmall": "sample string 8"
}
],
"CourseId": 1,
"Title": "sample string 2",
"FriendlyName": "sample string 3",
"CourseColor": "sample string 4",
"CourseFillColor": "sample string 5",
"CourseCode": "sample string 6"
},
{
"Teachers": [
{
"HierarchyRole": 0,
"PersonId": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"FullName": "sample string 4",
"ProfileUrl": "sample string 5",
"AdditionalInfo": "sample string 6",
"ProfileImageUrl": "sample string 7",
"ProfileImageUrlSmall": "sample string 8"
},
{
"HierarchyRole": 0,
"PersonId": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"FullName": "sample string 4",
"ProfileUrl": "sample string 5",
"AdditionalInfo": "sample string 6",
"ProfileImageUrl": "sample string 7",
"ProfileImageUrlSmall": "sample string 8"
}
],
"CourseId": 1,
"Title": "sample string 2",
"FriendlyName": "sample string 3",
"CourseColor": "sample string 4",
"CourseFillColor": "sample string 5",
"CourseCode": "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>
<ChildCourse>
<CourseCode>sample string 6</CourseCode>
<CourseColor>sample string 4</CourseColor>
<CourseFillColor>sample string 5</CourseFillColor>
<CourseId>1</CourseId>
<FriendlyName>sample string 3</FriendlyName>
<Title>sample string 2</Title>
<Teachers>
<PersonSimpleWithHierarchyExtendedRole>
<AdditionalInfo>sample string 6</AdditionalInfo>
<FirstName>sample string 2</FirstName>
<FullName>sample string 4</FullName>
<LastName>sample string 3</LastName>
<PersonId>1</PersonId>
<ProfileImageUrl>sample string 7</ProfileImageUrl>
<ProfileImageUrlSmall>sample string 8</ProfileImageUrlSmall>
<ProfileUrl>sample string 5</ProfileUrl>
<HierarchyRole>Unknown</HierarchyRole>
</PersonSimpleWithHierarchyExtendedRole>
<PersonSimpleWithHierarchyExtendedRole>
<AdditionalInfo>sample string 6</AdditionalInfo>
<FirstName>sample string 2</FirstName>
<FullName>sample string 4</FullName>
<LastName>sample string 3</LastName>
<PersonId>1</PersonId>
<ProfileImageUrl>sample string 7</ProfileImageUrl>
<ProfileImageUrlSmall>sample string 8</ProfileImageUrlSmall>
<ProfileUrl>sample string 5</ProfileUrl>
<HierarchyRole>Unknown</HierarchyRole>
</PersonSimpleWithHierarchyExtendedRole>
</Teachers>
</ChildCourse>
<ChildCourse>
<CourseCode>sample string 6</CourseCode>
<CourseColor>sample string 4</CourseColor>
<CourseFillColor>sample string 5</CourseFillColor>
<CourseId>1</CourseId>
<FriendlyName>sample string 3</FriendlyName>
<Title>sample string 2</Title>
<Teachers>
<PersonSimpleWithHierarchyExtendedRole>
<AdditionalInfo>sample string 6</AdditionalInfo>
<FirstName>sample string 2</FirstName>
<FullName>sample string 4</FullName>
<LastName>sample string 3</LastName>
<PersonId>1</PersonId>
<ProfileImageUrl>sample string 7</ProfileImageUrl>
<ProfileImageUrlSmall>sample string 8</ProfileImageUrlSmall>
<ProfileUrl>sample string 5</ProfileUrl>
<HierarchyRole>Unknown</HierarchyRole>
</PersonSimpleWithHierarchyExtendedRole>
<PersonSimpleWithHierarchyExtendedRole>
<AdditionalInfo>sample string 6</AdditionalInfo>
<FirstName>sample string 2</FirstName>
<FullName>sample string 4</FullName>
<LastName>sample string 3</LastName>
<PersonId>1</PersonId>
<ProfileImageUrl>sample string 7</ProfileImageUrl>
<ProfileImageUrlSmall>sample string 8</ProfileImageUrlSmall>
<ProfileUrl>sample string 5</ProfileUrl>
<HierarchyRole>Unknown</HierarchyRole>
</PersonSimpleWithHierarchyExtendedRole>
</Teachers>
</ChildCourse>
</EntityArray>
<PageSize>3</PageSize>
<Total>1</Total>
</EntityList>