Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/18/2024 08:29 AM - last edited on 06/18/2024 09:30 AM by Dave
We are trying to onboard a rest based application into Saviynt. But the api supports xml based request and response in postman. The thing is we don't have authentication api, hence we are facing issues in establishing connectionjson in saviynt. For every call we have only one api and we are passing the method like exportuser, exportaccount in the xml call. Could you please help us to build the connectionjson? We don't have accss toke and all. We have only username, passowrd and tenantId.
Adding api and body of the request formate
Solved! Go to Solution.
06/18/2024 10:17 AM
Hi @Shaik-Misba , define a dummy connection json and pass the authentication values(username, password etc) directly in importjson
06/20/2024 03:17 AM
I have tried to pass the dummy connection. And I tried to pass xml body in the http params. my import account job is failing. givening me the error "Cannot get property 'processingType' on null object"
06/20/2024 06:06 AM
"processingType": "SequentialAndIterative",
typos
06/18/2024 10:31 AM
Refer sample
{
"authentications": {
"acctAuth": {
"authType": "oauth2",
"url": "https://XXXXX/login/oauth/access_token",
"httpMethod": "POST",
"httpParams": "",
"httpHeaders": {
"Content-Type": "application/x-www-form-urlencoded"
},
"httpContentType": "application/x-www-form-urlencoded",
"authError": [
"InvalidAuthenticationToken",
"AuthenticationFailed",
"Must authenticate to access this API."
],
"retryFailureStatusCode": [
401,
403
],
"errorPath": "error.message",
"maxRefreshTryCount": 5,
"tokenResponsePath": "access_token",
"tokenType": "Bearer",
"authHeaderName": "Authorization",
"accessToken": "Bearer XXXXXX",
"token":"XXXX"
}
}
}