Hi Timur, here is an example in C# in a Support Dev's github repo:
https://github.com/nmusaelian-rally/rally-dot-net-rest-appsThis app prints out all workspaces and their projects in the subscription.
There is an example that does the same thing using 1.43 of WS API, but it is there only for a comparison, to show the refactoring path to use v2.0. Don't use the one that works with 1.43, but please use the one that works with v2.0. Here is the direct link:
https://github.com/nmusaelian-rally/rally-dot-net-rest-apps/blob/master/getWorkspacesAndProjectsInSub.csThis code is based on Rally REST Toolkit for .NET:
https://github.com/RallyTools/RallyRestToolkitFor.NETThe same caveats that apply to Ruby toolkit apply to this one as well.
Rally Software does not actively maintain this toolkit. If you have a question or problem, we recommend posting it to Stack Overflow:
http://stackoverflow.com/questions/ask?tags=rallyMy examples are also not supported by Rally. It is outside of support's scope to write and debug custom code, so these example comes as is.
Please check the object model if you run into difficulties to double check the names of fields on objects, and what fields exist on what object.