Full VS2008 example of connecting to a target process server and getting a list of projects filtered

39 views
Skip to first unread message

Paul Cleghorn

unread,
Jan 22, 2013, 3:56:08 AM1/22/13
to devtarge...@googlegroups.com
Hi

Can anyone provide a full c# example of how to use the REST API within C# to connect to a TP server, authenticate, and then get a list of projects. Code snippets aren't really of much help as I can't even get started with the REST API having never used it before. 
Any help totally appreciated.

Thanks

Paul

Vyacheslav Volov

unread,
Feb 1, 2013, 9:56:07 AM2/1/13
to devtarge...@googlegroups.com

Hello Paul, 
we've created and uploaded to Github sample Visual studio project with console application performing following actions:
1. Get user stories list with 4 parameters including parent Project ID/Name.
2.  Deserialize result and display it. 
3. Take first User story, replace it's name and upload back to the server. 

We'd recommend you to expand supported entities using XSD.EXE for classes autogeneration. 

Here's the link to mentioned repository: https://github.com/TargetProcess/RestAPISamples

Best Regards, 
Slava

Paul Cleghorn

unread,
Feb 7, 2013, 4:17:36 PM2/7/13
to devtarge...@googlegroups.com
Many thanks..I'll give this a go
Reply all
Reply to author
Forward
0 new messages