getExportExcelTests
Asynchronously export a Test Run's test cases to an Excel workbook, applying optional query and sort filters, then poll the returned job to fetch the file.
Instructions
Starts an asynchronous export of one Test Run's test cases to an Excel workbook, optionally filtered with query, ordered with sortBy, and shaped by an export template. Returns a jobs resource, not the file: poll getJob until finished, then download the workbook with getJobResultFileContent. To import results back, use importExcelTestResults.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Polarion Lucene-style query string to filter results: field:value clauses combined with AND/OR, phrases in quotes. Exact supported field names depend on the resource type being queried. | |
| sortBy | No | The property to sort the test results. | |
| template | No | The export template string. | |
| projectId | Yes | The Polarion project ID (its URL segment, e.g. `myproject`), case-sensitive. Required to scope the request to one project; call getProjects to list valid IDs. | |
| testRunId | Yes | The Test Run's ID within its project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |