MS Project Online REST API/Ressource Calendar

Copper Contributor

Updating resource calendars with REST API in project server

hello,

I have been given a set of excel files containing the nonworking hours of resources and I am told to update their Ressource calendars with REST API.

How is it possible to connect the excel sheet with Resource Calendar automatically?

I would bd grateful if you tell me how to do it with REST API-

all the bests,

Ali

1 Reply

Hello @Alireza_Bikdeli ,

Here is a blog post that details update resource calendar exceptions using CSOM: https://pholpar.wordpress.com/2013/03/06/handling-calendar-exceptions-with-csom-on-project-online/ - this might give you an idea on how to do what you need.

I don't think all the methods are available via REST (_api/ProjectServer) to update resource - see here: https://docs.microsoft.com/en-gb/previous-versions/office/developer/project-online-reference/api/ent... so you probably need to use CSOM.

Paul