Open this page in the API Guide

JobController.ClearOldJobs Method

Clears all the old jobs before a specified date.

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("ClearOldJobs")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(412)]
[ProducesResponseTypeAttribute(440)]
public ActionResult ClearOldJobs(
	[FromBodyAttribute] GetJobsOptions options,
	Guid? sessionId = null
)

Parameters

options
Type: Dundas.BI.WebApi.Models.GetJobsOptions
A GetJobsOptions object containing the before date.
sessionId (Optional)
Type: System.Nullable<Guid>
Current session ID.

Return Value

Type: ActionResult
See Also