Leveraging Intelligent Recommendations for Operational Transformation. AMS Partners Click HERE | EMEA/APJ Click HERE |
03/24/2023 04:17 AM
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
]
}
}]
}
Solved! Go to Solution.
03/24/2023 05:45 AM
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
03/24/2023 06:53 AM
@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.