API Endpoints for getting Roles information
Hi All,
I am trying to get users and roles data in Anaplan. Right now, we have setup a process/actions to export the users and roles page data, and export it as a csv file. But, this gets tedious if we are doing it on multiple models and we prefer a simple approach to get the similar data without having any process runs.
So, we were exploring the API endpoints available to get the same level of data and found the below endpoint URLs to fetch the users data.
https://api.anaplan.com/scim/1/0/v2/Users
https://api.anaplan.com/2/0/users
However, I am not able to find any endpoint for accessing the Role information. Could someone shed some light on where/how can I access the role information via the API?
Thanks,
Hema
Answers
-
@hemachandran I found in the below link the list of all Transactional API endpoints :
https://anaplanbulkapi20.docs.apiary.io/#/introduction/transactional-api-index
And, indeed, I did not find any endpoints to read the metadata related to the Security.
Until Anaplan will release new API endpoints, I do not see any other solution than creating export actions in every model to have access and download the Security information.
Hope it helps
Alex
0 -
Thanks @alexpavel for checking on this. I saw an IdeaExchange post which was along the same lines as my requirement - Add API Endpoints for exporting History, Users and... - Anaplan Community. Hopefully, they implement & expose security related API endpoints soon.
I am new to this Anaplan world, so excuse if my question is basic - I saw some existing & early access endpoints related to reading view data on the same transactional API apiary page. If we build a view out of the user or roles in the models, will that have updated information always, or does that need update/refresh to have latest info on it?
Anaplan Integration API V2 Guide and Reference read-large-volume-view-data · Apiary
I am able to access the view data directly without any actions using those API endpoints specified.
Thanks,
Hema
0 -
@hemachandran Currently, it is not possible to reference any security information and publish it into a normal Anaplan module. So, it is not possible to build a saved view out of the user or roles.
0 -
@alexpavel wrote:@hemachandran I found in the below link the list of all Transactional API endpoints :
https://anaplanbulkapi20.docs.apiary.io/#/introduction/transactional-api-mostbet-rating.com
And, indeed, I did not find any endpoints to read the metadata related to the Security.
Until Anaplan will release new API endpoints, I do not see any other solution than creating export actions in every model to have access and download the Security information.
Hope it helps
Alex
Hello, where can I access and download security information.
0 -
Hi @petrokorkov,
Alex is probably talking about saving export from Users->Roles, User->Roles->Modules etc, and then downloading it using API/Anaplan Connect.
But in case you are looking for some other ways in which you can get Security/Audit information, you can check Anaplan Audit API · Apiary and Anaplan SCIM API · Apiary.1 -
0