getJobCount
Returns the number of jobs that have the specified parameters.
Applies to Clouds and Integration Appliances.
Parameters:
- projectName
- The name of the project that contains the configuration where the jobs run.
- version
- The version number of the project.
- configName
- The name of the configuration that contains the orchestration where the jobs run. For the default configuration, this value should be 'Default'.
- orchName
- The name of the orchestration where the jobs run.
- jobId (optional)
- The ID of the jobs for which a count is returned.
- jobKey (optional)
- The job key for the jobs for which a count is returned.
- minStartDate
- The earliest date that the jobs started.
- maxStartDate
- The latest date that the jobs started.
- status
- The status of the jobs.
–Setting status as negative gets all status.
–Setting specific status value (number or lowercase keyword) gets jobs with that status:- success = 0
- errored = 1
- running = 2
- cancelling = 3
- terminated = 4
- cancelled = 5
- suspended = 6
- crashed = 7
- suspending = 8
- unknown = 101
- Returns:
- The number of jobs.