on 08-14-2018 6:49 PM
Hi,
in the help for the Rest api you can find under "Search Entry References" the Status Search for "HISTORY". But obviously this key word is not supported.
idmrestapi/v2/service/ET_MX_PERSON(ID=185491,TASK_GUID=guid'...')/ER_MXREF_MX_ROLE?status=FUTURE works fine, but
idmrestapi/v2/service/ET_MX_PERSON(ID=185491,TASK_GUID=guid'...')/ER_MXREF_MX_ROLE?status=HISTORY does not.
IIs there another way to get outdated role assignments for a given user with the Rest API?
Best Regards
Rolf
Getting historical assignments is only supported starting from SAP IDM 8.0 SP6, as far as I know. Check whether you already have that version. The documentation for this feature is available here:
The documentation gives the following example:
/idmrestapi/v2/service/ER_MXREF_MX_ROLE(LINK_ID=62,TASK_GUID=guid'102E1D96-1813-4A58-9880-9572056F0FD1')/ASSIGNMENT_HISTORY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Lambert,
I think you got something wrong. What Rolf wants to accomplish, is to a list of all assigments in the past ("history" tab in WebDynPro)
What your mentioned API does, is to show the history of a specific assigment (equivalent to the "status"-popup in WebDynPro).
rolf.gadorosi Its currently not possible with the current RESTAPI 😉
Regards,
Aydin
Hello Aydin,
you took my question right, thanks for clarifying.
Do you know if there is a way to read ALL role assignments for a given user with the REST API?
Help says: "If no status filter and basic filter is specified, all assignments are returned". But this results in the currently assigned role assignments - and not those of the past.
Regards
Rolf
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.