REST API Use to Get WorkExpense Total, ActualExpense Total, and Latest User Comment for List of Project
I would like to form a REST API Query from Excel to extract the WorkExpense, ActualExpense, and latest User comment from a list of projects. Here is my current query to get that list of projects:
I'm able to get the Actual and Work Expense for a single project using a project's id. How do I get the expenses for a list of projects above?
Latest user comment as well:
1
-
Hello Jim.
You can get all the "last comment" values in a single API call like this:
/api/project/list?ids=[PROJECT_ID_1,PROJECT_ID_2,...]&modelProperties=LastComment
The actual and work expense values will require you to perform the API call like you are already doing, but in a loop, making a separate call for each project ID.
Hope that helps!
0
Please sign in to leave a comment.
Comments
1 comment