Trying to start a Job with the Orchestrator API ... Got Error

I am running the latest Fast-Track release of Studio, Bots and Orchestrator 2019.4.3 and I am doing a post to

url https://{our url}/odata/Jobs/UiPath.Server.Configuration.OData.StartJobs
headers = {“Content-type”:“application/json”,“Authorization”:“Bearer XXXXXXXXXXXXXXXXXXXXXXX”}

and body is
{
“startInfo”: {
“ReleaseKey”: “F00B337F-59E3-4C2A-9601-6FCE0DF95ABA”,
“Robotids”:[309],
“NoOfRobots”:0,
“Strategy”: “Specific”
}
}

I am getting the error {“message”:“Does not support untyped value in non-open type.”,“errorCode”:0,“resourceIds”:null}

My goal is to have Strategy:Dynamic and list all 20 bots for that environment but dynamically allocate half

any ideas?

I figured it out but still trying to figure out how to allocate dynamically and execute the process x times.

Any help would be great

Found the answer …

{
  "startInfo": {
    "ReleaseKey": "d33e02ff-1937-4bc2-99d7-0152868e5934",
    "Strategy": "JobsCount",
    "RobotIds": [],
    "JobsCount": 10,
    "Source": "Manual"
  }
}
2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.