Get session data via the GET/odata/v2/Courses endpoint

LMS365 (Learn365) enables admins to get data on sessions (standalone or within a session group) both via the Learn365 Admin Center functionality and via the LMS365 (Learn365) API.

This article describes the steps how to retrieve the data via API.

To get session data, follow the steps:

To use the LMS365 (Learn365) API, you should be authorized with the relevant API key. For details, see this article.

1. In https:/, navigate to the Courses section and expand it.

2. Select the GET/odata/v2/Courses endpoint that returns the list of courses and select Try it out.

3. The opened Parameters section includes various query options parameters that can be specified to control the data in the response.



In the $expand field, enter CourseSessions. As a result, the response will contain the courses of the tenant that will include data on their sessions.


4. Select Execute to run the request.

5. In the Responses block, check the results:

  • Number 2xx (for example, 200) under Code shows that the request worked correctly. 
  • You can use the Download option to save the results in the JSON format to your device.
  • The Response body contains the list of courses and their data, including data of its sessions and session groups. Under CourseSessions, you can find relevant sessions data in each course.



Was this article helpful?
0 out of 0 found this helpful


Article is closed for comments.