ServiceJobRuns

serviceJobRuns

list ServiceJobRun

get
Authorizations
Path parameters
jobNamestringRequired
Query parameters
pageIndexnumber · int32Optional

Page number to return, starting with zero

pageSizenumber · int32Optional

Number of records per page (default 100)

orderByFieldstringOptional

Field name to order by (or comma separated names)

pageNoLimitstringOptional

If true don't limit page size (no pagination)

dependentLevelsnumber · int32Optional

Levels of dependent child records to include

jobRunIdstringOptional
userIdstringOptional

The user that initiated the job run

parametersstringOptional
resultsstringOptional
messagesstringOptional
hasErrorstringOptional
errorsstringOptional
hostAddressstringOptional
hostNamestringOptional
runThreadstringOptional
startTimestring · date-timeOptional
endTimestring · date-timeOptional
lastUpdatedStampstring · date-timeOptional
Responses
200
Success
application/json
get
GET /rest/s1/order-routing/serviceJobRuns/{jobName} HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
[
  {
    "_entity": "moqui.service.job.ServiceJobRun",
    "jobRunId": "text",
    "jobName": "text",
    "userId": "text",
    "parameters": "text",
    "results": "text",
    "messages": "text",
    "hasError": "text",
    "errors": "text",
    "hostAddress": "text",
    "hostName": "text",
    "runThread": "text",
    "startTime": "2025-07-11T18:57:25.912Z",
    "endTime": "2025-07-11T18:57:25.912Z",
    "lastUpdatedStamp": "2025-07-11T18:57:25.912Z"
  }
]

one ServiceJobRun

get
Authorizations
Path parameters
jobNamestringRequired
jobRunIdstringRequired
Responses
200
Success
application/json
get
GET /rest/s1/order-routing/serviceJobRuns/{jobName}/{jobRunId} HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
{
  "_entity": "moqui.service.job.ServiceJobRun",
  "jobRunId": "text",
  "jobName": "text",
  "userId": "text",
  "parameters": "text",
  "results": "text",
  "messages": "text",
  "hasError": "text",
  "errors": "text",
  "hostAddress": "text",
  "hostName": "text",
  "runThread": "text",
  "startTime": "2025-07-11T18:57:25.912Z",
  "endTime": "2025-07-11T18:57:25.912Z",
  "lastUpdatedStamp": "2025-07-11T18:57:25.912Z"
}

one ServiceJobRunLock

get

Runtime data for a scheduled ServiceJob (with a cronExpression), managed automatically by the service job runner.

Authorizations
Path parameters
jobNamestringRequired
Responses
200
Success
application/json
get
GET /rest/s1/order-routing/serviceJobRuns/{jobName}/activeJobRun HTTP/1.1
Host: dev-maarg.hotwax.io
Authorization: Basic username:password
Accept: */*
{
  "_entity": "moqui.service.job.ServiceJobRunLock",
  "jobName": "text",
  "jobRunId": "text",
  "lastRunTime": "2025-07-11T18:57:25.912Z",
  "lastUpdatedStamp": "2025-07-11T18:57:25.912Z"
}

Was this helpful?