A Sandcastle Documented Class Library

# JobController GetLatestJobRunEvent Method

POST /Job/GetLatestJobRunEvent/ Gets the latest JobRunEvent object associated with the JobRun ID.

Namespace: Dundas.BI.WebApi.Controllers
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [HttpPostAttribute]
    [ActionNameAttribute("GetLatestJobRunEvent")]
    public IActionResult GetLatestJobRunEvent(
    	[FromBodyAttribute] long id,
    	Guid? sessionId = null
    )

    <HttpPostAttribute>
    <ActionNameAttribute("GetLatestJobRunEvent")>
    Public Function GetLatestJobRunEvent (
    	<FromBodyAttribute> id As Long,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpPostAttribute]
    [ActionNameAttribute(L"GetLatestJobRunEvent")]
    IActionResult^ GetLatestJobRunEvent(
    	[FromBodyAttribute] long long id,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpPostAttribute>]
    [<ActionNameAttribute("GetLatestJobRunEvent")>]
    member GetLatestJobRunEvent :
            [<FromBodyAttribute>] id : int64 *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

id
  Type: System
  Int64
  The ID associated with the JobRun.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  Current session ID.

#### Return Value

Type: IActionResult
A JobRunEventData object, or a status code indicating the problem.
See Also

#### Reference

JobController Class
Dundas.BI.WebApi.Controllers Namespace