Skip to navigation

Get User General Report V2

Return the general learning report per user. This version adds fields that the first one does not expose; new integrations should use it.

Authentication

Api-Keystring

API key of the organization. Always sent together with the Secret-Access header.

Path parameters

organization_slugstringRequired

Headers

Secret-AccessstringRequired

Query parameters

user_idintegerOptional
user_emailstringOptional
user_statusstringOptional
course_idstringOptional
track_namelist of stringsOptional

Return only the enrollments of courses the user has through any of these tracks. Exact match, case-insensitive. Repeat the parameter for several tracks: ?track_name=A&track_name=B.

track_idlist of integersOptional

Return only the enrollments of courses the user has through any of these tracks, by id (the track_id of each row). Repeat the parameter for several tracks: ?track_id=101&track_id=102. Combined with track_name, a course matches if it is in any of the given tracks.

limitintegerOptional1-500Defaults to 100
Rows per page, up to 500. Defaults to 100 when omitted.
offsetintegerOptional>=0

Rows to skip before the page. Use it together with limit to walk the report: 0, then limit, then twice limit, and so on.

from_datestringOptional

Start of the range, in YYYY-MM-DD format. Inclusive. With no to_date the range stays open going forward. Applies to the course enrollment date — the course_enroll_date field of the response —, interpreted in the organization’s time zone, the same one the report returns that date in.

to_datestringOptional

End of the range, in YYYY-MM-DD format. Inclusive: the whole day is covered, not just its midnight. For a single day, send the same date in from_date and in to_date. Applies to the course enrollment date — the course_enroll_date field of the response —, interpreted in the organization’s time zone, the same one the report returns that date in.

certificated_from_datestringOptional

Start of the range, in YYYY-MM-DD format. Inclusive. With no certificated_to_date the range stays open going forward. Applies to the course certification date — the course_certificated_date field of the response —, interpreted in the organization’s time zone, the same one the report returns that date in. Enrollments without a certificate are left out.

certificated_to_datestringOptional

End of the range, in YYYY-MM-DD format. Inclusive: the whole day is covered, not just its midnight. For a single day, send the same date in certificated_from_date and in certificated_to_date. Applies to the course certification date — the course_certificated_date field of the response —, interpreted in the organization’s time zone, the same one the report returns that date in. Enrollments without a certificate are left out.

Response

Successful Response
resultslist of objects
totalintegerOptional

Errors

400
Bad Request Error
422
Unprocessable Entity Error