I am using the Web Services SaaS connector in SailPoint ISC and facing issues with the Enable Account operation.
I am trying to configure two API calls as described in the documentation(using the exact naming as there is no other way of linking two Enable Account calls): Enable Account
The first call is to GET user which works fine. However, in the second call, the $response variable does not seem to have any value.
If I hardcode the required values in the body of the second call, the request works fine.
But when I try to use $response variables (e.g., $response.email$), the call fails.
The logs indicate a missing required parameter, which suggests the variable is resolving to empty.
Has anyone encountered this issue or knows how to properly pass data between the two calls in the Enable Account flow?
Hi @pradipniladhe1 ,Using response of one request as the input to the another request, is nothing but parent child endpoints, We can use this for Aggregation operations and Get object operations.
You cannot use it for Enable account operation.
Here the document
Could you please explain your requirement more clearly, why do you want two api calls for enable account, what is the input required to call api and which attribute is declared as account id, and please provide the api response if possible.
fix is do not use the schema/mapped name in the second call. Use the raw response attribute name from Enable Account - 1.
SailPoint’s doc confirms this pattern: Enable Account - 1 does the get object, and its returned response object is used as input for Enable Account - 2.
The key point: $response.attribute$ must reference the raw JSON response field, not the SailPoint schema attribute you mapped it to. SailPoint community confirmed this exact behavior for chained Web Services calls.
Also verify these:
Enable Account - 1 has Response Mapping configured
Even if the GET works, if response mapping/root path is wrong, Enable Account - 2 may see blank values.
If the requests continues to cause an issues due to complex JSON structures or connector limitations, SailPoint is recommends using a Before Operation Rule or After Operation Rule.
I am now using the raw JSON response in the second call and both the root path and response configuration are correct. However, it seems that SailPoint is skipping the first call and only executing the “Enable Account - 2” call.
Hi @Blazelip , response mapping attribute path should start with “$.”
It should be like this
Supervisor Attribute path------$.approver.username
Even though you configured rooth path, in the response mapping, it should be started with $ always.
For the user you are testing in Sandbox, did you test through postman directly? Please check if same api through is working or not.
Also, looks like in the enable account-1, you are doing getObject, not actually doing enable operation. Could you please confirm?