RE: Trigger process with Web Service or API

Question -
How to trigger a Specific Job through API/http req, On a Specific Windows VM’s using a specific BOT ?

I have couple processes Process A, Process B available on different Folders, Folder “Default” AND Folder “NEW” in Orchestrator.
There are 2 Windows VM’s, 2 Machine Keys, 2 Robots available.

I tried the following way ,


{ ReleaseKey: ‘XXXXX’,
Strategy: ‘Specific’,
RobotIds: [121],
NoOfRobots: 0 }}”

How to find and add “Machine / Robot” information?

When tried to trigger a process through HTTP Request using “Default” folder, I don’t see any issues. But, when tried to trigger the same process in a different folder , I do see the following ERROR.
Ref -Same Process / Same Machine / Different Folder

{“message”:“You are not authorized!”,“errorCode”:0,“result”:null,“targetUrl”:null,“success”:false,“error”:{“code”:0,“message”:“You are not authorized!”,“details”:"You are not allowed to perform this operation.