Skip to Content

REST API Search Question

Hello,

running SAP IDM 8.0 sp 4, a developer has some troubles with the rest API.

In IDM, we have the MX_PERSON entrytype and a Z_ORG_UNIT entrytype, linked with the usual MXREF_*, MXMEMBER_* attributes. Organizational units have also a hierarchy with the user linked to an org unit of type "job", itself linked to a "division", itself linked to a "Service". (Coming directly from SAP HR PPOM).

He's able to perform a search request, on all the MX_PERSON entries, using the request :

http://<***>/idmrestapi/v2/service/ET_MX_PERSON?$filter=SV_MX_FIRSTNAME eq 'Name*'

He's also able, to retrieve one person with the display task guid (requires the identity uniqueID) :

http://<***>/idmrestapi/v2/service/ET_MX_PERSON(ID=’number’,TASK_GUID=guid'task_guid_number')

I tried to find all persons linked to a specific org unit using :

http://<***>/idmrestapi/v2/service/ET_MX_PERSON?$filter=ER_MXREF_Z_ORG_UNIT eq '<job_mskey>' and it worked.

Is it possible to combine a search by filtering on the user and also putting conditions on the org unit? (What we would like is to retrieve all users from a service, so from the service, find all linked divisions, then all linked jobs to these divisions, then all users linked to these jobs)

Thanks a lot,

Clotilde

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 18 at 05:45 PM

    Hello Clotilde,

    Try something like this?

    &filter=firstattribute eq 'value' and secondattribute eq 'value'
    Add comment
    10|10000 characters needed characters exceeded