Using Connect Enterprise Web Services |
|||
| Training > View a user's training | |||
Once a user is logged in, you can list all courses the user is enrolled in with report-my-courses, or all of the user's courses and curriculums with report-my-training. This lists only the courses (or courses and curriculums) the user is enrolled in, not all courses available.
https://example.com/api/xml?action=report-my-training
name, url, or any other values you want to display:
<row sco-id="2007035246" type="content" icon="course"
permission-id="view">
<name>Java 101</name>
<url>example.com/java101/</url>
<date-created>2006-07-20T17:21:11.940-07:00</date-created>
<date-modified>2006-07-20T17:21:38.860-07:00</date-modified>
<date-begin>2006-07-20T17:15:00.000-07:00</date-begin>
<url-path>/java101/</url-path>
<expired>false</expired>
<completed>false</completed>
</row>
principal-id of the user (see "Find a principal-id").report-user-trainings-taken:
https://example.com/api/xml?action=report-user-trainings-taken
&principal-id=2006258745
tatus:
<row transcript-id="2006293632" max-retries="" sco-id="2564016"
type="content" icon="course" status="completed"
certificate="2006293632" score="0" permission-id="" attempts="1">
<name>Programming in Perl</name>
<description>Info about Perl</description>
<url-path>/p57283193/</url-path>
<date-taken>2006-05-01T17:10:56.400-07:00</date-taken>
<from-curriculum>false</from-curriculum>
</row>
A course can have many allowed values for status, but a curriculum can only have a status of completed or incomplete. The allowed values of status are described in status attribute in the reference.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/breeze/6/xml_api/03b_tra5.htm