How to Run a Job using Orchestrator API from C# Console application

  1. Create a C# Console Application in Visual Studio

  2. Add Nuget Packages: RestSharp and Newtonsoft.json in the project

  3. Method for creating Bearer Token

  1. Get Robot ID using Bearer Token and Robot Name

  2. Get Process ID using Bearer Token and Process name

  3. Run the Job using ProcessID, RobotID, and Bearer Token

Call the Methods to Run the Job

2 Likes

Hello ,

Do you have any example for this ?

Regards,
Diogo Nunes

@NunesDio, could you please be specific on the example?

For each one of them :

  1. Method for creating Bearer Token

  2. Get Robot ID using Bearer Token and Robot Name

  3. Get Process ID using Bearer Token and Process name

  4. Run the Job using ProcessID, RobotID, and Bearer Token

Call the Methods to Run the Job

If possible.

Thank you,
Diogo Nunes