Learn365 enables admins to get data on sessions (standalone or within a session group) both via the Learn365 Admin Center functionality and via the Learn365 API.
This article describes the steps how to retrieve the data via API.
To get session data, follow the steps:
To use the Learn365 API, you should be authorized with the relevant API key. For details, see this article.
1. In https:/api.365.systems, 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.
EXAMPLE
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.
Comments
Article is closed for comments.