I want to query Calendar list and get the upcoming 2 events. How should I form my query ?
This is the query I have to read the items from required list :
var url = _spPageContextInfo.siteAbsoluteUrl + "/_api/web/lists/getbytitle('Event')/items?$filter=Active eq 1"