Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Efficient ways to get successors/predecessors informations?

Posted on by 5

As it is specified in the following forum (https://social.technet.microsoft.com/Forums/lync/en-US/d900be6a-e777-48af-8b88-20c75b8fb4f3/predecessors-in-odata-feed?forum=projectonline) the successor or predecessors’ details could only be retrieved from ProjectServer: 

  • /pwa/_api/ProjectServer/Projects('<ProjectGUID>')/Tasks('<TaskGUID>')/Predecessors 
  •  /pwa/_api/ProjectServer/Projects('<ProjectGUID>')/Tasks('<TaskGUID>')/Successors 

Another way is by sending request to the TaskLinks endpoint for a specifik ProjectId (ProjectServer): 

GET /sites/pwa/_api/ProjectServer/Projects(guid'9ad449b5-43b4-ed11-8c1a-00155d68e220')/TaskLinks?$select=*%2CEnd%2FId%2CStart%2FId&$skip=0&$top=400  

pastedimage1678108118975v1.png

Is there any other endpoint to get the successors/predecessors information (especially the TaskIds) in a more efficient way? 

Thank you. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans