Hello Solarwinds Community,
I'm back at it again attempting some crazy automation (per usual). I know, I know, the current API set doesn't support a lot of CRUD operations or Verbs to invoke for APM/SAM at the moment.
I'm wondering if I was better off posting the following thread in the Orion SDK space: SAM Threshold Automation: Mapping ThresholdName to ComponentTypes
and while it isn't directly related to this issue, it is related to the case I'm making: I'm trying to do things that aren't currently supported, but that isn't stopping me...
This time, I'm attempting to automate the creation of components and am having a hard time decoding exactly what is going on with the following endpoint: 'Orion/APM/Admin/Edit/Edit.asmx/CreateComponents'
While editing an application template, this URL is invoked when a new component is added. The json body appears as: {"definitionIds":[5],"isTemplate":false,"nextNewComponentId":-1} for an HTTP component.
I'm able to authenticate and get a response, however @tdanner (or anyone else) - before I continue on this path, is there any way of manipulating this call to add a component template to an existing application template? My hunch is that this is simply generating an output that is fed to the 'Orion/APM/Admin/Edit/Edit.asmx/SaveApplicationTemplate' endpoint, but I'm hoping there is something that I'm missing. Since there doesn't seem to be any reference to the application template that is being modified (outside of the referrer header in the request) I'm not sure how to proceed. Any insights would be appreciated.
Thank you,
equalswql