This article demonstrates how a SystemLink Test Result can be programmatically modified, including adding a new file as an attachment.
This process involves using the /v2/update-results HTTP API. With this API, existing Test Results uploaded to the SystemLink Server can be updated, including, but not limited to:
- Changing/adding properties
- Changing/adding keywords
- Adding/adding files
- Changing Serial Number
For demonstration purposes, this article focuses solely on adding a new file to the Test Result. However, a full list of Test Result metadata that can be modified can be found at the bottom of this article. The screenshots below are from SystemLink Server, but the overall process is the same for SystemLink Base, SystemLink Full, SystemLink Professional, and SystemLink Enterprise. In those applications, you can create the required ApiKey from your User Profile dialog, and you can reach the Swagger pages from the API Documentation icon on the Overview >> Home page.