Pass arguments ( string ) while invoking workflow using Orchestrator API ( v2018.2 )

Hi @kaushikn,

Assuming that your workflow has input arguments, here is an example of a body for a POST at /odata/Jobs/UiPath.Server.Configuration.OData.StartJobs with input arguments:

{  
   "startInfo":{  
      "ReleaseKey":"46bffa58-ead9-4e4e-9f16-81adce068e0b",
      "RobotIds":[  
         1
      ],
      "JobsCount":0,
      "Strategy":"Specific",
      "InputArguments":"{\"Array\":234,\"stringNew\":\"test string\",\"arrayStrings\":[\"first string\",\"second string\"]}"
   }
} 

More info about this can be found here: About OData and References

I hope this helps,
Andrei

1 Like