[midPoint] Rest API "include"

Crowe, Jared jmcrowe at uillinois.edu
Thu Jun 27 14:45:19 CEST 2024


Thanks very much, Slavek. This helps immensely. I was thinking about include in the wrong way - include only (excluding any others) vs. include additionally. Much appreciated.

-----Original Message-----
From: midPoint <midpoint-bounces at lists.evolveum.com> On Behalf Of Slavek Licehammer via midPoint
Sent: Thursday, June 27, 2024 4:24 AM
To: midpoint at lists.evolveum.com
Cc: Slavek Licehammer <slavek at evolveum.com>
Subject: Re: [midPoint] Rest API "include"

Hi Jared.

This is a working example that you can even test yourself using midPoint public demo.

curl --user administrator:IGA4ever -H "Accept: application/xml" -X GET 'https://urldefense.com/v3/__https://demo.evolveum.com/midpoint/ws/rest/users/e3dc4009-cd13-40d6-bda9-d48c253d23ab?options=raw&include=jpegPhoto__;!!DZ3fjg!9hRFbtkQT7R_9XiS81EWURxJhqLJ1lHvlxnd7uv5ePVGmKvUeBfmYLpb0_4dGlZvfMSfmpW5m9PrFwk_z0kEh_DgIoY$ '

Hope this helps.

   Slavek


On 27/06/2024 00:44, Crowe, Jared via midPoint wrote:
> Hello. Would anyone be willing to share a working example of the “include” parameter being used in a midPoint Rest API request? The “exclude” parameter works great for me, but I haven’t had any luck with include. In my tests I’ve only provide either include/exclude as a parameter. Not “options” or anything else in case that matters.
> 
> 
> Thanks!
> 
> *JARED CROWE*
> /ASSISTANT DIRECTOR INTEGRATIONS/
> 
> Administrative Information Technology Services (AITS) University of 
> Illinois System
> 
> 
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://urldefense.com/v3/__https://lists.evolveum.com/mailman/listinf
> o/midpoint__;!!DZ3fjg!9hRFbtkQT7R_9XiS81EWURxJhqLJ1lHvlxnd7uv5ePVGmKvU
> eBfmYLpb0_4dGlZvfMSfmpW5m9PrFwk_z0kE7-A3hqg$
_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com
https://urldefense.com/v3/__https://lists.evolveum.com/mailman/listinfo/midpoint__;!!DZ3fjg!9hRFbtkQT7R_9XiS81EWURxJhqLJ1lHvlxnd7uv5ePVGmKvUeBfmYLpb0_4dGlZvfMSfmpW5m9PrFwk_z0kE7-A3hqg$ 


More information about the midPoint mailing list