This API retrieves the details for a specified job run log.
GET /scheduler/jobs/{jobId}/schedules/{scheduleId}/runs/{runId}
Path
Parameter |
Required |
Data Type |
Description |
---|---|---|---|
jobId |
Yes |
Integer |
ID of the job to which scheduleId belongs |
scheduleId |
Yes |
string |
ID of the schedule to which runId belongs |
runId |
Yes |
string |
ID of the run whose logs are to be retrived |
GET /scheduler/jobs/2/schedules/5f58c2fb-a428-4f4b-9e1d-312e3be8952c/runs/5646889BB133728EE10000000A61A0D8
The call was successful and returns details of the job run log.
{
"runId": "56468DB7B133728EE10000000A61A0D8",
"runText": "Sales order processed",
"httpStatus": 200,
"executionTimestamp": "2015-11-14T04:19:22", //indicates when actually the scheduler invoked action endpoint
"runStatus": "COMPLETED",
"runState": "SUCCESS",
"scheduleTimestamp": "2015-11-14T04:17:22", //indicates when the schedule was picked up for calculation of next-run
"completionTimestamp": "2015-11-14T04:19:22" //indicates when the scheduler received response from the action endpoint
}
Passing invalid Job ID.
Related Information