Project Online ReST API Resource

Contributor

Hello Everyone,

 

I've few questions in regards to resource:

 

1. What is the difference between the enterprise and project resource?

2. I want to update existing resource, what are the ReST endpoints for both types of resources?

 

Thanks & Regards,

Rohan

1 Reply

Hello @rohanw24 

Enterprise Resources (https://{pwaUrl}/_api/ProjectServer/EnterpriseResources ) is the API that allows management of the Project Online Enterprise Resource pool. Where as Project Resources (https://{pwaUrl}/_api/ProjectServer/Projects('{projectGuid}')/ProjectResources)  are the resources added to that project team.

Here is an example adding resources to the project using the ProjectResources endpoint: https://github.com/OfficeDev/Project-Samples/blob/master/O365-Project-Online-REST-Samples/createproj... 

Here is an example using the EnterpriseResource pool endpoint: https://pholpar.wordpress.com/2016/07/26/creating-project-server-enterprise-resources-via-rest/ 

Paul