Open this page in the API Guide

JobController Class

The REST API for performing job-related tasks.
Inheritance Hierarchy
System.Object
  Microsoft.AspNetCore.Mvc.ControllerBase
    Dundas.BI.WebApi.Controllers.ApiControllerBase
      Dundas.BI.WebApi.Controllers.JobController

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public class JobController : ApiControllerBase

The JobController type exposes the following members.

Constructors
  NameDescription
Public methodJobController
Initializes a new instance of the JobController class
Top
Methods
  NameDescription
Public methodCancelJobById
Cancels a job.
Public methodClearOldJobs
Clears all the old jobs before a specified date.
Public methodEnableJob
Enables or disables a job.
Protected methodEnsureCallerContext
If the current context is not already the specified context, creates a new caller context which is a clone of the specified context and sets it as the current one.
(Inherited from ApiControllerBase.)
Protected methodEnsureFormFileMultipartContent
Ensures when form files are access the content is MIME multi-part which we want.
(Inherited from ApiControllerBase.)
Protected methodGetClientIdFromCookieOrProvided
Gets the client ID from cookie or from the provided value, which is usually from the query string.
(Inherited from ApiControllerBase.)
Public methodGetJobById
Gets a job with the specified ID.
Public methodGetJobRunById
Gets a job run with the specified ID.
Public methodGetJobRunEvents
Get a list of JobRunEvent objects associated with the JobRun ID.
Public methodGetJobRunsForJob
Gets the job runs associated with the given job ID.
Public methodGetJobSchedule
Gets the schedule associated with a Job.
Public methodGetLatestJobRunEvent
Gets the latest JobRunEvent object associated with the JobRun ID.
Public methodGetLatestJobRunEventForJobs
Gets the latest job run events for the specified jobs.
Protected methodGetService<T>
Gets the requested service.
(Inherited from ApiControllerBase.)
Protected methodGetSessionIdFromCookieHeaderOrProvided
Gets the session ID from cookie, the authorization header or from the provided value, which is usually from the query string.
(Inherited from ApiControllerBase.)
Public methodJobRunEventCount
Gets the number of job run events with the given information.
Public methodJobRunEventQuery
Gets the job run events with the given information.
Protected methodLoadSession
Creates a new caller context associated with the specified session ID. The session is not validated.
(Inherited from ApiControllerBase.)
Public methodQueryJobRuns
Gets the job runs with the given information.
Public methodQueryJobRunsCount
Gets the number of job runs with the given information.
Public methodQueryJobs
Gets the jobs with the given information.
Public methodQueryJobsCount
Gets the number of jobs with the given information.
Protected methodRequestFirstFormFile
Retrieves the first form file from the request.
(Inherited from ApiControllerBase.)
Protected methodRequestFormFiles
Retrieves the form files from the request.
(Inherited from ApiControllerBase.)
Protected methodReturnInvalidWindowsIdentityResponse
Returns the invalid windows identity response to challenge the browser.
(Inherited from ApiControllerBase.)
Public methodRunJob
Runs a job.
Public methodRunJob2
Runs a job using provided options.
Public methodRunJobs
Runs a set jobs.
Public methodSetJobMaintainer
Sets the job maintainer.
Public methodUpdateScheduleRule
Updates a schedules rule.
Top
See Also