It's all about the answers!

Ask a question

Error change custom attribute value using DNG REST API


masato kumakura (13) | asked Dec 24 '17, 11:38 a.m.

Hi,I try to change custom attribute value using REST API.
At first I used "GET" for that resource rdf.
The after I modified that rdf and set to "PUT" mody.
But That "PUT" returned 403 and CRRS6401E(that error code means "Error parsing content. Content must be valid rdf+xml").

What's and where wrong my rdf?

==header===
accept:
application/rdf+xml
oslc-core-version:2.0
content-type:application/rdf+xml
if-match:"%220%22&%22_rkI5cejAEeewAers0TZ1AQ%22"

==body ====

<rdf:RDF>
<dcterms:creator rdf:resource="https://rhel-lic-server:9443/jts/users/admin" />
<rdf:type rdf:resource="http://jazz.net/ns/rm#Text" />
<dcterms:description rdf:parseType="Literal" />
<dcterms:title rdf:parseType="Literal">Test Feature</dcterms:title>
<rdf:type rdf:resource="http://open-services.net/ns/rm#Requirement" />
<jazz_rm:primaryText rdf:parseType="Literal">
<div>
<p dir="ltr" id="_1514027293925">Test Feature</p>
<p dir="ltr" id="_1514043060313"></p>
<p dir="ltr" id="_1514043748017"></p>
<p dir="ltr" id="_1514043748018"></p>
 </div>
</jazz_rm:primaryText>
<dcterms:contributor rdf:resource="https://rhel-lic-server:9443/jts/users/admin" />
 </rdf:Description>
</rdf:RDF>

One answer



permanent link
API-DEV User (2126) | answered Dec 11 '18, 2:42 p.m.

Were you able to figure this out? I am having the same issue with a response code 403

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.