ServiceJobRuns
Deprecated (since maarg 4.4.0): Use admin/serviceJobs
Page number to return, starting with zero
Number of records per page (default 100)
Field name to order by (or comma separated names)
If true don't limit page size (no pagination)
Levels of dependent child records to include
The user that initiated the job run
Success
Authentication required
Access Forbidden (no authz)
Value Not Found
Too Many Requests (tarpit)
General Error
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-08-29T18:58:22.525Z",
"endTime": "2025-08-29T18:58:22.525Z",
"lastUpdatedStamp": "2025-08-29T18:58:22.525Z"
}
]
Success
Authentication required
Access Forbidden (no authz)
Value Not Found
Too Many Requests (tarpit)
General Error
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-08-29T18:58:22.525Z",
"endTime": "2025-08-29T18:58:22.525Z",
"lastUpdatedStamp": "2025-08-29T18:58:22.525Z"
}
Runtime data for a scheduled ServiceJob (with a cronExpression), managed automatically by the service job runner.
Success
Authentication required
Access Forbidden (no authz)
Value Not Found
Too Many Requests (tarpit)
General Error
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-08-29T18:58:22.525Z",
"lastUpdatedStamp": "2025-08-29T18:58:22.525Z"
}
Was this helpful?