In the “Get a Single User” API, I need to pass a payload to retrieve the attribute value from the target application. I tried using the Account Aggregation in the HTTP operation, but I am not sure if it is actually passing the payload in the GET API call. Because of this, I am getting an error. Does anyone have any idea about this?
I also checked this with the executeGet method, but it does not support a payload either.
We’ll need more information to help you out with this.
Which Webservice connector are you using, VA-Based Direct or SaaS?
Is the “Get a Single User” API you mention the SailPoint one, or an External application you are connecting to?
Based on the Above API reference, are you trying to get a single user’s account, or all accounts? If you are trying to get a single user’s account, you’ll want to look at the Get Object HTTP Operation, Rather than the Account Aggregation.
For the operation, you would want to add your payload items on the Body page of the operation (SaaS doc linked).
If so, how did you configure it in the Body section of the Get Object? — In the Raw section, I pasted it as it is.
For configuring the body, it looks like you would want to use the Raw type and add your JSON to that: Body
Lastly, is this to get details of the identity, or to provision/update the data on the account on the external system? – Used to get details of the user.
Hi @Rohit_Sahu can you confirm whether your external app’s API for retrieving user details uses a GET operation ? Ideally, it should be a POST operation if it includes a payload.
Also, please ensure the API context url or payload is updated with $getObject.nativeIdentity$, so that it filters the account based on the unique account ID as defined in the account schema.
Are those slashes really in your payload or are they a copy / paste escape-character-thing? Because I’d be willing to bet that those would break something.
A quick and dirty way to see the payload in a WebServices connector is to create a Before Operation rule that looks something like the following: