1
votes

We are working the Microsoft Education APIs within Microsoft Teams and we require to pull the students for a class.

It seems that Microsoft provides an endpoint to return the Members from a Class which returns both Students and Teachers, as well as an endpoint for just teachers, but there doesn't seem to be an endpoint for just Students.

We are getting around this by calling these two endpoints and then removing the Teachers from the Members list, but does anyone have a better solution to this?

It feels like a common requirement for the API, but something that has been missed.

1

1 Answers

1
votes

You solution with two calls and a logical subtraction is the correct one. Thanks for the feedback, but we don't have a plan to produce a GET students API at the present time.