You are mixing up 2 different things.
The server Web API (port 450 in your env) is for the Web Client and the agent service to connect and to communicate with the tenant "back-end services". Currently you can not call it directly for triggering your bots.
To trigger a bot, you need to use the Web API exposed by your agent service and the default port is 8099. Here's an example where I'm calling one of my bots published to my tenant:
https://localhost:8099/scripts/DequeueAndInsertSalesLead?unlockMachine=false&vQueueName=JKJConcurrent&vBotName=BOT3So, the syntax is:
https://<your agent service computer>:8099/scripts/<your script name>?<parameters>
For testing locally, you should always set "unlockMachine=false" parameter. The rest depends, if you want to pass some parameters to your script. You can also use POST, where you can give the parameters using the JSON format.
------------------------------
Jukka Juselius
Senior Solution Architect - IBM EMEA
WDG Automation Program Lead for EMEA
IBM Digital Business Automation
------------------------------
Original Message:
Sent: Mon January 04, 2021 05:41 AM
From: Nisala Chamath Jayasinghe
Subject: On Premis Bot API
I cannot access localhost:8099. What is the purpose of giving web api port as 450 in the installation? I have the on premis WDG server. I need to call the bot from API call
------------------------------
Nisala Chamath Jayasinghe
Original Message:
Sent: Mon January 04, 2021 05:32 AM
From: Jukka Juselius
Subject: On Premis Bot API
Hello!
The Web API is currently callable through the agent service as it is with the SaaS model. The default port is 8099. So, you need to call the computer to which you have your agent service running, port 8099. If you want to use "Broker" that you can define for each script in the tenant repository, the port is 8096. Obviously the script you want to call needs to be published to your tenant.
------------------------------
Jukka Juselius
Senior Solution Architect - IBM EMEA
WDG Automation Program Lead for EMEA
IBM Digital Business Automation
Original Message:
Sent: Mon January 04, 2021 05:21 AM
From: Nisala Chamath Jayasinghe
Subject: On Premis Bot API
How can I call a bot in on premis version of WDG automation. I have give the web api port as 450. What is the api url to call bots?
------------------------------
Nisala Chamath Jayasinghe
------------------------------