Updating a RQM test artifact using OSLC API
Hello,
I am trying to update an RQM test artifact using rest API's. I got the artifact representation through the services uri and trying to update it.
Steps followed:
1. Got the information of the test artifact using GET method, headers used
Accept : application/rdf+xml, got an Etag generated as a result of this.
2. Tried updating the artifact using PUT method, headers used
Content-Type: application/rdf+xml, If-Found: "the above generated Etag"
Filled in the body section with the following data:
<rdf:RDF>
<rdf:Description rdf:about="https://localhost:9443/qm/oslc_qm/contexts/_ZC8PoJU0EeKKRcRVphjzKQ/resources/com.ibm.rqm.planning.VersionedTestPlan/_bNZtgJVfEeKg96WaPPvxgw">
<dcterms:description rdf:datatype="http://www.w3.org/2001/XMLSchema#string"/>
dcterms:title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Copy of TestPlan#11</dcterms:title>
</rdf:Description>
</rdf:RDF>
But got "415 Unsupported Media Type" as the status code in response section. Can somebody please guide me if i am missing something here?