I am new to testrail and I was reading to get all the results for a run use “get_results_got_run”, but I am getting error. I am suing as below. I am using dotnet API and Testrail version is “v126.96.36.19903”.
JObject c = (JObject)client.SendGet(“get_results_for_run/694”);
ex.Message “TestRail API returned HTTP 400 (“Field :run_id is not a valid test run.”)” string
I am giving correct ID " Sprint S17-07 Release (1.6.5.0565)"
Can anyone help me what is the mistake and how to get result of all tests from a run?