Get project requirements via SOAP

Wednesday, September 30, 2015 4:14:21 PM

I want to get the requirements for a project using the SOAP interface and hoped that I could do something like this in C#,

var requirements = _client.Requirement_Retrieve(new RemoteFilter[] { new RemoteFilter { PropertyName = "ProjectId", IntValue = 23 } }, 0, 9999);

But according to https://www.inflectra.com/Support/KnowledgeBase/KB88.aspx there is no project id or name to filter on.

Is there another way of doing this without getting all the requirements and filtering them manually.


           









1 Replies
Friday, October 2, 2015 4:50:06 PM
Avatar
re: gjw on Wednesday, September 30, 2015 4:14:21 PM
Hi Gavin,

To filter by project you first use the Connection_ConnectToProject(projectId); and then your requirements list will be filtered by that project. You can filter by name using the PropertyName = "Name"

Regards
Adam


Statistics
  • Started: Wednesday, September 30, 2015 4:14:21 PM
  • Last Reply: Friday, October 2, 2015 4:50:06 PM
  • Replies: 1
  • Views: 612