<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Using SOAP API to add all test cases in particular release into a test set (Thread)</title><description>I’d like to use the soap api to add all test cases in a particular release into a test set.  The problem is, I can’t figure out how to get a unique TestSetTestCaseMappingId. I know it must be unique, but I don’t see any kind of generator.  Details: TestSet_AddTestMapping takes RemoteTestSetTestCaseMapping?   As a parameter. I can create the mapping, but, the definition is:  https://www.inflectra.com/SpiraDemo/Services/v4_0/ImportExport.aspx?datacontract=q49:RemoteTestSetTestCaseMapping and the fourth parameter is a TestSetTestCaseMapping id, defined as, “The unique id of the test case in the test set”  I do not know how to generate a unique id for this.  Should I just try random numbers until one does not throw an exception? &#xD;
&#xD;
&#xD;
</description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spiratest/issues-questions/803.aspx</link><item><guid isPermaLink="false">threadId=803</guid><author>Bruce Cran (bcran@fusionio.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">soap</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> api</category><title>Using SOAP API to add all test cases in particular release into a test set</title><description>I’d like to use the soap api to add all test cases in a particular release into a test set.  The problem is, I can’t figure out how to get a unique TestSetTestCaseMappingId. I know it must be unique, but I don’t see any kind of generator.  Details: TestSet_AddTestMapping takes RemoteTestSetTestCaseMapping?   As a parameter. I can create the mapping, but, the definition is:  https://www.inflectra.com/SpiraDemo/Services/v4_0/ImportExport.aspx?datacontract=q49:RemoteTestSetTestCaseMapping and the fourth parameter is a TestSetTestCaseMapping id, defined as, “The unique id of the test case in the test set”  I do not know how to generate a unique id for this.  Should I just try random numbers until one does not throw an exception? &#xD;
&#xD;
&#xD;
</description><pubDate>Thu, 16 Jan 2014 18:34:02 -0500</pubDate><a10:updated>2014-01-16T21:11:12-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/803.aspx</link></item><item><guid isPermaLink="false">messageId=1468</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> &#xD;
&#xD;
&#xD;
Hi Bruce  You should be able to leave that parameter empty as it's actually created by the sy</title><description> &#xD;
&#xD;
&#xD;
Hi Bruce  You should be able to leave that parameter empty as it's actually created by the system when it adds the mapping.  Regards  Adam </description><pubDate>Thu, 16 Jan 2014 20:18:53 -0500</pubDate><a10:updated>2014-01-16T20:18:53-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/803.aspx#reply1468</link></item><item><guid isPermaLink="false">messageId=1470</guid><author>Bruce Cran (bcran@fusionio.com)</author><title>&#xD;
Thanks! &#xD;
&#xD;
</title><description>&#xD;
Thanks! &#xD;
&#xD;
</description><pubDate>Thu, 16 Jan 2014 21:11:12 -0500</pubDate><a10:updated>2014-01-16T21:11:12-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/803.aspx#reply1470</link></item></channel></rss>