Skip to main content
Question

Course Assignment to Branches

  • May 23, 2022
  • 2 replies
  • 92 views

We are looking for an API, where we can assign a course directly to a branch, so all the users of that branch can access this new course. 
we have access to below url and can test it once get any API for this requirement. 
https://nweastaging.docebosaas.com/api-browser/

This functionality can be achieved via GUI, so if this can also be possible via API it will be helpful. 

2 replies

lrnlab
Hero III
Forum|alt.badge.img+10
  • Hero III
  • May 23, 2022

HI @sachinjain any reason you are not using Enrollment Rules? This can be done quite easily sign this app.


  • Author
  • Newcomer
  • May 25, 2022

@lrnlab 
we are developing this solution from 3rd party plugin, so they will use these api and then course will be assigned to them. 

So to explain it better we have groups and groups have enrollment rules which assign the courses.

Anyways we have found this API 
https://nweastaging.docebosaas.com/api-browser/#!/audiences/Audience/Audience_audiences_v1_audience_uuid_users_0_1 where passing the branch id is working and we are able to assign same group to all the users and later based on group enrollment the courses got assigned.