Improve performance of reading timephased data through CSOM GetTimePhase function
If I want to read timephased assignment data (e.g. actual or scheduled work) for each day of an assignment via CSOM Statusing, it's necessary to do a CSOM call for each day the assignment takes.
//1. Creating Project Context, using credentials of a service account
//with Admin rights on PWA
ProjectContext context = new ProjectContext(...);
//2. Getting resource for reading assignments
EnterpriseResource resource = context.EnterpriseResources.Where(...).FirstOrDefault();
//3. Load Resource Assignments
//4. Get Time Phase for specific date
var timePhase = resource.Assignments.GetTimePhase(myDate, maDate);
To get the timephased values for each day of the assignment, step 4 has to be done for each day the assignment takes and so a lot of CSOM calls are necessary.
Please provide a way to read all assignment timephased data by day for a resource (or at least for an assignment) with a single CSOM call. With OData this is already possible, but there only published data is available.