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": "name,description", "exclude": "_id,description", "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 created the requested item", "data": { "_id": "e744e33a1a5cdc07651d18a9", "font_size": -52950390, "type": "automation", "created": "1964-12-31T04:09:44.538Z", "last_updated": "2019-08-01T08:27:57.204Z", "createdVersion": "1956298736.12761.257406-2105.2.88", "lastUpdatedVersion": "31.6749.534244", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": -31721399, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -47917347.978790656, "sla": -70444602.38816628, "decorators": [ { "type": "encryption", "pointer": "/~1/Rx3rfV" }, { "type": "encryption", "pointer": "/~1/~0/~0/MEgsa-VS/~0/~0/lDE/MQa9/~0/~0/eOThq9U" }, { "type": "encryption", "pointer": "/Uzu6wQZOaC/~1/d,h/~1/UD/~1/WqYa3/YG/LzTiGyeot1C" }, { "type": "encryption", "pointer": "/~0/~0/~1/~0/WsekA/~0/ukY6M7Xrep1/P92W/~0/fw" }, { "type": "encryption", "pointer": "/zZp5bon/~0/f-0XRmX3e/~1" } ], "status": "complete", "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": "f9a9", "message": { "code": 500, "message": { "apiVersion": "1", "method": "transformations.run", "error": { "code": 500, "message": "Missing one of the following required instances: arg2, arg1", "errors": [] } } }, "timestamp": 1627323002561 }, { "task": "f9a9", "message": { "code": 500, "message": { "apiVersion": "1", "method": "transformations.run", "error": { "code": 500, "message": "Missing one of the following required instances: arg2, arg1", "errors": [] } } }, "timestamp": 1627323002561 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName", "message": "sint consequat" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "officia consequat cupidatat" }, { "task": "workflow_start", "name": "myCoolDocumentName" } ], "ancestors": [ "51e8ff5fe06b97611c455ef2", "902c4c10c65c74ff6012839c", "7fa24fa0af00e0ded5a89f0a" ], "validationErrors": [ { "keyword": "exercitation Excepteur mollit", "instancePath": "sint dolore adipisicing fugiat ut", "schemaPath": "anim aute quis ipsum", "message": "ut" } ], "created_by": "Pronghorn", "last_updated_by": null, "tasks": { "0": { "actor": "job", "groups": [ "default", "13cb34525636dee4c11c0353" ], "iterations": [ "5EE8B6AE-0b3e-4Ad0-1D8D-72AD6FCF1fc0" ], "x": -15115854.063541427, "y": 13955625.850978851, "gridCoordinate": { "x": 29197230.464688137, "y": -28991175.70888476 }, "name": "nisi", "location": "Broker", "locationType": null, "app": "et", "canvasName": "childJob", "displayName": "ut dolore irure Excepteur", "summary": "proident dolor", "description": "veniam qui", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/dZr/~0/M3b-YscX" }, { "type": "encryption", "pointer": "/~1/~0/~0" }, { "type": "encryption", "pointer": "/~0/~0" }, { "type": "encryption", "pointer": "/~0/~1/ah4ER6/~1" }, { "type": "encryption", "pointer": "/vPRGlRn4lj/~0/qc/mqWL/EfT-RfR/b,1Ome/~0/p/zGYL9+SOd/~1" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "anim esse", "highlightString": "esse cupidatat officia" }, { "key": "velit est laborum", "highlightString": "sint ullamco cupidatat proident" }, { "key": "dolore minim Lorem ipsum", "highlightString": "fugiat" } ], "status": "running", "previous": { "incomplete": [ "workflow_end", "workflow_end", "error_handler", "workflow_start" ], "complete": [ "e28f", "error_handler", "workflow_start" ], "error": [ "e28f", "e28f", "workflow_start", "workflow_start" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "revert" } ] }, "serverId": "commodo est", "start_time": "2003-11-27T08:03:30.313Z", "end_time": -13004088.458869979, "finish_state": "failure", "retrySettings": null, "loop": { "atLeastOneComplete": false, "finishedCount": 37318056.86382738, "outgoing": [ "esse", "do", "non ut Duis veniam proident", "ipsum ad sunt", "amet laboris in" ] }, "childJobs": [ { "_id": "laborum", "name": "Lorem", "iteration": 66416871.94002831 }, { "_id": "exercitation commodo", "name": "cillum esse ipsum ea Lorem", "iteration": 15740320.88059783 }, { "_id": "cupidatat adipisicing ut fugiat", "name": "est esse", "iteration": 90968559.53857052 }, { "_id": "adipisicing ut", "name": "Excepteur", "iteration": 96024080.68676072 }, { "_id": "consequat incididunt tempor voluptate eu", "name": "commodo", "iteration": 36949159.285766244 } ] }, "workflow_start": { "x": -2623682.9266250283, "y": -42515970.44205932, "gridCoordinate": { "x": -15690888.536890939, "y": 49795883.42011678 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 52146747.746962726, "finish_state": "success", "user": null }, "groups": [ { "_id": "b8a77911ef5ca65f3921ea68", "provenance": "dolore consectetur exercitation", "name": "dolore", "description": "adipisicing dolore", "memberOf": [ { "groupId": "9968821c68d01bb973d0aece", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Duis quis enim magna" }, { "roleId": "dolore Excepteur fugiat in" }, { "roleId": "in" }, { "roleId": "consequat" }, { "roleId": "reprehenderit" } ], "inactive": false, "_meta": { "created": "1962-12-23T12:21:43.187Z", "updated": "1983-11-21T12:23:10.776Z", "migrationVersion": -42527210 } }, "default", "default" ], "iterations": [ "3BEcbef6-E542-0B7D-19D9-ad252fcB22Ef", "c2e56FEd-3E6A-fEEB-EFEb-D4f6131E58D3" ] }, "workflow_end": { "x": 41814402.874040276, "y": -91303780.0521888, "gridCoordinate": { "x": -79124017.2458164, "y": 80496441.38653117 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "e28f", "workflow_end", "workflow_end", "workflow_end" ], "complete": [ "workflow_end", "e28f", "e28f", "error_handler", "workflow_start" ], "error": [ "workflow_end", "workflow_start", "error_handler", "workflow_end", "error_handler" ] }, "metrics": { "end_time": 26913904.20178324, "run_time": -16828158.24555944 }, "groups": [ { "_id": "7ca73c96017bf91709e6e310", "provenance": "dolor", "name": "nostrud eu", "description": "nostrud labore", "memberOf": [ { "groupId": "effc683651e21fab77539017", "aaaManaged": false }, { "groupId": "2ce270b079a301b3646d2dd1", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "est esse" }, { "roleId": "anim" }, { "roleId": "adipisicing ullamco" }, { "roleId": "exercitation cillum reprehenderit occaecat consequat" }, { "roleId": "aliquip" } ], "inactive": true, "_meta": { "created": "1964-09-13T00:24:39.2Z", "updated": "1982-04-19T15:02:43.98Z", "migrationVersion": -85386764 } } ], "iterations": [ "51aa9BA4-91AB-dAfc-D6ad-B65E2AbE479c" ] }, "error_handler": { "x": -50158850.89096735, "y": -42260268.91545569, "gridCoordinate": { "x": 28616563.9422618, "y": -22838485.19613883 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "mollit ut", "canvasName": "ut nostrud in veniam Duis", "displayName": "amet aute elit Duis consectetur", "summary": "ad eiusmod voluptate adipisicing sed", "description": "laborum", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/i3.Cwq0tsG2" }, { "type": "encryption", "pointer": "/~0/~0/~0/Vx5N7/~1/nyfHgsMml/~0/~1/~1/~1/GBYD" }, { "type": "encryption", "pointer": "/H+Pw1d2CS8/YLYJns/~0/RFd2X-q0YSG/~0/~0/~1" }, { "type": "encryption", "pointer": "/fOx5EJ-z/aCeU/C3" }, { "type": "encryption", "pointer": "/~0/qV,//ad/LT/~1/~0/~0/wx/R" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "ut nisi reprehenderit sint proident", "highlightString": "incididunt labore in deserunt qui" }, { "key": "ipsum fugiat nisi Ut", "highlightString": "nulla" }, { "key": "sed minim ea enim do", "highlightString": "dolor reprehenderit commodo" }, { "key": "qui dolore in in", "highlightString": "exercitation" }, { "key": "officia", "highlightString": "eu irure ea nulla minim" } ], "status": "paused", "previous": { "incomplete": [ "workflow_start", "e28f", "workflow_end", "3a1f" ], "complete": [ "error_handler", "workflow_end" ], "error": [ "workflow_start", "workflow_start", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "revert" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_end", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "revert" }, { "task": "error_handler", "type": "revert" } ] }, "serverId": "aliqua nisi velit", "start_time": "1971-12-28T20:41:13.786Z", "end_time": -20289504.21222633, "finish_state": "error", "retrySettings": { "state": [ "failure", "success", "success", "success", "error" ], "autoRetry": true, "limit": 32095644, "delay": 46591518, "count": 74667271, "finishedRetrying": true }, "type": "operation", "actor": "Pronghorn", "groups": [ "default", "e7921c77b283c2cea1467ce5" ], "iterations": [] } }, "parent": { "job": "dolor velit dolor ex", "task": "sed nisi cillum dolore", "iteration": -64597996.76158649, "element": 21418193.812281266 }, "errorHandler": { "actor": "job", "groups": [ "default", "default" ], "iterations": [ "16CAbC49-1a7C-ca10-d35F-232A1Fbbd60A", "8C7B6aB7-2472-FDb9-9c57-A3Ea06fea1Bb", "71C6Cae1-156d-EF7b-D1F9-7c60E5DC4bEe", "fe2Eec2C-32d8-44B6-73EE-cccadffDfb28" ], "x": 46698462.25951958, "y": 59716785.69471237, "gridCoordinate": { "x": 18916461.812081084, "y": -83435354.35675022 }, "name": "tempor amet sit laborum ex", "location": "Broker", "locationType": null, "app": "laboris qui non enim Excepteur", "canvasName": "childJob", "displayName": "reprehenderit incididunt est laboris magna", "summary": "elit exercitation Lorem", "description": "dolore Duis", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/He,A7j" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "dolor nisi", "highlightString": "aliquip" }, { "key": "consequat ad eiusmod reprehenderit ipsum", "highlightString": "laborum ullamco" }, { "key": "sint", "highlightString": "in" }, { "key": "dolore dolor ad tempor", "highlightString": "commodo" } ], "status": "canceled", "previous": { "incomplete": [ "workflow_end", "3a1f" ], "complete": [ "workflow_start", "error_handler", "workflow_start", "workflow_start", "e28f" ], "error": [ "workflow_start", "error_handler", "workflow_end" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "3a1f", "type": "standard" }, { "task": "workflow_end", "type": "loop" } ], "error": [ { "task": "error_handler", "type": "loop" } ] }, "serverId": "non amet mollit magna consequat", "start_time": "1977-09-03T14:08:28.075Z", "end_time": 13949296.305973262, "finish_state": "error", "retrySettings": { "state": [ "failure", "success", "error" ], "autoRetry": false, "limit": 49756195, "delay": 12289115, "count": 489328, "finishedRetrying": false }, "loop": { "atLeastOneComplete": false, "finishedCount": -21645020.32892482, "outgoing": [ null, "dolore", "dolore sint", "voluptate tempor ut" ] }, "childJobs": [ { "_id": "amet exercitation", "name": "consequat eu nulla Excepteur est", "iteration": -15317440.060358837 }, { "_id": "nostrud minim occaecat do in", "name": "culpa nostrud incididunt sint ut", "iteration": -97674458.39821135 } ] }, "groups": [ { "_id": "3a023e015df1918e2f52172a", "provenance": "voluptate enim nisi nulla", "name": "enim dolor id incididunt", "description": "eu minim", "memberOf": [ { "groupId": "014d1b04dcbee0990cc68635", "aaaManaged": true }, { "groupId": "82defbf974e6a0585dbf9df0", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "incididunt exercitation tempor" }, { "roleId": "fugiat laboris quis Lorem" }, { "roleId": "irure ex ut consectetur in" }, { "roleId": "sit sed" } ], "inactive": false, "_meta": { "created": "1991-01-04T18:28:29.357Z", "updated": "1952-01-04T00:55:44.815Z", "migrationVersion": 95496764 } }, "1917ec09e35c9b061aa9c538", "default", "5389b60994f66f13aa17419d" ], "watchers": [ "7096f619da451a5c9cf6e4c7", { "_id": "8dc359868e0f322b078b91ad", "provenance": "amet", "username": "ad esse aute", "firstname": "elit irure nulla sint nisi", "memberOf": [ { "groupId": "978b6ac21d0c669612fcf86d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ullamco" }, { "roleId": "irure in" }, { "roleId": "reprehenderit Lorem" } ], "inactive": true, "lastLogin": "2000-07-24T10:34:40.922Z", "_meta": { "created": "1989-08-15T22:36:21.954Z", "updated": "2002-11-28T06:13:20.727Z", "migrationVersion": 31456776 }, "email": "ex ea" }, "d3ca654f4f6423047a847740" ], "metrics": { "start_time": -26042408.203766868, "progress": 0.6889646009327395, "end_time": -77340859.97005135, "user": { "_id": "d5ce24b09a79d08aae1e533c", "provenance": "amet", "username": "cupidatat commodo non laboris", "firstname": "commodo in", "memberOf": [ { "groupId": "a03ece7185d9012f6e4f65f9", "aaaManaged": true }, { "groupId": "22a8e42f9149b726a9e0db08", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "enim nulla Ut" } ], "inactive": true, "lastLogin": "1976-07-31T19:03:38.004Z", "_meta": { "created": "1949-08-28T11:00:51.78Z", "updated": "2014-05-26T21:18:31.433Z", "migrationVersion": -95081261 }, "email": "laborum occaecat ipsum cillum officia" }, "owner": "d4e9be727e6a77a1a3b356da" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }