oslc xml converting encoded
2 answers
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.
On 12/15/10 7:23 PM, lordyiz wrote:
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
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