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

no other field is getting imported except employee id for REST connector

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on October 19 2021 at 14:43 UTC

Hi,


Except employeeId no other field is getting imported for REST connector. Following is the structure for the REST API response:


{
"connection": "userAuth",
"url": "https://api.bamboohr.com/api/gateway.php/murthys/v1/employees/directory",
"httpMethod": "GET",
"httpHeaders": {
"contentType": "application/x-www-form-urlencoded",
"Authorization": "${access_token}",
"x-api-key": "d7f462a1e39aeaafab9c42489b7218f8737b3171"
},
"userResponsePath": "directory.employees.employee",
"colsToPropsMap": {
"username": "id~#~char",
"firstname": "firstName~#~char",
"middleName": "middleName~#~char",
"lastname": "lastName~#~char",
"displayname": "preferredName~#~char"
}
}


This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.
2 REPLIES 2

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on October 19 2021 at 15:46 UTC

Issue with response path. Also set the httpHeader - Accept=application/json. Thanks, Pallavi Chaudhari Persistent Systems Ltd.
This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on October 21 2021 at 19:38 UTC

Ramana,


Did the solution that Pallavi provide work ?


If Yes, can you post the sample here for the benefit of the community ?




Regards,

Avinash Chhetri

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.