API+Query: get titular and p-manager's courses