GET /api/v1/courses/{course_id}/stats/{user_email}
Retrieve the statistics of a user for a given course.
Returns :
An array of the user’s statistics by attempt (globalTime, progress, score, completedAt)
_id
: attempt’s idglobalTime
: total time spent by the user following the given course (milliseconds)progress
: the learner’s progress status (%)score
: the learner’s score (%)firstActivity
: date of first activitycompletedAt
: date of completionlastActivity
: date of last activity
If the course was played as part of a program, the response also includes:
programSession
: Id of the corresponding programSessionprogramTemplate
: Id of the corresponding programTemplate
If the course was played as part of a path, the response also includes:
path
: Id of the corresponding pathpathSession
: Id of the corresponding path session
Changelog
- Milestone X (Dec 21): Added
firstActivity
andlastActivity
in the response - Nov 9th: Added
path
andpathSession
Servers
- https://app.360learning.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
user_email |
String | Yes |
user's email |
course_id |
String | Yes |
course's id |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
company |
String | No |
(Optional) Include the company ID to authenticate calls via the API key as query parameter. For more information on the authentication methods supported by our API, see Authentication Methods. |
apiKey |
String | No |
(Optional) Include the API key to authenticate calls via the API key as query parameter. For more information on the authentication methods supported by our API, see Authentication Methods. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.