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

Multiple API calls for REST connector

bala
New Contributor II
New Contributor II

Hi Team,

I have used Multiple API calls for REST connector to create user in Saviynt, but when I started using 2nd API call in ImportUserJSON, the columns from colsToPropsMap of API call 1 is disappeared in modifyuserdatajson.  Is this default Saviynt behavior? 

Example: In modifyuserdatajson CP45 is available and CP1 is not available. How to overcome this?

 

{
  "type": "multiCall",
  "call": [
    {
      "name": "call1",
      "connection": "acctAuth",
      "url": "https://<url>/api/v2/users.json",
      "httpMethod": "GET",
      "httpHeaders": {
        "Content-Type": "application/json",
        "Authorization": "${access_token}"
      },
      "colsToPropsMap": {
        "username": "id~#~char",
        "customproperty1": "email~#~char"
      },
      "userResponsePath": "users"
    },
    {
      "name": "call2",
      "connection": "acctAuth",
      "url": "https://<url>/api/v2/users/${userIdentifier}.json",
      "httpMethod": "GET",
      "httpHeaders": {
        "Authorization": "${access_token}"
      },
      "colsToPropsMap": {
        "username": "user.id~#~char",
        "customproperty45": "user.address~#~char"
      },
      "userResponsePath": ""
    }
  ]
}

 

 

2 REPLIES 2

SudheerKaneti
New Contributor III
New Contributor III

Hi Bala,

We have experienced the same behavior when we configured success factors with multi call. 

We have overcome this issue by two creating separate connectors for both calls in saviynt and used modify user data json in that connector which has required cp column value in it.

Thank you,

Sudheer Kaneti.

 

Darshanjain
Saviynt Employee
Saviynt Employee

Hi @bala ,

For each call inline preprocessor calls, so make sure when you are using  cp45 for 2nd call , use current users table for cp1 as the data is already processed.

 

Thanks

Darshan