Trying to get at course completion via APIs
I'm trying to get information about course completion for Training classes we're assigning to patrons and for a course for which we have a completion, I'm getting no results:
Here's the path I'm using (pushing in variables we're using):
GET $baseUrl "/d2l/api/le/1.73/" + $orgUnitId +"/grades/courseCompletion/"
The orgUnitId I'm using here is at the Course Offering level. I toyed with doing this at the section level (which is where we're assigning the course via IPSIS), but using that orgUnitId consistently gave me a 403 error.
If I impersonate the manager, I can see that the course is, in fact, completed, but the return from the above GET call yields:
Is there some sort of delay on this showing up in the API calls.
I'm using an OAuth2 connection that was joined up with a Super Admin user. Scopes granted are:
core:*:* courses:*:* datahub:*:* datasets:*:* enrollment:*:* grades:*:* orgunits:*:* reporting:*:* sections:*:* users:*:*
Realize the above is likely overkill, but I'm trying (and also doing other things with these calls)