We have 200+ agents we need to change the status of agent from Enable to disable . Scheduler is already Suspended.
please help me on this how can we achieve this.
Hi
There is no public rest api for agent management in OAC but you can use SOAP APIs for this task.
Check https://docs.oracle.com/en/cloud/paas/analytics-cloud/acsdv/c_ibotservice_service.html#GUID-2B0CD294-DB57-4FE9-941B-CC37416B976F
You would need to use the sawsessionservice for logon and then use the ibotservice for agent operation.
This doc does not list the following methods but they are available (you can check this from wsdl definition)
getAgentPaths() – list all the catalog paths to all agents in the catalog. (Administrative permissions are required)
getAgents() – list info on each agent (Access Control to the agent is required)
enableIBot()
getIBotStatus()
purgeAlerts()
Thanks
Gayathri
Hi Gayathri,
Do we have step by step document /video how to disable agent.
The link Gayathri posted above does contains the documentation for the methods she listed (it was recently update probably).
You search for agents, you get the full path, you call the enableIBot() method passing the path, false as the second parameter to disable them, job done.
If you search of blogs and/or videos of how to use the SOAP APIs of Oracle Analytics you find resource (the SOAP API mostly didn't change for the past 10+ years, some methods added here and there, but how to use it is the same for ages).