Has anyone successfully retrieved the completed_at date for an enrolment via the API?

Jump to solution
barbaracoen
Community Contributor

Hi 

We've been trying to access the completed_at date for enrolments so that we can easily report the number of students that have completed courses in a given time period. However we're having trouble accessing this field via the API - has anyone been able to do this and if so, would you mind explaining how?

Thanks a million

Barbara

Labels (1)
1 Solution
barbaracoen
Community Contributor

Just in case anyone looks this up in the future, this is the info we received from support ...

At the current moment there is not an endpoint in the API for a completed at field, like the created_at or updated_at fields in the API. The Student Enrollments Report build by Professional Services actually queries the database for the enrollment data when creating the CSV, and not through an API call to the enrollments. The enrollment completed at date, if wanting to locate it, can be found in Canvas Data through the enrollment_dim for the completed_at timestamp.

I'll update this conversation later if we manage to get the data!

Thanks

Barbara

View solution in original post