Adding employee ID

Hopefully this is the right forum for this question...if not, please let me know where I should post this question if you know.

I need to add the employee ID to all of our agents in Genesys Pure Cloud. I looked through the API's, but I was not able to find one that would allow me to do this. Does anyone know a way that I can mass update and add the employee ID's for all of our users? I do not want to have to manually touch each user record if possible.

Thanks!

Hi Jason,

Welcome to the community! Yes there is an API to help you update an employee.

Its PATCH /api/v2/users/{userId}. If you look at the API there is a section under employerInfo called employeeId. If you go here you can see the actual endpoint.

You can also use our CLI to poke around on this.

Thanks,
John Carnell
Manager, Developer Engagement

Hi John,

Thanks for the info. From the looks of the API, it appears I will still have to enter them one by one. I was hoping to be able to do a mass update.

Thanks!

Hi Jason,

Yes. Unfortunately, we do not have a bulk update API so you will have to iterate through each user update.

Thanks,
John

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.