A Sandcastle Documented Class Library

# JobController QueryJobs Method

POST /Job/Query/ Gets the jobs with the given information.

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("Query")]
    public IActionResult QueryJobs(
    	[FromBodyAttribute] GetJobsOptions options,
    	Guid? sessionId = null
    )

    <HttpPostAttribute>
    <ActionNameAttribute("Query")>
    Public Function QueryJobs (
    	<FromBodyAttribute> options As GetJobsOptions,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpPostAttribute]
    [ActionNameAttribute(L"Query")]
    IActionResult^ QueryJobs(
    	[FromBodyAttribute] GetJobsOptions^ options,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpPostAttribute>]
    [<ActionNameAttribute("Query")>]
    member QueryJobs :
            [<FromBodyAttribute>] options : GetJobsOptions *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

options
  Type: Dundas.BI.WebApi.Models
  GetJobsOptions
  An object that carries all needed information about the jobs that need to be retrieved.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  Current session ID.

#### Return Value

Type: IActionResult
An array of JobData objects, or a status code indicating the problem.
See Also

#### Reference

JobController Class
Dundas.BI.WebApi.Controllers Namespace