It's all about the answers!

Ask a question

Updating a RQM test artifact using OSLC API

Ranjith Parameswaran (12311215) | asked Apr 29 '13, 11:31 a.m.


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:Description rdf:about="https://localhost:9443/qm/oslc_qm/contexts/_ZC8PoJU0EeKKRcRVphjzKQ/resources/">

<dcterms:description rdf:datatype=""/>

dcterms:title rdf:datatype="">Copy of TestPlan#11</dcterms:title>



But got "415 Unsupported Media Type" as the status code in response section. Can somebody please guide me if i am missing something here?

One answer

permanent link
Paul Slauenwhite (8.4k12) | answered Apr 30 '13, 6:48 a.m.
You need the following header:

OSLC-Core-Version = 2.0

If this header is excluded, the request defaults to OSLC QM V1, which does not support RDF (see  Hence the 415.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.