We have a user that wants to send an automated notification to all the people on the people tab of a project. I am trying to figure out how to get the list of people on the project. They may or may not be assigned to a task. I don't want everyone who the project has been shared with, just the people who show if you click People on the Project's left nav.
I have tried reading related records for the Record Type Project User and am getting the following error: "[422] PRTU is not a top level object and can't be requested directly in internal". Which doesn't mean anything to me.
I then tried reading the Project Collection Project Users and have the output as user ID. That gets me too many people. I suspect it is returning everyone who is on the teams the project is shared with.
Any suggestions?