Buzz API

Locate Course Parent Child relationships

Follow
Answered
Chris Lyles

I’m looking for a way to list courses starting with the Parent, then down to the Child.

For example:

Lets say, I want to search for all of the Children courses who’s Master/Parent course has an id of 9.

Based on the Master Course id of 9, I would like locate the Children courses by searching for 9 within the baseid.

…from here I would write the custom code that will repeat this process searching for the additional children of children.

Is there a way to complete this task?  The listcourses api doesn’t allow a way to search on the baseid.

Thanks

Comments (4)

Sort by
Scott Taylor

Hello Chris,

The API command of GetItemLinks will return courses that are derivatives of the specified CourseID. If the command is called with just the EntityID then it will return all derivative courses that are linked to the specified course (at all levels).

0 Comment actions Permalink
Chris Lyles

Good stuff!  Thanks for the help.

0 Comment actions Permalink
Geoff Quinby

As a followup to this: Will this API command also work with finding derivative relationships of Domains and Subdomains?

0 Comment actions Permalink
Brad Marshall
  • Agilix team member

No, this is only for courses or course activities. ListDomains will display all immediate children domains of a given parent domain.

0 Comment actions Permalink
Please sign in to leave a comment.