Inflectra Customer Forums: Test Run Results Request JSON Payload - Attach document (Thread) 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}&tags={tags}&folder_id={folder_id}&document_type_id={document_type_id}&artifact_type_id={artifact_type_id}&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. en-US(C) Copyright 2006-2024 Inflectra Corporation.support@inflectra.com/Computers/Software/Project_Management//Computers/Software/Quality_Assurance/KronoDesksupport@inflectra.comhttp://www.inflectra.com/kronodesk/forums/threads120/Support/Forum/spirateam/issues-questions/2196.aspxthreadId=2196Lehlohonolo D Letaoana (LehlohonoloLetaoana@capitecbank.co.za)Test Run Results Request JSON Payload - Attach document 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}&tags={tags}&folder_id={folder_id}&document_type_id={document_type_id}&artifact_type_id={artifact_type_id}&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. Sat, 25 Jul 2020 18:01:07 -04002020-07-25T20:43:48-04:00/Support/Forum/spirateam/issues-questions/2196.aspxmessageId=3806David J (support1@inflectra.com) That is not possible I am afraid, you need to make two separate API requests. That is normal behav That is not possible I am afraid, you need to make two separate API requests. That is normal behavior. Regards David Sat, 25 Jul 2020 20:43:48 -04002020-07-25T20:43:48-04:00/Support/Forum/spirateam/issues-questions/2196.aspx#reply3806