JobControllerEnableJob Method

Enables or disables a job.

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax
[HttpPutAttribute("EnableJob/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(404)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<bool> EnableJob(
	Guid id,
	[FromBodyAttribute] bool enabled,
	Guid? sessionId = null
)

Parameters

id
Type: SystemGuid
The ID of the job to enable or disable.
enabled
Type: SystemBoolean
A Boolean used to enable or disable a job.
sessionId (Optional)
Type: SystemNullableGuid
The current session ID.

Return Value

Type: ActionResultBoolean
The operation completed successfully. The payload contains a Boolean indicating success (or failure if the job is running).
See Also