It's all about the answers!

Ask a question

Using the REST API to list team allocations of all users

Mike Shkolnik (9808160143) | asked Jul 24 '13, 7:41 p.m.
edited Jul 25 '13, 1:22 p.m.
I am trying to get a list of all the team allocations of all the users. So far I can't find any variable for doing this. I can get a list of all teams and their members:


However, the list of team member fields does not include any allocations. Likewise I can get a list of users:


But no team info is available under the "contributor" field.

Any ideas how to get team allocations from the REST API?

Accepted answer

permanent link
Krzysztof Kaźmierczyk (7.4k371103) | answered Jul 25 '13, 4:15 a.m.
Hi Mike,
You can try running following query:
This should display the data which you want to see.

Let us know if it helps for you.
Best regards,
Krzysztof Kazmierczyk
Mike Shkolnik selected this answer as the correct answer

Mike Shkolnik commented Jul 25 '13, 4:36 p.m.

How do I get that to show me all the contributors instead of just one? I can't seem to get the right wildcard syntax. Is there a full list of variables for this call somewhere? I could not find one via google. The only references to "IResourcePlanningRestService" I could find were in reference to error messages.

Mike Shkolnik commented Sep 04 '13, 5:29 p.m.

So far I have my program load the complete list of users, then load the team allocations of each user one at a time as above. It's tedious, but it works. The last thing I need to add: user licenses. Any idea how to get license info on each user through the api?

Your answer

Register or to post your answer.