cancel
Showing results for 
Search instead for 
Did you mean: 

REST help

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

jrondorf
Participant
0 Kudos

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


Former Member
0 Kudos

Thank you Jannis for your prompt reply.

With your help, I managed to resolve issues 2 & 3

With issue 1, I'm having the JSON issue on 7.2 SP10 and also IdM 8.0(when I'm consuming rest services from v72alpha) I haven't tried REST version 2 yet.

Hopefully there is patch soon to address this JSON issue with v72alpha.

Cheers!

KV

jrondorf
Participant
0 Kudos

REST V2 is fine.

Thanks for the info that it does not work in 8.0 either.

Cheers, Jannis

Answers (0)