Is there an API for IBM TWS? The closest I have found is some sort of settings file or fat xml strings to send to something.
I would prefer something Dotnet and Rest but beggars can't be choosers.
(my google fu isn't that bad but IBM docs seem to elude me)
Update
I have something I believe is a working solution. I use Dotnet SSH to the server and run Bash scripts there. SSH on Dotnet is not mature and Bash is stringy. It is not the best of solutions but, at least for now, solves my problems.
TWS has an API. You should be able to access it in the url:
https://<master_hostname>:<https_port>/twsd/
. It follows the Swagger standardThere is a documentation online in this url: https://start.wa.ibmserviceengage.com/twsd/ but if you try to access it directly, you'll get an Access Denied error. To fix it, try to go to https://ibmserviceengage.com accept the fearmongering messages and try to access the first documentation link again.
There is a useful API samples repository with code that will help you to access the API. In the Python sample there is a wacoon.ini that you must edit with your server and username.