API to Retrieve Individual Resource Work Status
Work Status for each individual resource on a task can be retrieved as follows:
It will return the Work Status Name, such as Not Started or Done, along with the First Name and Last Name of the resources assigned to the task.
This appears to work for one task. Is there a way to return the value for all tasks and resources in one pull?
I noticed under the "Task" model, it contains search criteria for "isShowAllSummaryAndRegularTasks". Can this criteria be incorporated into the "Task-Resource" model? If the return data set is too large, maybe a date range could also be included.
For all of the people assigned you can use this:
That provides the additional non default parameters for WorkStatus and then the people assigned, plus the User property for all of the assignments.
There might be a better way to replicate the data in the Task Resource Report if that report looks more in line with what you want, splitting each task multiple times equal to the number of people assigned.We have requested a new API for a future release that could be better if the above method doesn't provide the data the way you need it.0
The following is a better example for the complete API path using a date filter example to test your data with a limited set of results.
After doing further discovery on this, the statement you provided in your last post only gets the overall task status, not the individual task resource status on each task. That being said, I will have to wait until the release of the API update to the Task-Resource model.
Keep me posted as to when this will be available.
Please sign in to leave a comment.