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

oslc xml converting encoded

I use workitem.xml or json

it returns some informations like _zSfg4PR0Ed6ClsrZI3zDaA.For example:

<dc:creator rdf:resource="https://gtrtctestsrv:9443/jazz/oslc/users/_zSfg4PR0Ed6ClsrZI3zDaA"/>

How can i convert from _zSfg4PR0Ed6ClsrZI3zDaA to readable part?

0 votes



2 answers

Permanent link
That value for the user isn't encoded but rather the itemid of the user. If you fetch that resource you can retrieve the users userid which can be used in place of the itemid, so for instance if that itemid was for user ADMIN you can use https://gtrtctestsrv:9443/jazz/oslc/users/ADMIN if you want a human-friendly url to the ADMIN user resource.

0 votes


Permanent link
On 12/15/10 7:23 PM, lordyiz wrote:
I use workitem.xml or json

it returns some informations like _zSfg4PR0Ed6ClsrZI3zDaA.For
example:

dc:creator
rdf:resource="https://gtrtctestsrv:9443/jazz/oslc/users/_zSfg4PR0Ed6ClsrZI3zDaA"/

How can i convert from _zSfg4PR0Ed6ClsrZI3zDaA to readable part?


Just fetch the contents at
https://gtrtctestsrv:9443/jazz/oslc/users/_zSfg4PR0Ed6ClsrZI3zDaA, and
you will get a resource describing the user, including its name, e-mail
address etc.

--
Regards,
Patrick
RTC Work Item Component Lead

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
× 10,939

Question asked: Dec 15 '10, 1:19 p.m.

Question was seen: 5,865 times

Last updated: Dec 15 '10, 1:19 p.m.

Confirmation Cancel Confirm