InputArguments in StartJobs API

Hi,

I need to pass an input Argument to Start a Job via API Orchestrator, but returns “startJobParameters must not be null

{
“startInfo”: {
“releaseKey”: " … ",
“strategy”: “Specific”,
“robotIds”: [
103012
],
“noOfRobots”: 0,
“jobsCount”: 0,
“jobPriority”: “Normal”,
“runtimeType”: “NonProduction”,
“inputArguments”: “{"in_chamadoID":“8000238928”}”
}
}

in_chamadoID is the argument of my robot

And i’m using the URL …/odata/Jobs/UiPath.Server.Configuration.OData.StartJobs

Someone can help me?
Thanks

Hello!
Currently, there seems to be a problem with the capitalization of fields in Automation Cloud Orchestrator’s Swagger page.
Try to use uppercase for the first character of the subfields (all of them, except startInfo):

{
  "startInfo": {
    "ReleaseKey": "abc",
    "Strategy": "Specific",
    "RobotIds": [
      103012
    ],
    "JobPriority": "Normal",
    "RuntimeType": "NonProduction",
    "InputArguments": "{\"in_chamadoID\":\"8000238928\"}"
  }
}
1 Like