Skip to content

Latest commit

 

History

History
186 lines (103 loc) · 3.78 KB

retrieve-job-run-log-details-e49a4b2.md

File metadata and controls

186 lines (103 loc) · 3.78 KB

Retrieve Job Run Log Details

This API retrieves the details for a specified job run log.

Routes

GET /scheduler/jobs/{jobId}/schedules/{scheduleId}/runs/{runId}

Request Parameters

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

Example

GET /scheduler/jobs/2/schedules/5f58c2fb-a428-4f4b-9e1d-312e3be8952c/runs/5646889BB133728EE10000000A61A0D8 

Responses

Status Code: 200

The call was successful and returns details of the job run log.

Example

{
        "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
}

Status Code: 404

Passing invalid Job ID.

Related Information

Create Job

Configure Job (Using ID)

Configure Job (Using Name)

Delete Job

Retrieve Job Details

Retrieve All Jobs

Retrieve Job Run Logs

Update Job Run Log

Create Job Schedule

Configure Job Schedule

Delete Job Schedule

Activate or Deactivate All Job Schedules

Delete All Job Schedules

Retrieve Job Schedule Details

Retrieve Job Schedules