JobController.RunJobs Method |
Runs a set jobs.
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("RunMultiple")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(404)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(440)]
[ProducesResponseTypeAttribute(500)]
public ActionResult<IDictionary<Guid, long>> RunJobs(
[FromBodyAttribute] ICollection<Guid> ids,
Guid? sessionId = null
)
<HttpPostAttribute("RunMultiple")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(404)>
<ProducesResponseTypeAttribute(409)>
<ProducesResponseTypeAttribute(440)>
<ProducesResponseTypeAttribute(500)>
Public Function RunJobs (
<FromBodyAttribute> ids As ICollection(Of Guid),
Optional sessionId As Guid? = Nothing
) As ActionResult(Of IDictionary(Of Guid, Long))
public:
[HttpPostAttribute(L"RunMultiple")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(404)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(440)]
[ProducesResponseTypeAttribute(500)]
ActionResult<IDictionary<Guid, long long>^>^ RunJobs(
[FromBodyAttribute] ICollection<Guid>^ ids,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("RunMultiple")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(404)>]
[<ProducesResponseTypeAttribute(409)>]
[<ProducesResponseTypeAttribute(440)>]
[<ProducesResponseTypeAttribute(500)>]
member RunJobs :
[<FromBodyAttribute>] ids : ICollection<Guid> *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<IDictionary<Guid, int64>>
Parameters
- ids
- Type: System.Collections.Generic.ICollection<Guid>
The IDs of the jobs to run. - sessionId (Optional)
- Type: System.Nullable<Guid>
ID of the current session.
Return Value
Type:
ActionResult<IDictionary<Guid,
Int64>>The
Int64 ID of the job run, or a status code indicating the problem.
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