Yes CLI might be the best option. In another project I already collected some information about this.
In short the following steps are needed to export users:
- Download gc.exe
- gc profiles new
- Use credentials from OAuth Application that you created
- Execute: gc.exe users list --autopaginate
Everything about CLI: https://developer.genesys.cloud/blog/2021-02-11-Introducing-the-CLI/
A good intro video can be found here: https://www.youtube.com/watch?v=OnYDs5NsLpU&list=PL01cVFOkuN70Rk8xgI8pk_tKMcTW4FesF
On GIT Hub is a great collection of use cases: https://github.com/MyPureCloud/quick-hits-cli
As for an example there is a small Python script that demonstrates export and import of objects: https://github.com/MyPureCloud/quick-hits-cli/blob/main/general/migrateorgobjects.py
There are several different examples in PowerShell, Linux Shell or Python examples as a great resource to learn how this works. But even without examples the usage is quite simple. You can install it in windows (or any other OS) following the instructions found here: https://developer.genesys.cloud/api/rest/command-line-interface/
Hope this helps!
------------------------------
Peter Faust
Genesys - Employees
------------------------------
Original Message:
Sent: 04-30-2022 17:27
From: Vaun McCarthy
Subject: How to export user data to Excel
Hi Andrew
Take a look at the CLI for doing this. It gives auto-paginate and stream options that get around some of the limitations people have mentioned here and can output to CSV.
------------------------------
Vaun McCarthy
Original Message:
Sent: 04-28-2022 11:52
From: Andrew Lewis
Subject: How to export user data to Excel
Hi, i would like to export the User / People data to Excel so that i can sort by last logged on date. Has anyone found a way to do this? I tried copying and the developer tools but cannot get it in to a format that i can import into Excel.
Tried /API/v2/ but there does not seem to be an export option.
Thanks in advance
#SystemAdministration
------------------------------
Andrew Lewis
Health Management Ltd
------------------------------