AVAILABLE WITH BUSINESS SUBSCRIPTION

Request: GET /api/v2/learning_track/courses?learningTrackIds={trackId1},{trackId2}

This method helps you to get a list of courses that are included in the learning track.

Account OwnerAccount AdministratorsDepartment Administrators, users with a custom role, or Course Author with access to the project containing this course.

Request Headers

Header

Description

Authorization (required)Access token. You can obtain a token by making a request.

Response Parameters

ParameterDescription
learningTrackCourseAn array containing information regarding the course.

learningTrackCourse

ParameterDescription
learningTrackIdThe learning track ID.
courseIdThe ID of the course that is included in this learning track.

Response Codes

Code

Text

Description

200OKThe request has been successfully processed. The response body contains the XML data regarding a course. 
400Invalid course id in: {trackId1,trackId2}The user does not have access to the learning track.
403Permission deniedThe user doesn't have enough permissions to get information regarding the course.

Sample Request

GET /api/v2/learning_track/courses?learningTrackIds=ae804458-9c77-11ec-afb4-0242ac190026,f51b20a6-828a-11ec-85ab-0242ac120038
Host: api-learn.ispringlearn.com 
Authorization: p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE 
XML

Sample Response

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <learningTrackCourse>
        <learningTrackId>f51b20a6-828a-11ec-85ab-0242ac120038</learningTrackId>
        <courseId>798851ec-1625-11ec-8dfd-0242ac160034</courseId>
    </learningTrackCourse>
    <learningTrackCourse>
        <learningTrackId>f51b20a6-828a-11ec-85ab-0242ac120038</learningTrackId>
        <courseId>a19861ee-0a37-11ec-bf16-0242ac140033</courseId>
    </learningTrackCourse>
    <learningTrackCourse>
        <learningTrackId>ae804458-9c77-11ec-afb4-0242ac190026</learningTrackId>
        <courseId>a2239d7c-0a37-11ec-b63a-0242ac140033</courseId>
    </learningTrackCourse>
    <learningTrackCourse>
        <learningTrackId>ae804458-9c77-11ec-afb4-0242ac190026</learningTrackId>
        <courseId>a1c8afde-0a37-11ec-b484-0242ac140033</courseId>
    </learningTrackCourse>
    <learningTrackCourse>
        <learningTrackId>ae804458-9c77-11ec-afb4-0242ac190026</learningTrackId>
        <courseId>a19861ee-0a37-11ec-bf16-0242ac140033</courseId>
    </learningTrackCourse>
</response>
XML