How to manipulate the request body going to target for a SCIM2.0 connector

Which IIQ version are you inquiring about?

Version 8.X

Share all details related to your problem, including any error messages you may have received.

Hi All
Can someone let me know How to manipulate the request body going to target for a SCIM2.0 connector.
Unlike Webservices we don’t have the before / after rules to make changes to the JSON request body being sent

Hi @officialamitguptaa,

Try importing openconnector.rest.request.UpdateRequest and use the getBody() method.

Hi @sreeram -
Thanks for your input . The main problem here is where to inject our logic, as we don’t have any before or after rules placeholder for scim connector.

Hi @officialamitguptaa,

May I ask what exactly is the requirement?

Hi @officialamitguptaa ,

I can see here the before and after provisioning rule :

Hi @officialamitguptaa ,

I don’t think there is a direct way to modify SCIM body. You might be able to make few changes in the body by changing the provisioning plan in BeforeProvisioningRule. This might help you to have certain values as list in the body etc.

1 Like

Two ways of doing this one

  1. either you need to use the rule which can be added to the connector like before provisioning , after provisioning etc
  2. create a custom end point and use those end point in your connector .

mostly we use 2nd option in most of the custom connector.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.