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

I was not able to Provision the user in the target application

Adi_1234
New Contributor
New Contributor

I was working on a REST based application and setting up the connections. I was able to do a recon for some of the users and attributes from the target. But I could not provision the user in the target. I checked the logs but could not find anything. Below I am sharing the Create account json.

I have one more question the attributes which we map in ImportEntJson, Should the attributes be mapped in Createaccountjson the same way ??

5 REPLIES 5

CR
Regular Contributor III
Regular Contributor III

please check you connection json values and map

reference:

{
"name": "call2",
"connection": "acctAuth",
"url": "",
"httpMethod": "POST",
"httpParams": "{\"first_name\": \"${user.firstname==null? '': user.firstname}\",\"last_name\": \"${user.lastname==null? '': user.lastname}\",\"email\":\"${user.email}\"}",
"httpHeaders": {
"Authoriization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200,
201
]
}
}


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

Vedanth-BK
Regular Contributor
Regular Contributor

@Adi_1234 Please share the error message that you see in the debug logs 

Thank you
Vedanth B.K

Adi_1234
New Contributor
New Contributor

Hello Vedanth,

I have shared the error message screenshot as per the log viewer.

Regards

Aditya

 

 

You have issue near sso keyword share full json


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

Hello Rushikesh,

I have shared the full create account json below.

{
"accountIdPath": "call1.message.data.id",
"call": [
{
"name": "call1",
"connection": "userAuth",
"showResponse": true,
"url": "URL",
"httpMethod": "POST",
"httpHeaders": {
"Authorization": "${connection.accessToken}",
"Accept": "application/xml"
},
"httpParams": "{\"SSO\":\"${user.username}\",\"Module\": \"${user.customproperty35}\"}",
"httpContentType": "application/xml",
"successResponses": {
"statusCode": [
201,
200,
204
]
}
}
]
}

 

Regards

Aditya