Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

REST help

Hi Experts,

Hope you are all well!

I'm building a custom application and some elements of this application will consume the SAP IdM REST services (currently v72alpha).

Wondering if anyone can advise me the following issues:

Issue1:

The JSON returning from the REST Call is replacing the symbols : / @ with \x3a, \x3f, etc..

The JSON looks like the following for a privilege:

{"DISPLAYNAME":"\x2fTDAG\x2fCP_PDM_MANAGER\x2dRole\x20\x28IDES\x29","MX_OWNER":"","MX_REST_URI":"http\x3a\x2f\x2flocalhost\x3a50000\x2fidmrest\x2fv72alpha\x2fentries\x2f1102","MSKEY":1102,"MSKEYVALUE":"PRIV\x3aROLE\x3aIDES\x3a\x2fTDAG\x2fCP_PDM_MANAGER"}]}

How to fix this?

Issue 2:

When I do a search(http://localhost:50000/idmrest/v72alpha/entries?EntryType=MX_PRIVILEGE&MSKEYVALUE=) to see all values say for an Entry type MX_PRIVILEGE, I'm only getting 100 privilege back. How can I increase this number?

Issue 3:

How can I get a Description attribute back from a search (http://localhost:50000/idmrest/v72alpha/entries?EntryType=MX_PRIVILEGE&MSKEYVALUE=)? I have added the attribute to the Privilege search task but it doesn't work and only returns the following:

{"DISPLAYNAME":"\x2fTDAG\x2fCP_PDM_MANAGER\x2dRole\x20\x28IDES\x29","MX_OWNER":"","MX_REST_URI":"http\x3a\x2f\x2flocalhost\x3a50000\x2fidmrest\x2fv72alpha\x2fentries\x2f1102","MSKEY":1102,"MSKEYVALUE":"PRIV\x3aROLE\x3aIDES\x3a\x2fTDAG\x2fCP_PDM_MANAGER"}]}

Appreciate your help!

Thank you,

KV

Tags:
Former Member
replied

Hi KV,

I guess you are using 7.2 SP10 ?

Issue 1: I have the same problem and already opened a customer message therefore. With SP09, the JSON results have been fine.


Issue 2: There is a property in MMC on the Identity Store, same as the one for WebDynpro. See attached screenshot.


Issue 3: Adding this attribute to the search task only will not help. You have to add it to the list attributes of the entry type (which will add them also to the WebDynpro search table.


Cheers, Jannis


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question