Hi Testiny team,
We’re building a Power Automate integration that needs failing test case details for a given automation test run (project_id 1), via POST /api/v1/atm-testcase/find with a map expansion to AutomationTestRun (per the quickstart docs’ DataReadParams.map pattern, which is fully worked out for manual TestCase/TestRun but not for the automation entities).
Every request that includes a map between atm_testcase and atm_testrun fails with a 500, regardless of shape. Querying either entity alone (no map) works fine. Variants tried, all against /api/v1/atm-testcase/find (and the reverse, /api/v1/atm-testrun/find, mapping the other direction): object-form map with filter; array-form map with filter; array-form map in the reversed direction; array-form map using an ids key instead of filter; a bare map with entities only and no restriction at all; and entities passed as a single string naming only the target entity.
Every one of these returns the same response:
json
{
"type": "ApiError",
"code": "API_INTERNAL_ERROR",
"message": "Read operation failed because of an internal error",
"reqid": "..."
}
```
Two request IDs from these attempts, for your server-side logs: R2h42nOHDYbvF23i and WqETSPUSWMNmxHLn.
Could you confirm:
- Is a map expansion between AutomationTestCase and AutomationTestRun currently supported?
- If so, what's the correct request shape? Our account may be hitting a genuine bug rather than a syntax issue, given even the simplest possible form (bare map, no filter) 500s.
- If it's not supported yet, what's the recommended way to fetch per-test-case pass/fail/result status for an automation test run via the REST API?
Happy to share the full flow/account details privately if useful. Thanks!