Summary
Get a Job
Description
Get a Job.
Route
GET /operations-manager/jobs/:id
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
id | string | yes | The id of the Job to get. |
queryParameters | object | yes | Optional parameters for projecting fields in the Job document. |
{ "queryParameters": { "include": "description", "exclude": "_id", "dereference": "tasks" } }
{ "type": "object", "properties": { "queryParameters": { "title": "queryParameters", "type": "object", "properties": { "include": { "type": "string", "description": "Inclusive projection operator formatted as a comma-delineated list. '_id' will be included implicitly unless excluded with 'exclude=_id'. May only be used in conjunction with 'exclude' when 'exclude=_id'.", "examples": [ "name", "description", "name,description" ] }, "exclude": { "type": "string", "description": "Exclusive projection operator formatted as a comma-delineated list. May only be used in conjunction with 'include' when 'exclude=_id'.", "examples": [ "_id", "description", "_id,description" ] }, "dereference": { "type": "string", "description": "Designates foreign key fields to dereference in the API output.", "examples": [ "tasks", "accounts.createdBy" ] } } } }, "required": [ "queryParameters" ], "additionalProperties": false }
Return
Name | Type | Description |
---|---|---|
job | object | The requested Job. |
{ "message": "Successfully retrieved search results", "data": { "_id": "94a0235c66321155acd7cc4d", "font_size": -34437086, "type": "automation", "created": "1982-12-28T10:20:21.776Z", "last_updated": "1979-10-17T14:18:41.168Z", "createdVersion": "3811.341.16947-6833.053323.314", "lastUpdatedVersion": "49012751.6095057078.46", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": -51487939, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 71318614.53950787, "sla": -17119407.99129072, "decorators": [ { "type": "encryption", "pointer": "/~0/~0/iekklQkSCKW/s6x/~1" }, { "type": "encryption", "pointer": "/UAexO+b.K/~0/UN2ygO/vdY,5aA.U/PS+//HJA6FYtqo/~0" }, { "type": "encryption", "pointer": "/PETUIv/zlG0bQZR/b1Z+f/f8J/~0" }, { "type": "encryption", "pointer": "/~0" } ], "status": "incomplete", "tags": [], "error": [ { "task": "job", "message": "Job has no available transitions. c841 could have led to the workflow end task, but did not. These tasks performed in a way that the end of the workflow could not be reached.", "timestamp": 1627323002574 }, { "task": "job", "message": "Job has no available transitions. c841 could have led to the workflow end task, but did not. These tasks performed in a way that the end of the workflow could not be reached.", "timestamp": 1627323002574 }, { "task": "job", "message": "Job has no available transitions. c841 could have led to the workflow end task, but did not. These tasks performed in a way that the end of the workflow could not be reached.", "timestamp": 1627323002574 } ], "warnings": [ { "task": "error_handler", "name": "myCoolDocumentName", "message": "in sit cupidatat" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "magna" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "eu laborum enim" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "culpa Ut dolore cupidatat" }, { "task": "e28f", "name": "myCoolDocumentName" } ], "ancestors": [ "280db6e9ef24904845aa5ab3", "6941c9b6120ac8df133821fb", "ce604f4a572e98cf9c79724d" ], "validationErrors": [ { "keyword": "enim in", "dataPath": "ad ipsum", "schemaPath": "non in laboris", "message": "non id consectetur reprehenderit" }, { "keyword": "ut occaecat exercitation dolor", "dataPath": "in", "schemaPath": "Lorem sint", "message": "proident in eiusmod in deserunt" } ], "created_by": "Pronghorn", "last_updated_by": null, "tasks": { "workflow_start": { "x": -51603681.709003665, "y": -73176459.09960881, "gridCoordinate": { "x": 5451618.567949444, "y": 72012981.80189162 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -75760100.3458726, "finish_state": "success", "user": "Pronghorn" }, "groups": [ { "_id": "3cc523f31d0a95e4f5da72ab", "provenance": "sed", "name": "Lorem exercitation officia ex", "description": "consequat in elit deserunt nisi", "memberOf": [ { "groupId": "e6c51ab2e738499b03be7df6", "aaaManaged": true }, { "groupId": "761ef8fd47b78c71a7ffc762", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "adipisicing culpa sunt minim" }, { "roleId": "sed sint est" } ], "inactive": false, "_meta": { "created": "1945-10-21T00:35:41.394Z", "updated": "1970-12-10T16:59:29.348Z", "migrationVersion": -99532525 } }, "3d7ac3827a818bdab50c79c0", { "_id": "42703fe579331066beb34680", "provenance": "occaecat amet sunt non magna", "name": "sed Ut sit", "description": "enim qui exercitation Lorem", "memberOf": [ { "groupId": "e79e77244b4e8477e6289a6a", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut velit eiusmod elit in" } ], "inactive": true, "_meta": { "created": "1998-11-23T09:29:55.599Z", "updated": "1960-11-25T08:41:51.326Z", "migrationVersion": 58763795 } }, "default" ], "iterations": [ "CB7cbE0E-f5dD-5a2D-0847-dF3faea8f0E8" ] }, "workflow_end": { "x": -93407340.49346069, "y": -62634517.40114991, "gridCoordinate": { "x": 43944484.12354615, "y": 99907946.47765604 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start" ], "complete": [ "workflow_end", "workflow_start", "workflow_end", "error_handler" ], "error": [ "workflow_start" ] }, "metrics": { "end_time": -56761532.998116285, "run_time": 27553515.40046695 }, "groups": [ "default", "default", { "_id": "63e8e1dc7f3f51fde1d6a21e", "provenance": "Excepteur nostrud", "name": "aliqua Ut", "description": "pariatur laborum", "memberOf": [ { "groupId": "8b52717c0f82753e24e4db9c", "aaaManaged": true }, { "groupId": "0f1ca2c573d458507d3528fb", "aaaManaged": false }, { "groupId": "f85da40b13bbd839209eb72c", "aaaManaged": false }, { "groupId": "f3e9535b3c5f0650b78735e0", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in tempor" }, { "roleId": "officia sit" }, { "roleId": "Duis" }, { "roleId": "aliquip et ex in" }, { "roleId": "dolore culpa qui irure ut" } ], "inactive": false, "_meta": { "created": "2001-08-30T04:28:45.815Z", "updated": "1987-09-27T08:25:19.102Z", "migrationVersion": 79092848 } } ], "iterations": [ "4431F4C5-FE2b-9e8b-2Dfd-B8acAa6d9342", "8eFDC012-892F-e6ab-2feA-cCBA02B7Daa4", "0cB370De-E996-0bBf-CB97-f60a72b821ac" ] }, "error_handler": { "x": -66594325.70089332, "y": 28863058.25901538, "gridCoordinate": { "x": 70479267.09884518, "y": 53869907.260570705 }, "name": "childJob", "location": "Application", "locationType": null, "app": "laboris", "canvasName": "qui officia", "displayName": "aliquip", "summary": "incididunt sed sint elit", "description": "do eu mollit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/eeU/UBz/W2/iTo5/~0/s+cod/zaTtK/~1/Gm-vR" }, { "type": "encryption", "pointer": "/~1/K8U9Qc/~0/X01HS5/wAXi/~0/~0/QNxKK2f/T7y8kRH" }, { "type": "encryption", "pointer": "/nnoHzFHdml/GP/p7B/MF6Ece/~1/~0/~0/WH07pS/~1/~0" }, { "type": "encryption", "pointer": "/IoTRV/~0/XgIT/~0/NyC.7z/O0R/Bna" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "irure culpa officia", "highlightString": "incididunt" }, { "key": "in", "highlightString": "velit ex Lorem sit qui" }, { "key": "quis nisi aliquip", "highlightString": "enim" }, { "key": "consequat fugiat enim", "highlightString": "mollit et enim aliquip sed" }, { "key": "non", "highlightString": "ipsum sit ullamco in" } ], "status": "paused", "previous": { "incomplete": [ "workflow_start" ], "complete": [ "e28f", "workflow_start", "3a1f", "3a1f", "e28f" ], "error": [ "workflow_start", "workflow_end", "workflow_end", "e28f", "workflow_start" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_end", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "aliquip aute laborum ut in", "start_time": "1995-05-15T05:40:10.128Z", "end_time": 75079376.04758266, "finish_state": "success", "retrySettings": { "state": [ "success", "error" ], "autoRetry": true, "limit": 56113503, "delay": 42752263, "count": 90696526, "finishedRetrying": true }, "type": "operation", "actor": "Pronghorn", "groups": [ { "_id": "89a6a2de885be07a0d57c00f", "provenance": "minim", "name": "eiusmod ea", "description": "mollit proident incididunt laboris fugiat", "memberOf": [ { "groupId": "2286845c8580186fbd48f002", "aaaManaged": true }, { "groupId": "49e927b000820aaa15a3f203", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "eiusmod magna deserunt dolore ut" }, { "roleId": "est dolore consequat" }, { "roleId": "consequat exercitation non sunt aliquip" }, { "roleId": "ut ad incididunt" }, { "roleId": "aute" } ], "inactive": false, "_meta": { "created": "1955-10-11T21:09:01.452Z", "updated": "2005-09-27T08:55:51.991Z", "migrationVersion": -7964614 } }, "5c989ebb33d723578a3fb184", "default" ], "iterations": [] }, "9ea": { "actor": null, "groups": [ { "_id": "2f9ab1d446741dad188e5531", "provenance": "dolor", "name": "consequat dolore", "description": "nostrud in", "memberOf": [ { "groupId": "461f1256f0c9098b91e4fef0", "aaaManaged": false }, { "groupId": "c44f573e042490dc6d30e7f6", "aaaManaged": false }, { "groupId": "9d10eb573cabac71690a4e65", "aaaManaged": true }, { "groupId": "32cd1511c85316159d5f927d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "cillum aute Ut" }, { "roleId": "consequat id voluptate" } ], "inactive": false, "_meta": { "created": "1986-07-27T09:00:36.311Z", "updated": "2021-12-21T18:38:31.093Z", "migrationVersion": 90933339 } }, "default" ], "iterations": [ "dEd8e505-Bba8-38Fe-Ebef-3d8DE3A1B25A", "d92bF4B0-a5ac-Dce8-4aD3-D8a0EfAe40ea", "8c4A09AF-424c-F3E7-e0c3-6a2725AADCc3" ], "x": 77529794.46444693, "y": 68561025.88260698, "gridCoordinate": { "x": -78642502.8641534, "y": 36051868.80892196 }, "name": "ea tempor sunt exercitation sit", "location": "Adapter", "locationType": "deserunt magna nostrud non", "app": "magna anim", "canvasName": "childJob", "displayName": "ad voluptate sit officia eiusmod", "summary": "fugiat adipisicing", "description": "amet", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/gdY30/~0" }, { "type": "encryption", "pointer": "/~1/~0/~0/GzIZtcrR/~0/Nh/Q/gz/~1/pJ0E3R5NA" }, { "type": "encryption", "pointer": "/~1/dOkf6G/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "mollit eiusmod reprehenderit voluptate", "highlightString": "labore occaecat ut in tempor" } ], "status": "incomplete", "previous": { "incomplete": [ "e28f", "workflow_end", "error_handler", "workflow_start" ], "complete": [ "error_handler", "workflow_end", "workflow_end" ], "error": [ "error_handler", "e28f", "workflow_start", "workflow_end" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "loop" }, { "task": "e28f", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "revert" } ] }, "serverId": "esse", "start_time": "1970-06-05T13:06:38.744Z", "end_time": -24367417.92598243, "finish_state": "error", "retrySettings": { "state": [ "error", "success", "failure", "error" ], "autoRetry": false, "limit": 10945322, "delay": 76684427, "count": 35779377, "finishedRetrying": true }, "loop": { "atLeastOneComplete": false, "finishedCount": 13760043.356015712, "outgoing": [ null ] }, "childJobs": [ { "_id": "consequat reprehenderit officia mollit adipisicing", "name": "officia do nulla", "iteration": -7914692.708384812 }, { "_id": "irure cupidatat aliquip veniam nisi", "name": "labore consequat", "iteration": 35950915.178492874 }, { "_id": "adipisicing laboris amet", "name": "irure", "iteration": 43836939.349415034 }, { "_id": "in", "name": "esse sint minim do veniam", "iteration": -17255323.906866953 }, { "_id": "occaecat", "name": "Lorem pariatur dolore anim dolore", "iteration": -6958956.141106129 } ] } }, "parent": { "job": "veniam Duis culpa pariatur laborum", "task": "sint", "iteration": 52728822.50157589, "element": 8091409.08033146 }, "errorHandler": null, "groups": [ "default" ], "watchers": [ null ], "metrics": { "start_time": -83277909.88559207, "progress": 0.3371304426729682, "end_time": 28266796.79880178, "user": { "_id": "16d21c57ce6dc5e6e9b49fd7", "provenance": "nulla incididunt", "username": "anim dolor in", "firstname": "eu", "memberOf": [ { "groupId": "0c73c0cbeef2e5f75f901412", "aaaManaged": true }, { "groupId": "5ffbf4da3d645048b26510f7", "aaaManaged": true }, { "groupId": "f78b48c06975b121bbda69ce", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "quis" } ], "inactive": true, "lastLogin": "1994-02-20T22:33:20.922Z", "_meta": { "created": "1977-02-21T07:51:31.233Z", "updated": "1951-01-05T12:28:17.047Z", "migrationVersion": 69934882 }, "email": "ea nostrud Lorem consequat qui" }, "owner": "Pronghorn" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }