JobController.RunJob Method |
Runs 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[HttpPostAttribute("Run/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(404)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(440)]
[ProducesResponseTypeAttribute(500)]
public ActionResult<IDictionary<Guid, long>> RunJob(
Guid id,
Guid? sessionId = null
)
<HttpPostAttribute("Run/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(404)>
<ProducesResponseTypeAttribute(409)>
<ProducesResponseTypeAttribute(440)>
<ProducesResponseTypeAttribute(500)>
Public Function RunJob (
id As Guid,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of IDictionary(Of Guid, Long))
public:
[HttpPostAttribute(L"Run/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(404)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(440)]
[ProducesResponseTypeAttribute(500)]
ActionResult<IDictionary<Guid, long long>^>^ RunJob(
Guid id,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("Run/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(404)>]
[<ProducesResponseTypeAttribute(409)>]
[<ProducesResponseTypeAttribute(440)>]
[<ProducesResponseTypeAttribute(500)>]
member RunJob :
id : Guid *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<IDictionary<Guid, int64>>
Parameters
- id
- Type: System.Guid
ID of the job to 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