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

Account Import via REST Connector

mohitarora1
Regular Contributor
Regular Contributor

We are trying to integrate an application via REST. We have been able to establish a connection via postman and make the call successfully to import the accounts. However, when we provide the details in Saviynt and run the job, we could not see Saviynt making the call. Below are the details.

Access Token call:

mohitarora1_0-1706029108564.png

 

Account Import Call:

mohitarora1_1-1706029233944.png

Below are the JSONs, we are using.

{
  "authentications": {
    "acctAuth": {
      "httpMethod": "POST",
      "httpParams": {
"client_id":"test",
"client_secret":"test",
"grant_type":"password",
"auth_chain":"OAuthLdapService",
"username":"test",
"password":"test"
},
      "httpHeaders": {
"appkey":"test"
},
      "httpContentType": "application/x-www-form-urlencoded", 
      "authError": [
        "InvalidAuthenticationToken",
        "Couldn’t aunthenticate you", 
        "AuthenticationFailed"
      ],
      "errorPath": "error",
      "retryFailureStatusCode": [
        401
      ],
      "maxRefreshTryCount": 5,
      "tokenType": "Bearer",
  "tokenResponsePath":"access_token",
  "refreshTokenResponsePath": "refresh_token",
  "accessToken": "abcde",
  "refreshToken": "abcde"
    }
  }
}

Below is the AccountImport JSON, we are using.

{
"accountParams": {
"connection": "acctAuth",
                 "processingType": "SequentialAndIterative"
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "Bearer abcde",
"appkey":"test"
},
"httpMethod": "POST",
"httpContentType": "application/json",
"body": {
    "where": {}
  }
},
"listField": "records",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "personId~#~char",
"name": "personNumber~#~char",
"firstname": "firstName~#~char",
"lastname": "lastName~#~char",
"customproperty1": "employmentStatus~#~char",
"customproperty2": "userAccountStatus~#~char"
 
 
}
}
}
}
 
 
We have tried adding configJSON for showLogs=true to get extra logs, however, we could not see the call being made to import accounts
1 REPLY 1

rushikeshvartak
All-Star
All-Star

Please share logs and job configs and also security system screenshot


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.