Open this page in the API Guide

JobController.RunJob2 Method

Runs a job using provided options.

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax
[HttpPostAttribute("Run2/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(404)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(440)]
[ProducesResponseTypeAttribute(500)]
public ActionResult<IDictionary<Guid, long>> RunJob2(
	Guid id,
	[FromBodyAttribute] RunJobsOptions options,
	Guid? sessionId = null
)

Parameters

id
Type: System.Guid
ID of the job to run.
options
Type: Dundas.BI.WebApi.Models.RunJobsOptions
An object that carries all needed information about the jobs that need to be run.
sessionId (Optional)
Type: System.Nullable<Guid>
ID of the current session.

Return Value

Type: ActionResult<IDictionary<Guid, Int64>>
The operation completed successfully. The payload contains a dictionary of Int64 job run ID by Guid job ID.
See Also