Is there a way using the REST API (through javascript) to expand recurring calendar items? Or is there a helpful client side utility to assist with this?


Unfortunately, the REST API with Javascript will not give you the recurring calendar items. If you want to retrieve the recurring calendar items with client side code, you need to take a look at SPServices: http://spservices.codeplex.com/

Take a look at this thread: http://spservices.codeplex.com/discussions/254560


Look into the RecurrenceData field: [site]/_api/Web/Lists(guid'[[GUID]')/Items([ID])/RecurrenceData. You get an string of xml. You can transform it to JSON if needed. The object you get back is different depending on the type recurrence (daily, weekly, monthly, yearly), so you'll have to add some logic to accomplish what you need.

  • is it possible? – Madhav Sep 30 '16 at 12:55
  • this does not work – Pedro Mar 14 '18 at 11:17

Another approach is to fetch the calendar items using REST Api and expand the recurring events using SPEventsParser library(GitHub repository).

first Get the calendar items using REST like this:


then call the library function to expand the recurring event like this:

var parsedArray = spEventsParser.parseEvent(eventObject);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.