Get details for a specific job execution result
get
https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/jobs/{jobId}/executions/{executionId}
Get details for a specific job execution, including the execution result/status for a job run. If the user provides an execution id but no job id, call this endpoint directly with jobId=all. When the user asks for all expanded additional execution details, call this once with expand values steps, parameters, and targets.
Request
Path Parameters
-
executionId(required): string
Concrete job execution id. This endpoint requires a real execution id. Do not leave the placeholder value `{executionId}` in the URL. Do not use `all` unless the endpoint parameter is documented as ExecutionIdOrAll. If the user provides only a job id, call ListExecutions first to resolve the execution id.
-
jobId(required): string
Job id, or `all` only for endpoints that explicitly support cross-job lookup. Use `all` when the user asks for executions or steps across all jobs and does not specify a job id. For ListSteps, if the user asks for all steps, steps with errors, or steps across executions and does not provide a job id, set this required path parameter to `all`. Use `all` on GetExecution when the user supplies a concrete execution id but does not supply a job id. Use `all` on GetStep when the user supplies a concrete step id but does not supply a job id. Do not leave the placeholder value `{jobId}` in the URL. If the user asks for a single job resource, job targets, or job parameters, call ListJobs first to resolve a real job id.
Query Parameters
-
expand: array[string]
Repeat the expand query parameter for each requested collection. Valid values are `steps`, `targets`, and `parameters`. When calling generated tools, pass `expand` as an array of separate values: parameters, targets, steps. 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=steps&expand=parameters&expand=targets`, not `expand=steps,parameters,targets`. When the user asks for parameters of multiple executions, such as the last 10 executions, call ListExecutions once with expand=parameters and an appropriate limit. Do not issue one ListExecutionParameters call per execution unless the expanded response is insufficient or the user asks for a specific execution only. When the user asks for all expanded additional details for a given execution, call GetExecution once with expand values `steps`, `parameters`, and `targets`; do not issue three separate child collection requests unless the expanded response is insufficient or the user asks separately. If expand=steps then step 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:
[ "steps", "targets", "parameters" ]
-
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
A configuration context details
Root Schema : Execution
Type:
objectIt represents an execution
Match All
It represents 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
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