Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Error change custom attribute value using DNG REST API

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>

0 votes



One answer

Permanent link

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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Dec 24 '17, 11:38 a.m.

Question was seen: 1,596 times

Last updated: Dec 11 '18, 2:42 p.m.

Related questions
Confirmation Cancel Confirm