How to pass process id and any mandatory arguments(for API call) to initiate a job to this URL. Also i want to check how to pass parameters for the RPA process which is initiated. Can any one share any example how to pass this information?
Parameters( like robot id, process id, header info etc) which are used to initiate RPA processes , yes we can pass as part of API call.
Parameters which drive logic with in RPA process, no we cannot pass the parameters. For example you have a RPA process for flight search, source and destination location information will change the search results. Passing source and destination as parameters in API call is not supported.
You can handle this requirement using assets in orchestrator and also to update assets there is an api call.
Thank you for your reply. How can I specify which asset is to be picked by the job? Lets say I want to run multiple instances of the job in different robots or a parallel process within the same robot.
Using Queue transactions is ideal for such scenarios. However, if there is a way to pass parameters or specify to the robot to pick an asset or transaction item in the queue, it will make the application more robust.
For the getRobot call I am getting unauthorized error from uipath studio/postman even after providing the Bearer token. But when I hit it in the browser, I get the result.
Any idea what I am missing here?
I still not really clear the picture. I intend to create a robot to use a online booking and then return the 200 / fail message. This part is done. However, can I swap it as REST API in “https://platform.uipath.com/”, so that when someone call that Url with the correct body parameter, it will able call that Robot and do that job? is it possible?.
Trying to understand the Orchestrator API a bit better. For example, About OData and References - is this for starting an existing job (or putting it to the queue as it states “sets to Pending state”)? Name “StartJobs” is a bit contradicting to the description which says “Adds a new job and sets it in Pending state for each robot based on the input parameters and notifies the respective robots about the pending job”. We’ve identified a number of processes where the automation would need to be triggered by user input in some cases (but also scheduled), could Orchestrator API be used for that purpose also with unattended robots? Do I understand correctly that when installed on premise the Orchestrator is deployed to certain URL and this URL would be used for API calls instead of “https://platform.uipath.com” in the examples? Or how does it go?