Why does GET /d2l/api/le/(version)/(orgUnitId)/calendar/events/user/ return data for more than on...

Bobby.Ross7
Posts: 10 ✭
in Development
I'm working with the GET /d2l/api/le/(version)/(orgUnitId)/calendar/events/user/ endpoint and am a bit confused about the returned data. I have a student that is registered in 3 different courses. When I call the endpoint for each orgUnitId it looks like the endpoint is returning data for all 3 courses, not just the one specified in the URL. Re-reading the description for the endpoint leads me to believe that I can supply one orgUnitId for a student and it will return calendar data for all current orgUnits that belong to the institution and the student is registered for. Am I understanding this correctly?
Categories
- All Categories
- 6 Thought Leadership
- 7 Known and Fixed Issues
- 6 Product Roadmap
- 553 Archived
- 10 Accessibility
- 27 Community Corner
- 2 Welcome
- Updates
- Member Spotlights
- 4 Events
- 242 Development
- 746 Customer Enablement
- Evaluate - Assess Student Learning
- Get Comfortable with Brightspace
- Communicate - Engage with Your Students
- 1 Create - Set up your Brightspace course
- Action - Add or create student activities
- 26 Partners
- 8 Product News
- 2022
- 2022 Release Notes
- 2021 Release Notes
- 4 Training
- andycat