Getting job scheduler details through api call.

Hi All, We have a requirement to provide our job scheduler details ( job status, run time etc ) to external team which will be making an api call to our Pega env. while researching I found that there is an api resource “prweb/api/v1/nodes/{identifier}/jobschedulers/{jobId}” which seems to be suitable for this. However I’m unsure what the {identifier} and {jobId} values are supposed to be and where can I get them from for specific jobs. Any insight is appreciated.

image

This is a Pega REST API endpoint for managing job schedulers via HTTP requests.
`{identifier}` (also called nodeID ): Specifies which node(s) to target.
Currently only supports value: `all` (applies to all nodes in the cluster).

`{jobId}`: The exact name of the job scheduler rule you want to control.

Thank you Eswar, looks like this api is usable for “start” and “stop” of the job. I’m trying to get details of a running Job from the api call. Any suggestion is helpful.

The {identifier} represents the node ID of the node where the Job Scheduler is running.