Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

how to set AccountID in CreateAccountJSON if reponse body is blank in REST Connector?

pahm
New Contributor III
New Contributor III

Hello,

We configure an endpoint with REST Connector, The CreateAccontJSON is configured and the target can provision the account and return HTTP 200 OK status but response body is blank.

However, Saviynt provisioning job is looking for accountID mapping (accountIdPath)from response. in this case of blank response, how should I setup accontID and accountIdPath?

pahm_0-1725369775429.png

 

Thanks

3 REPLIES 3

NM
Esteemed Contributor
Esteemed Contributor

Hi @pahm , try this 

"accountIdPath": "accountName".


If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'

rushikeshvartak
All-Star
All-Star

Refer https://forums.saviynt.com/t5/identity-governance/why-can-t-the-task-be-digested-when-an-account-is-... 

If accountID value cannot be retrieved post account creation, I would suggest you to add the following at the begininng of your JSON : 

"accountIdPath": "accountName"

rushikeshvartak_0-1725370101658.png

 

Referring documentation : https://docs.saviyntcloud.com/bundle/REST-v2022x/page/Content/Developers-Handbook.htm


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

stalluri
Valued Contributor II
Valued Contributor II

@pahm 

Screenshot 2024-09-03 at 8.33.00 AM.png


Create AccountJSON:
In the start
{
"accountIdPath": "accountName",
"responseColsToPropsMap": {},

or
{
"accountIdPath": "call1.message.id",
"responseColsToPropsMap": {},

or
{
"accountIdPath": "call1.message.operationResult.userId",
"responseColsToPropsMap": {},


Best Regards,
Sam Talluri
If you find this a helpful response, kindly consider selecting Accept As Solution and clicking on the kudos button.