AnsweredAssumed Answered

API - How to tell if the child course has a BluePrint assigned?

Question asked by Courtney O'Sullivan on Aug 7, 2019
Latest reply on Aug 7, 2019 by Courtney O'Sullivan

Hi all,


I am trying to write some code to help our admins elevate Courses to be blueprints on bulk and i'm having trouble differentiating between Courses that we want to convert and those who already have a blueprint applied just haven't had any enrollments added yet. 


The following will give me what i want but from the perspective of the BluePrint but not the child course.



Is there a way to get the BluePrint id from a single child course?  I cant seem to see any way to link these two objects up. I need to be able to tell if there is a BluePrint already associated to the course before proceeding. 


Any assistance is greatly appreciated. 


Kind Regards,

Courtney O'Sullivan