Get details for specified job definition

get

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/jobs/{jobId}

Retrieves job definition details. This is not the job run result. For job results, success/failure, output, or runtime state, resolve the job id and use `/jobs/{jobId}/executions`, then inspect steps as needed.

Request

Path Parameters
  • Concrete job id. This endpoint requires a real job id. Do not leave the placeholder value `{jobId}` in the URL. Do not use `all` unless the endpoint parameter is documented as JobIdOrAll. If the user provides a job name instead of an id, call ListJobs first with the exact `name` filter to resolve the id. If exact `name` returns no rows, retry ListJobs with `nameMatches` using `%` wildcards and suggest similar job definitions to the user.
Query Parameters
  • Repeat the expand query parameter for each requested collection. Valid values are `executions`, `targets`, and `parameters`. When calling generated tools, pass `expand` as an array of separate values: parameters, targets, executions. Do not pass a URL query fragment such as `parameters&expand=targets` as the `expand` argument value. For multiple values, construct the URL as `expand=parameters&expand=targets`, not `expand=parameters,targets`. If expand=executions then execution collection will be added to the response. If expand=targets then target collection will be added to the response. If expand=parameters then parameter collection will be added to the response.
    • Allowed Values: [ "executions", "targets", "parameters" ]

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Job details
Body ()
Root Schema : Job
Type: object
Job resource
Match All
Job resource
Show Source
  • JobSummary
    An object representing a job definition. This is not an execution record.
Nested Schema : JobSummary
Type: object
An object representing a job definition. This is not an execution record.
Show Source
Nested Schema : executions
Type: array
Execution collection for this job when `expand=executions` is set. Use this collection (or `/jobs/{jobId}/executions`) for runtime/run-result statuses.
Show Source
Nested Schema : parameters
Type: array
show parameters collection used by this job when expand=parameters is set. Includes runtime properties when configured.
Show Source
Nested Schema : targets
Type: array
show targets collection used by this job when expand=targets is set
Show Source
Nested Schema : ExecutionSummary
Type: object
This is the representation of an Execution.
Match All
This is the representation of an Execution.
Show Source
Nested Schema : ExecutionDetails
Type: object
It represents an execution.
Show Source
Nested Schema : runtimeData
Type: object
Execution run time data
Match All
Execution run time data
Show Source
Nested Schema : InstanceData
Type: object
This is the representation of instance submission data.
Match All
This is the representation of instance submission data.
This is the representation of instance submission data.
Show Source
Nested Schema : DeploymentProcedureTargetList
Type: array
Defining list of procedure targets
Show Source
Nested Schema : DeploymentProcedureVariableCollection
Type: object
Collections of Procedure Variable
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : DeploymentProcedureTargetCollection
Type: object
Collections of Procedure Target
Show Source
Nested Schema : items
Type: array
The list of targets
Show Source
Nested Schema : DeploymentProcedureTargetSummary
Type: object
This is the representation of Procedure Target
Match All
This is the representation of Procedure Target
Show Source
Nested Schema : DeploymentProcedureTargetDetails
Type: object
Defining Target for Deployment Procedure
Show Source
Nested Schema : CredentialReference
Type: array
This is the representation of credential references.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: array
The list of procedure variables
Show Source
Nested Schema : DeploymentProcedureVariableSummary
Type: object
This is the representation of Procedure Variable
Match All
This is the representation of Procedure Variable
Show Source
Nested Schema : DeploymentProcedureVariableDetails
Type: object
Defining Variable for Deployment Procedure
Show Source
Nested Schema : ParameterSummary
Type: object
Job parameter summary returned by LIST operation. Maps directly to Parameter object.
Match All
Job parameter summary returned by LIST operation. Maps directly to Parameter object.
Job parameter summary returned by LIST operation. Maps directly to Parameter object.
Show Source
  • Parameter
    Job configuration parameter, identified by context name / parameter name. Contains a single value. In case the value is not defined on given context, the value is populated from metadata (default value) or from the GLOBAL context. Alternatively, user can ask to see values from all related contexts.
  • ParameterSummary-allOf[1]
Nested Schema : Parameter
Type: object
Job configuration parameter, identified by context name / parameter name. Contains a single value. In case the value is not defined on given context, the value is populated from metadata (default value) or from the GLOBAL context. Alternatively, user can ask to see values from all related contexts.
Show Source
Nested Schema : ParameterSummary-allOf[1]
Type: object
Nested Schema : contextValues
Type: object
Additional Properties Allowed
Show Source
Parameter values from all related contexts / metadata
Nested Schema : value
Parameter value
Match One Schema
Show Source
Nested Schema : TargetSummary
Type: object
Summary information about a target.
Show Source

400 Response

Bad Request
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

401 Response

Unauthorized
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

404 Response

Not Found
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

500 Response

Internal Server Error
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported

503 Response

Service Unavailable
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an error
Show Source
  • The status code of the error
    Example: IllegalArgument
  • A descriptive error message
    Example: The argument given is not supported
Back to Top