Retrieve the events from a SharePoint calendar using REST API

Viewed 11739

I have the rest endpoint for accessing the sharepoint calendar from my internal network at work. It looks like this: https://teamsites.{COMPANY}.com/sites/{SITE_URI}/_api/Web/Lists/getbytitle({TITLE-OF-CALENDAR})/items

When I do an authorized GET request to the above url, it gives me a list of 4 events from the calendar, but the dates are kind of random. What is the endpoint I need to specify in order to retrieve all of the events for the current month?

Also, I'm guessing that the reason I'm only getting 4 events per request is because of some pagination thing that I'm not handling... if you know how to retrieve all the events in one request, that would be a bonus.

Thanks in advance!

1 Answers
Related