<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: REST API: Request Test Cases by filter with MultiValue (Thread)</title><description> How can i request multiple test cases filtered by its Ids with a MultiValue? I dont know which datatype is required for the MultiValue. I tryed several types but always get errors. Can somebody give me an example? I use REST API v6.0 / SpiraTeam v7.0.0.0 and JSON as request body. </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/spirateam/issues-questions/2657.aspx</link><item><guid isPermaLink="false">threadId=2657</guid><author>Pierre Legér (matthias.zurbruegg@gilgends.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">rest</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> api</category><title>REST API: Request Test Cases by filter with MultiValue</title><description> How can i request multiple test cases filtered by its Ids with a MultiValue? I dont know which datatype is required for the MultiValue. I tryed several types but always get errors. Can somebody give me an example? I use REST API v6.0 / SpiraTeam v7.0.0.0 and JSON as request body. </description><pubDate>Wed, 03 Aug 2022 08:46:01 -0400</pubDate><a10:updated>2022-12-20T10:05:41-05:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/2657.aspx</link></item><item><guid isPermaLink="false">messageId=5706</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> You can use something like:   "MultiValueFilter": {
   "IsNone": false,
   "Values": [1, 2, 3]
}   </title><description> You can use something like:   "MultiValueFilter": {
   "IsNone": false,
   "Values": [1, 2, 3]
}   Regards David </description><pubDate>Thu, 04 Aug 2022 22:18:19 -0400</pubDate><a10:updated>2022-08-04T22:18:19-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/2657.aspx#reply5706</link></item><item><guid isPermaLink="false">messageId=5723</guid><author>Pierre Legér (matthias.zurbruegg@gilgends.com)</author><title> Hello David  Your suggestion doesnt work. I tryed several things:   {
   "MultiValueFilter": {
    </title><description> Hello David  Your suggestion doesnt work. I tryed several things:   {
   "MultiValueFilter": {
      "PropertyName": "TestCaseId",
      "Values": [1, 2, 3]
   }
}   or   {
   "PropertyName": "TestCaseId",
   "MultiValueFilter": {
      "Values": [1, 2, 3]
   }
}   With this I dont get an error from the server but the server replys all Test Cases instead of this ones with Id 1, 2, 3. </description><pubDate>Thu, 25 Aug 2022 08:10:17 -0400</pubDate><a10:updated>2022-08-25T08:10:17-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/2657.aspx#reply5723</link></item><item><guid isPermaLink="false">messageId=5829</guid><author>Pierre Legér (matthias.zurbruegg@gilgends.com)</author><title> New try, new luck.  Finally the query with multiple values works. The syntax is:   [
  {
    "Prope</title><description> New try, new luck.  Finally the query with multiple values works. The syntax is:   [
  {
    "PropertyName": "TestCaseId",
    "MultiValue": { "Values": [1, 2, 3] }
  }
]     </description><pubDate>Tue, 20 Dec 2022 10:05:40 -0500</pubDate><a10:updated>2022-12-20T10:05:40-05:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/2657.aspx#reply5829</link></item></channel></rss>