List Jobs Service (Release 9.2.3.4)
This service lists the status of one or more notifications and orchestrations that are scheduled to run.
The End Point for this example is:
<URL>/jderest/v2/scheduler/listJobs
In this example, <URL> is the AIS Server where the scheduler runs.
Service Body
{ "username": "{{username}}", "password": "{{password}}", "environment": "{{environment}}", "role": "{{role}}", "schedulerServices": [ { "serviceEndpoint" : "{{JOBA}}" }, { "serviceEndpoint" : "{{JOBB}}" } ] }
Return Body
{ "scheduledInSchedulerCount": 2, "notScheduledInSchedulerCount": 0, "scheduledInScheduler": [ { "jobname": "NTF_1903210002JDE.USER.JDV920.*ALL", "jobgroup": "NTF_1903210002JDE", "jobVersion": "V2", "jobStartTimeUserLocale": "06/17/2019 11:20:41 AM", "jobStartTimeUTC": "2019-06-17T17:20:41.124Z", "jobNextFireTimeUserLocale": "06/17/2019 11:20:41 AM", "jobNextFireTimeUTC": "2019-06-17T17:20:41.124Z", "jobNextFireTime": "2019-06-17 11:20:41 124", "jobLastExecutionTimeMillis": 0, "jobTotalExecutions": 0, "jobTotalCompletions": 0, "jobTotalErrors": 0, "jobConsecutiveErrors": 0, "jobPercentageErrors": 0, "udoServiceType": "NOTIFICATION", "jobEndpointRequested": "NTF_1903210002JDE", "omwServiceDescription": "\"A\" Search Type LI AB LI WL 1 and 2", "jobServicePath": [ "jderest", "v2", "notification" ], "serviceShortEndpoint": "NTF_1903210002JDE", "serviceLongEndpoint": "Search Type LI AB LI WL 1 and 2", "jobLastExecutionBaseUrl": "http://127.0.0.1:7101", "jobBaseUrl": "http://127.0.0.1:7101", "omwScheduleDescription": "LISTS JOBS", "scheduleCronString": "0 0/1 * 1/1 * ? *", "scheduleIntervalMinutes": -1, "userName": "USER", "environment": "JDV920", "role": "*ALL" }, { "jobname": "NTF_1903210003JDE.USER.JDV920.*ALL", "jobgroup": "NTF_1903210003JDE", "jobVersion": "V2", "jobStartTimeUserLocale": "06/17/2019 11:20:41 AM", "jobStartTimeUTC": "2019-06-17T17:20:41.214Z", "jobNextFireTimeUserLocale": "06/17/2019 11:20:41 AM", "jobNextFireTimeUTC": "2019-06-17T17:20:41.214Z", "jobNextFireTime": "2019-06-17 11:20:41 214", "jobLastExecutionTimeMillis": 0, "jobTotalExecutions": 0, "jobTotalCompletions": 0, "jobTotalErrors": 0, "jobConsecutiveErrors": 0, "jobPercentageErrors": 0, "udoServiceType": "NOTIFICATION", "jobEndpointRequested": "NTF_1903210003JDE", "omwServiceDescription": "\"B\" Search Type LI AB LI WL 2 and 3", "jobServicePath": [ "jderest", "v2", "notification" ], "serviceShortEndpoint": "NTF_1903210003JDE", "serviceLongEndpoint": "Search Type LI AB LI WL 2 and 3", "jobLastExecutionBaseUrl": "http://127.0.0.1:7101", "jobBaseUrl": "http://127.0.0.1:7101", "omwScheduleDescription": "LISTS JOBS", "scheduleCronString": "0 0/1 * 1/1 * ? *", "scheduleIntervalMinutes": -1, "userName": "USER", "environment": "JDV920", "role": "*ALL" } ], "notScheduledInScheduler": [], "scheduler": { "isResilient": false, "isStarted": false, "schedulerInstanceJobsExecuted": 0 } }