Welcome to the Jazz Community Forum
How to update rqm testcaseresults with REST-Api?

Hi,
- The url to update a testcaseresult
- The headers of the PUT call
One answer

Comments

ok thanks, but can you tell me how i put authorization credentials into the header?

Hi Emil,

I studied your suggested page and tried to get the ressourcexml.

Ok the good thing is, that i figured out, that you can´t get xml representations of testcases. The bad thing is when i tried to get the xml of my executionresult it worked, but i want to update the state of it, so i made a put request with the same url and added the header IsMatch. I assigned the value of the header with the state id of the xml (_3OPykpmAEeiWE6r_3f0nZA). But the response is error 412 precondition failed and the body contains the answer to the error: State identifier _3OPykpmAEeiWE6r_3f0nZA is stale. But what does this mean and what id should i take instead?

Apologies for the delayed response.