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

Unable to create account in sav4sav application

SumathiSomala
All-Star
All-Star

Hi team,

I have followed below document to integrate sav4sav application

Understanding the Integration between EIC and Saviynt (saviyntcloud.com)

I have created new using in saviynt and created new account request for the new user

new account jSON

{
"accountIdPath": "call1.message.AccountID",
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "https://xx/ECM/api/v5/createUser",
"httpMethod": "POST",
"httpParams": "{\"username\":\"${user.username}\",\"firstname\":\"${user.firstname}\",\"email\": \"${user.email}\",\"lastname\":\"${user.lastname}\",\"statuskey\":1,\"employeeid\":\"${user.employeeid}\"}",
"httpHeaders": {
"Content-Type": "application/json",
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200,201
]
}
}
]
}

But new account task is failing ,getting below error in pending tasks .

{"auditDetails":{"call1":[{"headers":{"Transfer-Encoding":"chunked","Access-Control-Allow-Origin":"https://xx.saviyntcloud.com","X-Content-Type-Options":"nosniff","Connection":"keep-alive","Pragma":"no-cache","Date":"Wed, 15 Nov 2023 13:47:05 GMT","X-Frame-Options":"SAMEORIGIN","Referrer-Policy":"origin","Strict-Transport-Security":"max-age=31536000; includeSubdomains","Cache-Control":"no-store, no-cache, must-revalidate,post-check=0, pre-check=0","Access-Control-Allow-Credentials":"true","Set-Cookie":"INGRESSCOOKIE=1700056026.257.1135.983154; Path=/; Secure; HttpOnly,access_token= Path=/; Secure,token_type=Bearer; Path=/; Secure,user_name=xx; Path=/; Secure,JSESSIONID=75682A572169AF2A314E59503C769908; Path=/ECM; Secure; HttpOnly,CCSRF-TOKEN=8fe17e2f-8803-4335-a0e7-040c0ddbd00e; Version=1; Path=\";Path=/;HttpOnly;\"; Secure","Expires":"Sun, 7 May 1995 12:00:00 GMT","X-XSS-Protection":"1; mode=block","Content-Type":"application/json;charset=utf-8"},"message":{"errorCode":"1","message":" User with name test12342 already exist."},"statusCode":412,"description":null,"status":"Failed"},

 

Can anybody help with create account sample json.

add or remove access and removeaccount is working fine

2.sav4sav support enable and disable account operations?

 

Regards,
Sumathi Somala

If this reply answered your question, please Accept As Solution and give Kudos.

2 REPLIES 2

nimitdave
Saviynt Employee
Saviynt Employee

@SumathiSomala , its not an issue. You are trying to create a user in the same system(saviynt) using the user properties of the same user.

You need to use different Saviynt REST APIs as per need. In which system you want to create the account?

Saathvik
All-Star
All-Star

@SumathiSomala : You are trying to create a user in saviynt(because you have used create user Saviynt API) which is already available. What exactly is your use case that you are trying to achieve?

 


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.