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

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.