api
51 TopicsProject Online ReST API Resource
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, Rohan6.5KViews0likes1CommentProject Online REST API
Hi all. I'm currently working on an integration with Project Online using a low code/no code product (that is capable of doing HTTP requests) and Project Online REST API using OAUth client credentials (Machine to Machine authentication). I'm a complete rookie to Project Online, can someone please point me in the direction of detailed documentation that: - Identifies what kind of license is required to access Project Online REST API - Identifies what (if any) needs to be configured on Project Online - Identifies what (if any) needs to be configured on SharePoint - Identifies the steps to get the OAuth token to interact with Project Online REST API Thanks in advance Vicente5.4KViews0likes3CommentsProject Online REST API for Timesheets
About a year ago I attempted to create an app that could be used to update Timesheets in Project Online. I could not find an API endpoint that would let me update Timesheets entries for a particular project and for a particular user during a defined date range. Another project has surfaced with similar goals. Is this now available today? If so can anyone point me to the endpoint with examples specifically for updating user Timesheets please? Thank you in advance for your help, Audrie4.4KViews1like2CommentsHow to Call custom fields using OData in Project online/Power automate?
for ex: https://company.sharepoint.com/sites/pwa/_api/ProjectData/Projects()?$Select=ProjectName,ProjectOwnerName if you type the above command in browser it will show list of all projects with some data. I had created a custom filed: entity is project, type is text, custom filed name is 2024.When i am trying to call this filed using this syntax. I am getting this error https://company.sharepoint.com/sites/pwa/_api/ProjectData/Projects()?$Select=ProjectName,2024 <m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <m:code/> <m:message xml:lang="en-US">An identifier was expected at position 12.</m:message> </m:error> How to get the 2024 custom filed data using that odata syntax?Solved4.1KViews0likes3CommentsAccess Denied when making Project Online API call
Hi All, I'm able to get a access token. But when I try to make an Project Online API call using that token, I get "Access denied you do not have permission to perform this action or access this resource". Kindly let me know if I'm doing something wrong or missing anything or correct way to do it. Here are the details that I'm using for authentication: Client ID = ######################## Tenant ID = ####################### Client Secret = ##################### Scope = https://graph.microsoft.com/.default Grant type = client_credentials Login URl = https://login.microsoftonline.com/%7Btenant_name%7D/oauth2/v2.0/token API Permission I'm using project server endpoint. Here are the details: Endpoint URL= https://example.sharepoint.com/sites/PWA/_api/ProjectServer/Projects Method= POST Parameters= Authorization: Bearer {Access_Token} Am I missing anything? Thanks & Regards, Rohan3.5KViews0likes3CommentsMicrosoft Project for the web API
Hello community, I need to work with MS Project for web over api, CRUD projects, CRUD tasks and etc from https://project.microsoft.com/ with using an API. I searched and couldn't find any documentation or SDK to do it. Only one page from offecial source about API here https://learn.microsoft.com/en-us/project-for-the-web/projectforweb-admin-home that point to https://devblogs.microsoft.com/microsoft365dev/tag/project/ The both links without any API description for Project for the web. Is there any documentation for an API to integrate with Project for the web? Thank youSolved3KViews0likes1CommentAccessing Project REST API throws error: Exception of type 'Microsoft.IdentityModel.Tokens.AudienceU
I am trying to access the Project Online REST API http://ServerName/ProjectServerName/_api/ProjectData/Projects More precisely my query is the following "https://" + sharepoint_url + "/sites/pwa/_api/ProjectServer/Projects('" + project_id + "')/Assignments('" + project_task_id + "')/Resource" Now what I am challenges with, is the right authentication. I am trying to impersonate two natural users, the application is registered in AAD and I also get a token. But I get either one of the two errors {"error_description":"Unsupported security token."} or {"error_description":"Exception of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException' was thrown."} I am happy to provide further details, but I am a bit lost in the API jungle from Microsoft. Unfortunately it appears that Graph API does not (yet?) support Project Online. I was already following those guides here: https://docs.microsoft.com/de-de/azure/active-directory/develop/v2-oauth2-client-creds-grant-flow http://pratapreddypilaka.blogspot.com/2018/05/sharepoint-online-authentication-for.html No positive result. I do get tokens, but the errors remain.2.9KViews1like3CommentsProject Online ReST API fetch recently updated tasks, assignments
Hello Everyone, I want to fetch recently updated tasks, assignments from Project Online. Currently I've included a filter to fetch projects and related tasks, assignments by published date time. But when I execute it also includes newly created project and related tasks, assignments. Project, task, assignment creation module executes before update module. How this scenario can be handle? Is it possible to create a flag in the Project Online that will auto-update to 1 whenever a user makes any manual changes in the task, assignment? Thanks & Regards, Rohan2.8KViews0likes4Comments