Get Calendar for User - Need Events for a Date Range
I'm looking at the Get Calendar for User API and need clarification with the date range. I'm using the following parameters ?startdate=2024-05-01&end_date=2024-10-20. When I execute the call, I'm only getting calendar events for 5/31 and 6/1. I did confirm I have events in August, September and October.
Is the end_date related to the “End Date” of the calendar event itself? If so, how do I pull data for a range of events that are between two dates without having to call this API multiple times for each individual day?
Comments
-
@Lindsey Bryant I did notice that the documentation on the route is lacking. The way the start date and end date are intended to work is to limit the data returned to a single month (31 days) of data if a large range is applied. So in your example I would have expected to see data from 5-1 to 6-1, so perhaps there aren't any events from the beginning of May?
The start date and end date also allow for a smaller range, but doesn't require you to call and get events for a single day. I've seen use cases where a call is made to get a single week or even two weeks of events.
I am going to add the correct documentation to the route today so this sort of thing won't happen in the future.
0 -
@Jared Harbour I originally tested the API using 05-01 to 10-20 and I only got 48 results. I have hundreds of calendar events during this date range. My hope was that the start and end date would pull all the events between the dates I provided. But I am wondering if it's using the end_date that is on the event (which would be unfortunate). It would be good to see the updated documentation so I can then help troubleshoot how we're seeing data.
0 -
@Jared Harbour I also wanted to point out that the requirement of having a role of Teacher, Parent or Student is also an issue. I have no need to have these roles, except to run this API.
0 -
@Lindsey Bryant
Hi. This is intended to be an “end user” endpoint. It uses the logged-in users rights to limit the output to only data valid for them. It is also returning an amalgam of things that show for a calendar, which can be a combination of games, practices, events, etc.This is all different from what an admin user would want. For those we are building separate endpoints for the different things that might show up on a bb calendar. And the data will bring back information across all users, not limited to the logged-in user. We already have endpoints for games, practices, class meetings, etc.
This is ongoing work and is part of our focus on delivering Content, News, Announcement and Event data for partners and clients to use.
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 402 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 655 Blackbaud Grantmaking™
- 576 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 941 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.7K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 120 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 240 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Grid View Batch
- 3 (Closed) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 796 Community News
- 3K Jobs Board
- 54 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)

