Hi,
I've recently discovered how to create elements using the API and Ansible. Is it possible to create SRM resources via the same API?
My goal is to create a bunch of elements and their resources at the same time
Thanks
Hi Chris,
There is currently no API call provided to create resources.
But there are a few options:
- You can use API call ExecuteAutomationScript (or a familiar one) and add the code for creating the resources in an automation script.
- By enabling soft-launch option APIDeployment you can use User Defined APIs. Note that the official release will be in a few months and you'll have to recreate all your User Defined APIs.
Please note that the second option is in soft-launch with all consequences (https://docs.dataminer.services/user-guide/Reference/Soft-launch_options/SoftLaunchOptions.html). Therefore I would advice to use option 1 in a production environment or wait for the official release of the User Definable API in a few months.
Thanks Jens!