The following requests relate to listing courses that are assigned to a team. The calls are made via the Litmos Training Engine API.
Note: All requests must be Authenticated.
Get a List of Courses Assigned to a Team
Get a list of all courses that are assigned to a team.
Request URI
GET /teams/{teamid}/courses?
Response Body (XML)
<Courses>
<Course>
<Id>string [max length 50]</Id>
<Code>string [max length 20]</Code>
<Name>string [max length 255]</Id>
<Active>true/false</Active>
<ForSale>true/false</ForSale>
<OriginalId>integer</OriginalId>
<Description>string</Description>
<EcommerceShortDescription>string</EcommerceShortDescription>
<EcommerceLongDescription>string</EcommerceLongDescription>
<CourseCodeForBulkImport></CourseCodeForBulkImport
<Price></Price>
<AccessTillDate></AccessTillDate>
<AccessTillDays></AccessTillDays>
<CourseTeamLibrary>true/false</CourseTeamLibrary>
</Course>
<Course>
…
</Course>
</Courses>
Note:
-
OriginalId can be used as part of a single sign in process to take a user straight into a particular course.
-
ForSale indicates if the course has been marked for sale via the Litmos UI
Get a List of Learning Paths Assigned to a Team
Get a list of all active learning paths that are assigned to a team.
Request URI
GET /teams/{teamid}/learningpaths?
Response Body (XML)
<LearningPaths>
<LearningPath>
<Id></Id>
<Name></Name>
<Description></Description>
<Active>true/false</Active>
<OriginalId></OriginalId>
<ForSale>true/false</ForSale>
<Price i:nil=”true”/>
<EcommerceShortDescription/>
<EcommerceLongDescription/>
<AccessTillDate i:nil=”true”/>
<AccessTillDays i:nil=”true”/>
<IsEquivalency>true/false</IsEquivalency>
<LearningPathTeamLibrary>true/false</LearningPathTeamLibrary>
</LearningPath>
<LearningPath>
…
</LearningPath>
</LearningPaths>