Calendar for OTHER Users

Hey folks,

Is there any way to run this endpoint on behalf of another user or for another user? This is really cool except doing it just for me is less cool. If I could do this for each student and teacher, then we're cooking with gas ?

Comments

  • Stephen Boyle
    Stephen Boyle Blackbaud Employee
    Tenth Anniversary Kudos 5 First Reply Name Dropper

    @Nick Marchese
    tl/dr answer: No

    This endpoint doesn't take in a user_id. It looks at who's logged in and returns the events that apply.

    That said, events don't get limited by user_id, anyway. They get limited by role (well the event category is restricted by role, and only events for valid categories are returned). So, all users of the same role (for instance, Current student) will have the same list of events returned.

  • Nick Marchese
    Nick Marchese Community All-Star
    Seventh Anniversary Kudos 1 Name Dropper Participant

    @Stephen Boyle I was hoping that this would return class meetings for getting a comprehensive list of Student A has these 4 classes that meet at these times on these dates.

  • Stephen Boyle
    Stephen Boyle Blackbaud Employee
    Tenth Anniversary Kudos 5 First Reply Name Dropper

    @Nick Marchese
    Ah.
    You're talking more about the Schedules - Meetings for a Student endpoint. It isn't exactly what you described, though. It takes in a student and a date range and returns the student's class meetings for those dates. Class info is in there, it's just not grouped the way you described.

    And like the Event endpoint below, it is limited to only return info for the logged in user, but that is actually something we are discussing how to broaden to admin users that want to get schedule data for students.

    The concern is we don't want to create a scenario where the process has to loop through a bunch of students and spam that get call for each one (then throttling concerns arise). It might make more sense, in that case, to call Schedules Meetings and then call Academics Students by Section if you want the students in a particular meeting.

  • Nick Marchese
    Nick Marchese Community All-Star
    Seventh Anniversary Kudos 1 Name Dropper Participant

    @Stephen Boyle
    Your second method is what I was planning on doing. I essentially have done this with a bunch of lists already, but the Schedules Meeting would make it more reflective of holidays and special schedules. The problem with the Schedules - Meetings for a Student would actually be great. The PROBLEM is again, I can't do it for any students because I'm not the parent or student. So, it isn't really usable to…anyone?

    Totally hear you about throttling and massive data concerns, but many of the restrictions or limitations of some of these make them unusable or not really solving the problem. I'd welcome an opportunity to join the conversation you're having.

Categories