<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Test Run Results Request JSON Payload - Attach document (Thread)</title><description> How does one record test run results that includes attachment(s) such as images and other document types? Currently one has to make 2 separate API requests to achieve this outcome.   E.g.    https://science37.spiraservice.net/services/v5_0/RestService.svc/projects/%7Bproject_id%7D/test-runs/record    https://api.inflectra.com/Spira/Services/v5_0/RestService.svc/projects/%7Bproject_id%7D/documents/file?filename={filename}&amp;tags={tags}&amp;folder_id={folder_id}&amp;document_type_id={document_type_id}&amp;artifact_type_id={artifact_type_id}&amp;artifact_id={artifact_id}    I wish to make use of a single request payload to record test run results and attach documents for the same test run.  </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/2196.aspx</link><item><guid isPermaLink="false">threadId=2196</guid><author>Lehlohonolo D Letaoana (LehlohonoloLetaoana@capitecbank.co.za)</author><title>Test Run Results Request JSON Payload - Attach document</title><description> How does one record test run results that includes attachment(s) such as images and other document types? Currently one has to make 2 separate API requests to achieve this outcome.   E.g.    https://science37.spiraservice.net/services/v5_0/RestService.svc/projects/%7Bproject_id%7D/test-runs/record    https://api.inflectra.com/Spira/Services/v5_0/RestService.svc/projects/%7Bproject_id%7D/documents/file?filename={filename}&amp;tags={tags}&amp;folder_id={folder_id}&amp;document_type_id={document_type_id}&amp;artifact_type_id={artifact_type_id}&amp;artifact_id={artifact_id}    I wish to make use of a single request payload to record test run results and attach documents for the same test run.  </description><pubDate>Sat, 25 Jul 2020 18:01:07 -0400</pubDate><a10:updated>2020-07-25T20:43:48-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/2196.aspx</link></item><item><guid isPermaLink="false">messageId=3806</guid><author>David J (adam.sandman+support@inflectra.com)</author><title> That is not possible I am afraid, you need to make two separate API requests.  That is normal behav</title><description> That is not possible I am afraid, you need to make two separate API requests.  That is normal behavior.  Regards  David </description><pubDate>Sat, 25 Jul 2020 20:43:48 -0400</pubDate><a10:updated>2020-07-25T20:43:48-04:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/2196.aspx#reply3806</link></item></channel></rss>