How to Extract User Data from SaaS Environment Using API
Hi,
I'm trying to extract a set of data for all users in my SaaS environment (version 24C) using APIs, but I'm having trouble finding the correct call.
For example, when I follow the documentation at Oracle API Docs and make this call: https://****.em2.oraclecloud.com/hcmRestApi/resources/11.13.18.05/userAccounts
I get the following response:
{
"items": [],
"count": 0,
"hasMore": false,
"limit": 25,
"offset": 0,
"links": [{
"rel": "self",
"href": "https://****.em2.oraclecloud.com/hcmRestApi/resources/11.13.18.05/userAccounts",
"name": "userAccounts",
"kind": "collection"
}]
}
However, I know there are multiple accounts (I would expect to at least see my own). The accounts I'm referring to are the ones found under the security console, and I want to obtain as much data as possible, including: ID, username, creation date, last access, and roles for each account.
Tagged:
0