Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Rest based connector which supports xml based request and response in postman

Shaik-Misba
New Contributor III
New Contributor III

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

https://api.abc.com/api/v1

<?xml version='1.0' encoding='UTF-8'?>
<call method="exportUsers" callerName="offline export file">
<credentials login="abc@test.com" password="XXXXX" instanceCode="XXXX"/>
<include groups="true"/>
<user createdDate="true"/>
<include subscriptions="false"/>
</call>
4 REPLIES 4

NM
Honored Contributor II
Honored Contributor II

Hi @Shaik-Misba , define a dummy connection json and pass the authentication values(username, password etc) directly in importjson

Shaik-Misba
New Contributor III
New Contributor III

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"

"processingType": "SequentialAndIterative",

typos


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

rushikeshvartak
All-Star
All-Star

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"

}
}
}

https://forums.saviynt.com/t5/identity-governance/how-to-build-a-connection-with-hardcoded-bearer-to... 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.