Register for InstructureCon25 • Passes include access to all sessions, the expo hall, entertainment and networking events, meals, and extraterrestrial encounters.
Found this content helpful? Log in or sign up to leave a like!
I have been using the Catalog API for completed certificates to update our system if the course has been completed.
I noticed recently that some users that have completed a course and previously issued a certificate are now not showing any completed certificates. It just shows up as empty (below)
{
"completed_certificates": [
]
}
Here is an example of someone from the same "bulk purchase" that also completed the course on roughly the same day
{
"completed_certificates": [
{
"canvas_course_id": 452,
"catalog_title": "Course Name",
"canvas_course_name": "Course Name",
"certificate_url": "https://certURL",
"canvas_course_workflow_state": "available",
"completed_at": "2024-05-06T17:45:43Z"
}
]
}
We use Accredible for our certificates, and I also verified that we do not have an expiration set for the cert. Again, I am using the catalog completed certificates API request. I would like to know if the community has come across this and if there is a setting or some other way to get these certs in catalog to show. Thank you!
@instructor3 Have you tried something like this?
{ "enrollments": [ { "id": 25, "account_id": 3, "account_name": "Sub-Account 1", "product": { "name": "Course 1", "id": 5, "url": "https://www.my-catalog.edu/admin/products/1/edit", "sku": "sku" }, "product_status": "OPEN", "canvas_course_id": 11, "student": { "canvas_user_id": 1, "name": "User 15", "email": "user15@instructure.com", "canvas_user_id_string": "1" }, "created_at": "2023-06-05T14:46:59.944581+02:00", "completed_at": "2023-06-29T12:13:27+02:00", "enrollment_status": "COMPLETED", "certificate_attainable": true, "certificate_offered": true, "custom_fields": [ { "key": "text_udf", "value": "awesome udf" }, { "key": "checkbox_udf", "value": "1" } ], "certificate_url": "https://www.my-catalog.edu/admin/certificates/1.pdf?user_id=1" } ] }
When I use the enrollments endpoint in the Catalog API this is the data I get.
{
"enrollment": {
"id": 9######,
"user": {
"id": 3####
},
"listing": {
"id": 1#####,
"title": "##Course Name",
"type": "Course",
"canvas_course_id": 452
},
"enrolled_at": "2024-05-03T21:27:40.877-05:00",
"status": "active"
}
}
Can you share with me what endpoint you're using to pull that data?
@instructor3 I would reccomend reaching out to Instructure support for assistance.
To interact with Panda Bot in the Instructure Community, you need to sign up or log in:
Sign In