GET restapi/personal/courses/{courseId}/profiles/v1
Information on available course profiles for this course
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
courseId |
The course identifier. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Course profile information
Collection of Itslearning.RestApi.Entities.Personal.Course.PageSetup.CourseProfileName | Description | Type | Additional information |
---|---|---|---|
CourseProfileId |
The course profile identifier. |
integer |
None. |
Title |
The title for the course profile |
string |
None. |
ExistsInCourse |
This indicates if the course profile is used by any participants in the course |
boolean |
None. |
CanBeUsedForAddingParticipantsToCourse |
This indicating whether this instance can be used for adding participants to course. |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CourseProfileId": 1, "Title": "sample string 2", "ExistsInCourse": true, "CanBeUsedForAddingParticipantsToCourse": true }, { "CourseProfileId": 1, "Title": "sample string 2", "ExistsInCourse": true, "CanBeUsedForAddingParticipantsToCourse": true } ]
application/xml, text/xml
Sample:
<ArrayOfCourseProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Itslearning.RestApi.Entities.Personal.Course.PageSetup"> <CourseProfile> <CanBeUsedForAddingParticipantsToCourse>true</CanBeUsedForAddingParticipantsToCourse> <CourseProfileId>1</CourseProfileId> <ExistsInCourse>true</ExistsInCourse> <Title>sample string 2</Title> </CourseProfile> <CourseProfile> <CanBeUsedForAddingParticipantsToCourse>true</CanBeUsedForAddingParticipantsToCourse> <CourseProfileId>1</CourseProfileId> <ExistsInCourse>true</ExistsInCourse> <Title>sample string 2</Title> </CourseProfile> </ArrayOfCourseProfile>