Astra Schedule Help (7.5)

API FAQ

Hide Navigation Pane

API FAQ

Previous topic Next topic  

API FAQ

Previous topic Next topic JavaScript is required for the print function  
hmtoggle_plus1The API overview exposes the high-level concepts behind the API, but does not give details about ALL of the endpoints available.  Is there additional information available?

 

hmtoggle_plus1Is application user security respected in the API?

 

I’m using the following API call to find activities on the calendar (whether classes i.e. “ACCT 101”, or other events i.e. “Faculty Conference”). In this example, I’m searching for events with the term “acct” in the title. Does this look right?

hmtoggle_plus1https://schoool.edu/AstraSchedule/~api/calendar/calendarList?fields=SectionMeetingId%3ASectionMeetInstanceByActivityId.SectionMeeting.Id%2CParentActivityName%2CDescription%2CLocationName&filter=(((ActivityName%3F%3D%22%25acct%25%22)%7C%7C(ParentActivityName%3F%3D%22%25acct%25%22))%7C%7C(Description%3F%3D%22%25acct%25%22))

 

In my code, after the user has found the course they were searching for with my first API call, I use the Section Meeting ID found to search for all section meeting instances of the course, with the following API call. I also need to find the title and the room location of the section meeting instance. How do I add those fields to this API call?

hmtoggle_plus1https://school.edu/AstraSchedule/~api/query/sectionmeetinstance?fields=id,MeetingDate,DayMask,StartMinute,Duration&filter=(SectionMeetingId==%224d326827-34d5-4fd9-a7d7-070e5f9f97c6%22)