Forum Discussion
Alireza_Bikdeli
Nov 15, 2021Copper Contributor
MS Project Online REST API/Ressource Calendar
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 calen...
Paul_Mather
Nov 16, 2021MVP
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/enterpriseresourcecollection#methods so you probably need to use CSOM.
Paul