Authentication oAuth token to supply for getting bearer token

Thanks for the response, though this is a very very complicated example and difficult to get in. While referring to Swagger UI documentation I see a JSON like this:

{
  "startInfo": {
    "ReleaseKey": "56903f5c-7d6c-49c6-bc9b-02cdf1fdcef9",
    "Strategy": "All",
    "RobotIds": [
      0
    ],
    "MachineSessionIds": [
      0
    ],
    "NoOfRobots": 0,
    "JobsCount": 0,
    "Source": "Manual",
    "JobPriority": "Low",
    "RuntimeType": "NonProduction",
    "InputArguments": "string",
    "Reference": "string",
    "MachineRobots": [
      {
        "MachineId": 0,
        "MachineName": "string",
        "RobotId": 0,
        "RobotUserName": "string"
      }
    ],
    "TargetFramework": "Legacy",
    "ResumeOnSameContext": true,
    "BatchExecutionKey": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "RequiresUserInteraction": true,
    "StopProcessExpression": "string",
    "StopStrategy": "SoftStop",
    "KillProcessExpression": "string"
  }
}

I am not sure which authentication oAuth token to supply for getting bearer token secondly there are so many parameters like robotId machineId etc. which I am not able to understand where to pick from and put in these params.