Running A Job From C# Console Application Using Orchestrator API

How to Run a Job using C# console application using Orchestrator API?

  1. Create a C# Console Application in Visual Studio
  2. Add Nuget Packages: RestSharp and Newtonsoft.json in the project
  1. Method for creating Bearer Token
  1. Get Robot ID using Bearer Token and Robot Name
  1. Get Process ID using Bearer Token and Process name
  1. Run the Job using ProcessID, RobotID, and Bearer Token
  1. Call the Methods to Run the Job