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
-
jobId(required): string
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
-
expand: array[string]
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 TopResponse
Supported Media Types
- application/json
200 Response
Job details
Root Schema : Job
Type:
objectJob resource
Match All
Job resource
Show Source
-
object
JobSummary
An object representing a job definition. This is not an execution record.
Nested Schema : JobSummary
Type:
objectAn object representing a job definition.
This is not an execution record.
Show Source
-
description(required): string
Job description
-
executionCount: number
Number of executions recorded for this job definition
-
executions: array
executions
Execution collection for this job when `expand=executions` is set. Use this collection (or `/jobs/{jobId}/executions`) for runtime/run-result statuses.
-
id(required): string
Job id
-
isCorrectiveAction(required): boolean
Determine if Job is CA job
-
isLibrary(required): boolean
Determine if Job is library job
-
links(required): object
links
Navigation links for this job
-
name(required): string
Job name
-
owner(required): string
Job owner
-
parameterCount: number
Number of parameters used by the job
-
parameters: array
parameters
show parameters collection used by this job when expand=parameters is set. Includes runtime properties when configured.
-
runAsUser: string
Job run as user
-
status(required): number
Job definition status (job-level state, not execution result). 0 = Active - Job is running 1 = Suspended - Job was suspended 2 = Stopped - Job was stopped 3 = Reassigned - The owner was changed typically because the original owner was deleted 4 = Expired - The job type was disabled 5 = Delete Pending - The job is logically deleted and will be purged. Objects set to delete pending may be deleted at any time by background processes and should generally be treated as if they are already deleted.
-
statusDisplayName(required): string
Allowed Values:
[ "Active", "Suspended", "Stopped", "Reassigned", "Expired", "Delete Pending" ]Human-readable form of job definition status (maps to `status` values above). -
system: number
Determine if Job is system job 0 = User visible job(not system job) 1 = One time system job 2 = Retry system job 3 = System job associated with a http session
-
targetCount: number
Number of targets used by the job
-
targets: array
targets
show targets collection used by this job when expand=targets is set
-
type(required): string
Job type
Nested Schema : executions
Type:
arrayExecution collection for this job when `expand=executions` is set.
Use this collection (or `/jobs/{jobId}/executions`) for runtime/run-result statuses.
Show Source
-
Array of:
object ExecutionSummary
This is the representation of an Execution.
Nested Schema : links
Type:
objectNavigation links for this job
Show Source
-
executions: object
Link
A link referencing to another api
-
parameters: object
Link
A link referencing to another api
-
self(required): object
Link
A link referencing to another api
-
targets: object
Link
A link referencing to another api
Nested Schema : parameters
Type:
arrayshow parameters collection used by this job when expand=parameters is set.
Includes runtime properties when configured.
Show Source
-
Array of:
object ParameterSummary
Job parameter summary returned by LIST operation. Maps directly to Parameter object.
Nested Schema : targets
Type:
arrayshow targets collection used by this job when expand=targets is set
Show Source
-
Array of:
object TargetSummary
Summary information about a target.
Nested Schema : ExecutionSummary
Type:
objectThis is the representation of an Execution.
Match All
This is the representation of an Execution.
Show Source
-
object
ExecutionDetails
It represents an execution.
Nested Schema : ExecutionDetails
Type:
objectIt represents an execution.
Show Source
-
id: string
Unique identifier for an executionExample:
CDAAE80FDD3D7987E053E00F4B64DEBB -
links: object
links
the Execution related links
-
name: string
Name of of an instanceExample:
hostcmd-executiontest -
runtimeData: object
runtimeData
Execution run time data
-
status: string
Represents status of an executionExample:
COMPLETED
Nested Schema : links
Type:
objectthe Execution related links
Show Source
-
self: object
Link
A link referencing to another api
Nested Schema : runtimeData
Type:
objectExecution run time data
Match All
Execution run time data
Show Source
-
object
allOf
InstanceData
This is the representation of instance submission data.
Nested Schema : Link
Type:
objectA link referencing to another api
Show Source
-
href: string
the reference
Nested Schema : InstanceData
Type:
objectThis 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
-
array
DeploymentProcedureTargetList
Defining list of procedure targets
-
object
DeploymentProcedureVariableCollection
Collections of Procedure Variable
Nested Schema : DeploymentProcedureTargetList
Type:
arrayDefining list of procedure targets
Show Source
Nested Schema : DeploymentProcedureVariableCollection
Type:
objectCollections of Procedure Variable
Show Source
-
items: array
items
The list of procedure variables
Nested Schema : items
Type:
Show Source
object-
name: string
name of target typeExample:
host -
targets: object
DeploymentProcedureTargetCollection
Collections of Procedure Target
Nested Schema : DeploymentProcedureTargetCollection
Type:
objectCollections of Procedure Target
Show Source
-
items: array
items
The list of targets
Nested Schema : items
Type:
arrayThe list of targets
Show Source
-
Array of:
object DeploymentProcedureTargetSummary
This is the representation of Procedure Target
Nested Schema : DeploymentProcedureTargetSummary
Type:
objectThis is the representation of Procedure Target
Match All
This is the representation of Procedure Target
Show Source
-
object
DeploymentProcedureTargetDetails
Defining Target for Deployment Procedure
Nested Schema : DeploymentProcedureTargetDetails
Type:
objectDefining Target for Deployment Procedure
Show Source
-
credentialReferences: array
CredentialReference
This is the representation of credential references.
-
targetName: string
Target NameExample:
host1.oracle.com -
targetType: string
Target TypeExample:
host
Nested Schema : CredentialReference
Type:
arrayThis is the representation of credential references.
Show Source
Nested Schema : items
Type:
Show Source
object-
credentialName: string
Represents credential nameExample:
EMGA -
credentialType: string
Represents type of the credentialExample:
NAMED -
owner: string
Represents owner of the credentialExample:
SYSMAN -
usage: string
Represents credential usageExample:
defaultHostCred
Nested Schema : items
Type:
arrayThe list of procedure variables
Show Source
-
Array of:
object DeploymentProcedureVariableSummary
This is the representation of Procedure Variable
Nested Schema : DeploymentProcedureVariableSummary
Type:
objectThis is the representation of Procedure Variable
Match All
This is the representation of Procedure Variable
Show Source
-
object
DeploymentProcedureVariableDetails
Defining Variable for Deployment Procedure
Nested Schema : DeploymentProcedureVariableDetails
Type:
objectDefining Variable for Deployment Procedure
Show Source
-
variableName: string
Displays Deployment Procedure varibale nameExample:
userId -
variableValue: string
Displays Deployment Procedure varibale valueExample:
10001
Nested Schema : ParameterSummary
Type:
objectJob 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
-
object
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.
-
object
ParameterSummary-allOf[1]
Nested Schema : Parameter
Type:
objectJob 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
-
contextName(required): string
Context name
-
contextValues: object
contextValues
Additional Properties Allowed: additionalPropertiesParameter values from all related contexts / metadata
-
links(required): object
SelfLink
A link to self
-
name(required): string
Parameter name
-
value(required):
value
Parameter value
Nested Schema : ParameterSummary-allOf[1]
Type:
objectNested Schema : contextValues
Type:
objectAdditional Properties Allowed
Show Source
Parameter values from all related contexts / metadata
Nested Schema : SelfLink
Type:
objectA link to self
Show Source
-
self(required): object
Link
A link referencing to another api
Nested Schema : TargetSummary
Type:
objectSummary information about a target.
Show Source
-
blackoutStatus: string
Target blackout status display name.Example:
Started -
displayName(required): string
Display of the targetExample:
My Database Instance -
id(required): string
Target IDExample:
D91786E288D35455C3ADA1B329B49BB5 -
links: object
links
Target related links
-
name(required): string
Target NameExample:
my_database -
owner(required): string
Owner of the targetExample:
SYSMAN -
status: string
Allowed Values:
[ "DOWN", "UP", "METRIC_ERROR", "AGENT_DOWN", "UNREACHABLE", "BLACKOUT", "PENDING", "REMOTE_HOST_UNREACHABLE" ]This is the representation of a target status.Example:UP -
statusDisplayName: string
Localized statusExample:
Hochgefahren -
statusIconPath: string
Path to the status icon which is used in UIExample:
/sdk/core/uifwk/images/status/stat_arrowup_16.png -
typeDisplayName(required): string
Localized type display name of the targetExample:
Datenbankinstanz -
typeName(required): string
Target Type NameExample:
oracle_database
400 Response
Bad Request
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
401 Response
Unauthorized
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
404 Response
Not Found
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
500 Response
Internal Server Error
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported
503 Response
Service Unavailable
Root Schema : ErrorResponse
Type:
objectResponse sent back in the case of an error
Show Source
-
code: string
The status code of the errorExample:
IllegalArgument -
message: string
A descriptive error messageExample:
The argument given is not supported