Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Syntax for accountIdPath in Create Account JSON

fuko
New Contributor III
New Contributor III

Hi everyone,

I am finding a method to create account where the account ID will take after user's email. As the examples in JSON construction (Examples for JSON Construction (saviyntcloud.com)), the syntax for accountIdPath is supposed to get from the response, which does not work in my case, as the API response does not have that information. I also tried to set 

 

"accountIdPath": "accountName"

 

 but I still get the same error saying that accountID is mandatory (log file attached for reference).

Appreciate your help!

4 REPLIES 4

CR
Regular Contributor III
Regular Contributor III

not able find any file here @fuko  , can you attach json and error

try below

"accountIdPath": "call1.message.operationResult.userId",


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

rushikeshvartak
All-Star
All-Star

Please share json


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

fuko
New Contributor III
New Contributor III

Thanks Raghu and Rushikesh Vartak for your responses. I am able to create account with user's email by setting 

"accountIdPath": "accountName"

and adding an Account Name Rule in Security System endpoint that maps the account name with user's email. 

great please close thread


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.