Using the PUT /People/ ID of Manager/@reports/Id of Employee
Have not found any further information about updating reports beyond the the above syntax.
Any suggestions would be appreciated.
The endpoint is used for creating the org chart connections manually. Ideally, you would have your people data imported automatically into your Jive instance and not need to worry about making updates. The changes would be made in an HR system and then passed down.
Can you elaborate more about what you are trying to accomplish? Jive REST API v3.14 → Person service (Update Report). I have not tested the endpoint but I assume it works. If you started with two unconnected employees, calling the endpoint would create the manager to employee in an org chart..
When the system was originally configured, the decision was made to use Active Directory for the People Data. Our Active Directory only has basic information about people. Now they want the information from the HR system to integrate 'automagically'.
The Api lets me update job titles with no issues. The goal is to be able to maintain the manager relationships without having to manually add, update or delete them. Does that make sense?
Using the endpoint is somewhat manual. Unsure if you are hooking it up to an automated process somewhere in the background. I just tested it and it worked fine.
1. Delete old relation using DELETE: Jive REST API v3.14 → Person service . Need to perform if a user is already reporting to someone else
2. Then call the PUT command to create the manager-employee relationship
In my example, I called PUT https://skunkworks.jiveon.com/api/core/v3/people/2021/@reports/2300 and then DELETE https://skunkworks.jiveon.com/api/core/v3/people/2021/@reports/2300, refreshing the page between calls. to show org chart changing
Thank you! That helped a lot. I did manage to get our test system to work. Might have something to do with the order of operations.
Am using an Integration server to gather the information and 'fire' it automatically at the end points.
I'm glad you were able to figure it out! It looks like you know your path forward Let me know if you have any more questions. I'm familiar with the Jive API but always learning about new endpoints.
Retrieving data ...