how to find executionWorkItem for the given Testcase and Configuration using RQM APIs?
![](http://jazz.net/_images/myphoto/116a7f19fd8fe3bb3cfffad5a453fadf.jpg)
Using RQM APIs, I am planning to create executionworkItem before creating executionresult. But executionWorkItem creation fails, if we have already Test execution Record with the given test case info and configuration.
Is there a way to find executionWorkItem record for the given test case info and configuration?
Thanks.
One answer
![](http://jazz.net/_images/myphoto/116a7f19fd8fe3bb3cfffad5a453fadf.jpg)
Yes. You can use fields filtering to query for the TCER based on the title, test case, test phase, configuration, etc. (see https://jazz.net/wiki/bin/view/Main/RqmApi#SupportedFieldsResources).
When your creation operation 'fails', is the response a 303 with the location of the duplicate TCER (see https://jazz.net/wiki/bin/view/Main/RqmApi#HTTP_Responses)?