Query job requests
get
ess/rest/scheduler/v1/requests
Queries job requests. Job requests represent executable instances of job definitions or job sets.
Request
Query Parameters
-
excludeFields: string
Common-separated list of fields to exclude in the information returned. For example, ?excludeFields="jobDefinitionId"
-
fields: string
Common-separated list of fields to return. For example, ?fields="requestId"
-
id: string
A comma-separated list of request IDs to return request information for.
-
orderBy: string
Specify a query field by which to order the results. The value of this query parameter must follow the format of fieldName[:(asc/desc)]. For example, ?orderBy=name:asc. If more than one field is listed, only the first will be used.
-
q: string
Query string in SCIM filtering format. Fields that can be queried include [requestId, absParentRequestId, description, application, product, requestCategory, runAsUser, executionType, jobDefinitionId, state, scheduleDefinition, priority, processStartTime, processEndTime, requestedStartTime, requestedEndTime, submissionTime, parentRequestId, elapsedTime, waitTime, scheduledTime, processor, submitter, submitterGUID, instanceParentId, requestType, errorType, processPhase, completedTime, retriedCount, readyWaitTime, enterpriseId, isTimedOut, isAsynchronous, logicalClusterName, submitterDmsECID, submitterFlowId, requestDmsECID, requestFlowId, elapsedTime, className, jobType, externalJobType, externalId]
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json;charset=utf-8
- application/vnd.oracle.resource+json;type=collection
200 Response
OK
Root Schema : RequestQueryResponse
Type:
Show Source
object
-
batch: array
batch
The items returned for multi-selection. This element is not returned for a normal query.
-
count: integer
The number of items returned in this response. This element is not returned when multi-select is used.
-
items: array
items
The resource items returned for a normal query. This element is not returned when multi-select is used.
-
links(required): array
Links
-
pageIndex: integer
The page number requested by the user.
Nested Schema : batch
Type:
array
The items returned for multi-selection. This element is not returned
for a normal query.
Show Source
Nested Schema : items
Type:
array
The resource items returned for a normal query. This element is not
returned when multi-select is used.
Show Source
Nested Schema : RequestBatchItem
Type:
Show Source
object
-
body: object
RequestDetails
-
code: integer
HTTP code
Nested Schema : RequestDetails
Type:
Show Source
object
-
absParentRequestId: integer
(int64)
The submitted request ID. All child requests created on behalf of that request have the same absolute parent.
-
application: string
The application name associated with this request.
-
cause: string
Allowed Values:
[ "NON_TERMINAL", "REQUEST_EXPIRED", "REQUEST_LOGIN_ERROR", "REQUEST_AUTHORIZATION_FAILED", "SYSTEM_ERROR", "VALIDATION_ERROR", "METADATA_NOT_FOUND", "OPERATOR_CANCEL", "RECOVER_CANCEL", "RECOVER_GROUP_CANCEL", "PARENT_NOT_PAUSED", "PROCESS_WARNING", "PROCESS_ERROR", "PROCESS_CANCEL", "PROCESS_SUCCESS", "PROCESS_SYSTEM_ERROR", "PROCESS_BIZ_ERROR", "PROCESS_TIMED_OUT", "PROCESS_UNKNOWN_STATUS", "PROCESS_RECOVER", "PROCESS_MANUAL_RECOVER_ERROR", "PROCESS_MANUAL_RECOVER_ERROR_FINALIZE", "PROCESS_SUSPEND", "PROCESS_KILLED", "POSTPROCESS_SYSTEM_ERROR", "POSTPROCESS_CANCEL", "POSTPROCESS_WARNING", "POSTPROCESS_ERROR", "POSTPROCESS_BIZ_ERROR", "PROCESS_UPDATE_WARNING", "PROCESS_UPDATE_ERROR", "PROCESS_UPDATE_CANCEL", "PROCESS_UPDATE_BIZ_ERROR", "MANUAL_RECOVER_ERROR", "PREPROCESS_SYSTEM_ERROR", "PREPROCESS_CANCEL", "PREPROCESS_INITIATE_CANCEL", "PREPROCESS_ERROR", "PREPROCESS_BIZ_ERROR" ]
The cause that led to the request being in a terminal state. -
causeDescription: string
A localized string describing the general cause of the state of the job request.
-
completedTime: string
The time, in ISO 8601 date time format, that ESS finished all tasks associated with this request. This represents the time that the request process phase was set to ProcessPhase.Complete. This value will always be set once all tasks for the request has finished, even if the request was never executed for some reason. Null is returned if ESS has not yet finished all work for this requests.
-
deployedApplicationName: string
The deployedApplicationName name associated with this request.
-
description: string
The description of this request.
-
dispatcher: string
The mid-tier instance name that dispatched the request.
-
dmsRID: string
-
ecid: string
The ECID of the DMS ExecutionContext associated with the processing of this request.
-
elapsedTime: integer
(int64)
The elapsed milliseconds spent processing request. This will be zero 0 if the request processing not started.
-
enterpriseId: integer
(int64)
-
errorType: string
Allowed Values:
[ "SYSTEM", "BUSINESS", "TIMEOUT", "MIXED_NON_BUSINESS", "MIXED_BUSINESS" ]
The error type of the request. -
errorTypeDescription: string
Localized error type message.
-
errorWarningDetail: string
The details, such as stack trace, of the error or warning, if one occurred while processing this request.
-
errorWarningMessage: string
The message associated with an error or warning that occured while processing this request.
-
errorWarningTime: string
The time, in ISO 8601 date time format, of the error or warning if one occurred while processing this request.
-
executableState: string
-
executionAttempt: integer
The current execution attempt for this request. The first execution attempt is 1.
-
executionMode: string
-
executionType: string
The execution type of the request. The only type supported now is REST.
-
expiration: string
The time, in ISO 8601 date time format, that the request will expire. A request may not expire.
-
flowId: string
-
instanceParentExecAttempt: integer
The value of execution attempt of the instance parent request when this request was created. This value will be zero if this request does not have an instance parent
-
instanceParentId: integer
(int64)
The request id of the instance parent of this request. Any child requests of request tree of the instance parent request have he same instance parent id. For example, any sub-requests or JobSet step requests, and any of their children, will have the same instance parent id. If a request is submitted without a Schedule the submitted request is considered the instance parent. The instance parent id value is the same as the absolute parent id value. If a request is submitted with a Schedule, a new child request is created for each occurance of the Schedule and each child request represents an instance parent request.
-
isAsynchronous: boolean
Indicates if the request is asynchronous. A value of 'true' indicates that this is an asynchronous request.
-
isAsyncRecoverable: boolean
-
isCancellable: boolean
Indicates if the request is cancellable. This is based on the request type and current state of this request. This is only a hint, not a guarantee, as to whether or not this request can be cancelled.
-
isForceCancelAllowed: boolean
Check whether the prerequisites for forcing a request to CANCELLED using forceCancelAsyncRequest are met. The checks do NOT include verification that the job request is no longer executing. That check must be done manually.
-
isHoldable: boolean
Indicates if the request is holdable. This is based on the request type and current state of this request. This is only a hint, not a guarantee, as to whether or not this request can be held.
-
isRecoverable: boolean
-
isTimedOut: boolean
Indicates if the request has timed out.
-
jobDefinitionId: string
The job or job set definition associated with this request.
-
jobDescription: string
the description of the job definition or job set specified for this request
-
jobDisplayName: string
The display name for job definition/ job set of this request.
-
jobType: string
The job type identifier associated with this request.
-
lastScheduleInstanceId: integer
(int64)
The last Schedule instance request id associated with this request. This value is meaningful only for certain request types. For other request types it is meaningless and will be zero (0). For a RequestType.RECUR_PARENT or RequestType.JOBSET_RECUR_PARENT request, this value represents the id of the instance parent request that was most recently created. If the Schedule has ended, or been cancelled, this is the id of the last instance request created for the Schedule. For a RequestType.RECUR_CHILD or RequestType.JOBSET_RECUR_CHILD request, this value represents the id of the request for the previous instance of the Schedule. The value is zero (0) for the first instance request of the Schedule.
-
lastSubRequestSet: integer
The set number assigned to the last subrequest submitted by this request during its current execution attempt. This value will be zero if no subrequests have been submitted by this request. If pausedCount equals lastSubrequestSet, then this request has paused since the last subrequests were submitted. This value represents the set number assigned to those subrequests. If pausedCount is not equal to lastSubrequestSet, then one or more subrequests have been submitted since this request last paused. This value represents the set number assigned to those subrequests that are waiting for this request to pause.
-
links: array
RequestLinks
-
logicalClusterName: string
-
notificationUrl: string
URL for an optional notification callback when the request is complete to be made as the user who submitted the request.
-
parentExecAttempt: integer
The value of execution attempt of the immediate parent request when this request was created. This value will be zero if this request does not have an immediate parent.
-
parentRequestId: integer
(int64)
The request ID of the immediate parent of this request. If the request has no immediate parent, the value returned by this method as not meaningful.
-
pausedCount: integer
The number of times this request has been paused during its current execution attempt. This value is incremented when a request has been paused to allow to allow sub-requests to run. This value will be zero if this request has never been paused.
-
postProcessMessage: string
-
postProcessStatus: string
-
preProcessMessage: string
-
preprocessStatus: string
-
previousState: string
The previous state for this request. It may be empty if the request has never changed state.
-
priority: integer
The request priority. The priorty range is [0..9] with 0 as the lowest priority and 9 as the highest priority.
-
processEndTime: string
Time processing of the request ended in ISO 8601 date time format.
-
processGroup: string
The process group of the request.
-
processor: string
The mid-tier instance name that processed the request.
-
processPhase: string
The process phase for this request.
-
processPhaseDescription: string
Localized description of the process phase.
-
processStartTime: string
Time processing of the request began in ISO 8601 date time format.
-
product: string
The product associated with the request. This corresponds to the value of SYS_product system property.
-
requestCategory: string
The request category property of this request.
-
requestedEndTime: string
This represents the requested end time of the request. The string is in ISO 8601 date time format.
-
requestedStartTime: string
The time at which the request was requested to run. The string is in ISO 8601 date time format.
-
requestId: integer
(int64)
-
requestMode: string
-
requestParameters: array
requestParameters
All request parameters, including system properties, associated with this request.
-
requestType: string
Allowed Values:
[ "SINGLETON", "RECUR_PARENT", "RECUR_CHILD", "JOBSET_SINGLETON", "JOBSET_STEP", "JOBSET_RECUR_PARENT", "JOBSET_RECUR_CHILD", "SUB_REQUEST", "UNKNOWN" ]
The immutable type of the request. -
retriedCount: integer
The number of times this request has been retried.
-
runAsUser: string
The RunAs user for the request.
-
schedule:
ScheduleOut
-
scheduleDefinition: string
Identifies the schedule associated with this request only if the schedule is a separate resource. For a schedule specified inline during request submission (ad-hoc schedule), see 'schedule' field.
-
scheduledTime: string
The scheduled start time of the request. The string is in ISO 8601 date time format.
-
state: string
The state of the request.
-
stateChangeTime: string
The time the request state was last changed in ISO 8601 date time format. It may be empty if the request has never changed state.
-
stateDescription: string
A localized string describing the state of the job request.
-
stepId: string
The JobSet stepID for this request. The request may or may not be a step within a JobSet, which can be indicated by the stepID value.
-
submissionTime: string
Time of request submission in ISO8601 date time format.
-
submitter: string
The name of the user who submitted the request.
-
submitterDmsECID: string
-
submitterDmsRID: string
-
submitterFlowId: string
-
submitterGUID: string
The GUID of the user who submitted the request.
-
subRequestSet: integer
The set number assigned to a subrequest when it was submitted. If a parent submits multiple subrequests before it pauses all those subrequests will have the same set number. This is meaningful only for a subrequest, in which case this value will be greater than zero. The value is zero for a request that is not a subrequest.
Nested Schema : requestParameters
Type:
array
All request parameters, including system properties, associated with this request.
Show Source
-
Array of:
object RequestParameter
A request parameter.
Nested Schema : RequestLink
Type:
Show Source
object
-
href(required): string
-
rel(required): string
Allowed Values:
[ "self", "parentRequest", "cancel", "forceCancel", "hold", "release", "subscribe", "permissions", "executionStatus", "absParentRequest", "instanceParent" ]
Nested Schema : RequestParameter
Type:
object
A request parameter.
Show Source
-
name(required): string
The parameter name.
-
paramType(required): string
Allowed Values:
[ "BOOLEAN", "LONG", "INTEGER", "DATETIME", "STRING" ]
-
scope: string
-
value: string
Nested Schema : ScheduleBase
Type:
Show Source
object
-
exclusions: array
exclusions
-
inclusions: array
inclusions
-
recurrences: array
recurrences
A set of recurrences. The resulting occurrences for the schedule would be the union of occurrences generated by the individual recurrences.
-
timezone: string
Timezone in Olson database format.
Nested Schema : ScheduleOut-allOf[1]
Type:
Show Source
object
-
description: string
-
displayName: string
-
id: string
resource ID
-
name: string
The unique name to be given to this resource. It must not be null. The name is also used as the default display name unless otherwise specifially set.
-
packageName: string
The namespace for this metadata object.
-
permissions: array
permissions
The set of permissions the current user of this API has on this resource.
-
resourceBundles: array
resourceBundles
Java resource bundles associated with this job.
Nested Schema : exclusions
Type:
Show Source
array
-
Array of:
string
Explicit exclusion date in ISO 8601 format.
Nested Schema : inclusions
Type:
Show Source
array
-
Array of:
string
Explicit inclusion date in ISO 8601 format.
Nested Schema : recurrences
Type:
array
A set of recurrences. The resulting occurrences for the schedule would be the union of
occurrences generated by the individual recurrences.
Show Source
Nested Schema : Recurrence
Type:
Show Source
object
-
endDate: string
Sets the end date/time for this Recurrence object. The object only extracts the time up to the seconds. Milliseconds precision is not supported. The value is a string in ISO 8601 format.
-
icalString(required): string
Defines a recurrence pattern for use by a schedule. The string must conform to RFC 5445 RRULE. Restrictions include UNTIL, COUNT, BYSETPOS and WKST are not supported. BY* clauses (Rotors) in the RRULE can have minimun value of -1. i.e. for eg, BYDAY=-2MO(second to last monday) is not supported. BYMONTH and BYWEEKNO can't be present in one RECUR expression. BYDAY, BYMONTHDAY and BYYEARDAY can't be present in one RECUR expression.
-
startDate: string
Sets the start date/time for this Recurrence object. The object only extracts the time up to the seconds. Milliseconds precision is not supported. The value is a string in ISO 8601 format.
Nested Schema : permissions
Type:
array
The set of permissions the current user of this API has on this resource.
Show Source
-
Array of:
string
Allowed Values:
[ "READ", "CREATE", "UPDATE", "DELETE", "EXECUTE" ]
Nested Schema : resourceBundles
Type:
array
Java resource bundles associated with this job.
Show Source
Nested Schema : Link
Type:
Show Source
object
-
href(required): string
-
rel(required): string
Allowed Values:
[ "self", "cancel", "forceCancel", "hold", "release", "subscribe", "permissions", "executionStatus" ]
400 Response
Invalid input
Root Schema : SimpleExceptionDetail
Type:
Show Source
object
-
detail: string
Detailed error message
-
errorCode: string
ESS-specific error code. For example ESS-00500.
-
status: integer
HTTP status code
-
title(required): string
Summary error message
-
type(required): string
URI. It will be beneficial if teams can provide application specific problem types. If not, at least we should link to HTTP error code page.
403 Response
Not allowed for this operation
Root Schema : SimpleExceptionDetail
Type:
Show Source
object
-
detail: string
Detailed error message
-
errorCode: string
ESS-specific error code. For example ESS-00500.
-
status: integer
HTTP status code
-
title(required): string
Summary error message
-
type(required): string
URI. It will be beneficial if teams can provide application specific problem types. If not, at least we should link to HTTP error code page.
404 Response
Not found
Root Schema : SimpleExceptionDetail
Type:
Show Source
object
-
detail: string
Detailed error message
-
errorCode: string
ESS-specific error code. For example ESS-00500.
-
status: integer
HTTP status code
-
title(required): string
Summary error message
-
type(required): string
URI. It will be beneficial if teams can provide application specific problem types. If not, at least we should link to HTTP error code page.
500 Response
A scheduling sub-system error occurred
Root Schema : SimpleExceptionDetail
Type:
Show Source
object
-
detail: string
Detailed error message
-
errorCode: string
ESS-specific error code. For example ESS-00500.
-
status: integer
HTTP status code
-
title(required): string
Summary error message
-
type(required): string
URI. It will be beneficial if teams can provide application specific problem types. If not, at least we should link to HTTP error code page.