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

Can we integrate Rest application without connection Json in Saviynt

mkivade
New Contributor II
New Contributor II

We have one rest application, they have provided APIKey so using that API key we are able to create the user in target system through postman.
As we dont have any details for connection json like url, method etc.
we have dircetly tried to update the account json but it's not working.

{
"accountIdPath": "call1.message.id",
"call": [{
"name": "call1",
"connection": "acctAuth",
"url": "urldetails",
"httpMethod": "PUT",
"httpHeaders": {
"X-Axonify-API-Token": "APIKey",
"Accept": "application/json",
"Content-Type": "application/json"
},
"httpParams": "{\"users\": [{\"employeeId\": \"2\", \"active\": true, \"fullName\": \"test\", \"nickName\": \"test\" , \"username\": \"test\", \"md5Password\": \"\", \"userType\": \"User\", \"email\": \"testdomain@test.com\", \"language\": \"EN\", \"hireDate\": \"20220527\", \"roleStartDate\": \"20160116\", \"jobTitle\": \"Professional Conslt (NE)\", \"department\": \"Shipping\", \"team\": \"P123456\", \"teamCode\": \"DC1234abc\", \"lineOfBusiness\": \"Insurance\", \"areasOfInterest\": [\"Safety\" , \"Leadership\"], \"suspended\": \"false\", \"reportAuthType\": \"Custom\"}]}",
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200
]
}

}]
}

2 REPLIES 2

sudeshjaiswal
Saviynt Employee
Saviynt Employee

Hello @mkivade ,

Creating the connections JSON is mandatory for Rest Connection.
For your reference, please visit this link
https://docs.saviyntcloud.com/bundle/REST-v2021x/page/Content/Developers-Handbook.htm
https://forums.saviynt.com/t5/identity-governance/rest-connector-no-connection-json-configuration-re... 
https://forums.saviynt.com/t5/general-discussions/rest-api-connector-quot-no-auth-quot-authorization... 

Thanks

If you find the above response useful, Kindly Mark it as "Accept As Solution".

mkivade
New Contributor II
New Contributor II

@sudeshjaiswal Thanks for your quick response.

As per your suggestions I have tried below json in connection and its work for me.

{
"authentications": {
"acctAuth": {
"accessToken": "test"
}
}
}

Thanks Alot.