Admins and Trainers entities in the GET /odata/v2/Courses endpoint

The Course entity used in API has two properties—Admins and Trainers— that can be used in the $expand query option of a request. This article describes who are the users that correspond to these roles and how they will be displayed in the API response. 

 

122.png

 

So, who are considered Admins and Trainers?

 

Admins refers to all users who are assigned as course administrators via the LMS365 Admin Center > People > Administrators during course creation or editing.

 

Group_21__24_.png

 

Trainers refers to users only who are assigned as course administrators via the LMS365 Admin Center > People > Administrators during course creation or editing and are shown on the training home page meaning the option Show On Training Home Page next to the user's name is enabled. The eye icon is blue for the enabled option and grey for the disabled.

 

Group_21__25_.png

 

Example 

There is one course administrator assigned for a course and the Show On Training Home Page option is disabled for this course administrator. 

 

118.png

 

For this course, the response will show one user for Admins and no user for Trainers.

 

119.png

 

 

Was this article helpful?
0 out of 1 found this helpful

Comments

Article is closed for comments.