Get details of all jobs
post
/services/rest/v1/jobs
Gets details of all the scheduled jobs.
Request
Supported Media Types
- application/json
Job Filter Properties
Root Schema : JobFilterProperties
Type:
Show Source
object
-
endTime:
string
Job End Time.
-
endTimeOperator:
string
Operator ('equals or earlier than', 'equals' or 'earlier than??)
-
jobId:
integer
Job ID.
-
jobName:
string
Job name.
-
jobNameOperator:
string
Operator (contains or equals)
-
owner:
string
Report job owner.
-
ownerOperator:
string
Operator (contains or equals)
-
reportName:
string
Report name.
-
reportNameOperator:
string
Operator (contains or equals)
-
scope:
string
scope ('all', 'private' or 'public') .
-
startTime:
string
Job start time.
-
startTimeOperator:
string
Operator ('equals or later than', 'equals' or 'later than??)
-
status:
string
Status in 'All', 'Active' or 'Suspended'.
Response
Supported Media Types
- application/json
200 Response
Returns the details of all scheduled jobs in JSON format.
Root Schema : schema
Examples
The following example shows how to get the list of scheduled jobs owned by a user by submitting a POST request on the REST resource using cURL.This command gets the list of all the scheduled jobs with the job owner name exactly matching or containing the owner name specified in the command.
curl -i \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--request POST -d
'https://hostname/xmlpserver/services/rest/v1/jobs?beginIdx=1'