I’m able to create job using StartJob API ( https://platform.uipath.com/odata/Jobs/UiPath.Server.Configuration.OData.StartJobs) however it does not execute at all and stuck in Pending state.
Also, when I try to initiate another one it does not create another entry on the job list.
I’m using Postman by the way just for testing.
UPDATE:
My mistake. I specified the wrong robot ID.
On the job capacity though, per testing, I can only queue up at most 2 jobs when continuously initiating job thru API. Starting at the third one it won’t create new entry on the job list.
Hi,
Assuming you already have a package that is published into the Orchestrator, all setup and ready to be started remotely, first I suggest you learn the flow of API calls when ‘Starting a UiPath job’ via orchestrator. For this part you can use API tools such as Postman to easily do mock api calls or just use Swagger api for Orchestrator. *Note you have to be logged in to platform.uipath.com.
Basically, here are the high level steps or flow of API call you need to start a job and the associated [METHODS] (e.g. GET, POST, etc)
[POST] Authenticate using your Orchestrator credentials in the body. Copy the token/results in the response.