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", "exclude": "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": "11b5ed8db8f36264dfc81df7", "font_size": -67965952, "type": "resource:compliance", "created": "1978-06-09T00:27:39.092Z", "last_updated": "2013-09-28T00:39:13.691Z", "createdVersion": "52747049.98587249.8943-4761.86406307.1554.835", "lastUpdatedVersion": "04072794.420.4929", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": -91417409, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -79048225.25628927, "sla": -34795809.97475451, "decorators": [ { "type": "encryption", "pointer": "/YQwY/~1/Rl-WqcaettM" }, { "type": "encryption", "pointer": "/~1/~0/qPK8m8iVu/~1/De/cQ,jS+V/tjl/LKf./~1/gFCyj3hR/JU/dBzD" } ], "status": "canceled", "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 }, { "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": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "amet sed ea" } ], "ancestors": null, "validationErrors": [ { "keyword": "reprehenderit enim incididunt quis", "instancePath": "ea Ut adipisicing exercitation", "schemaPath": "velit do nostrud tempor", "message": "exercitation adipisicing velit sint" }, { "keyword": "sunt ad", "instancePath": "et Ut voluptate", "schemaPath": "ut occaecat deserunt laboris sint", "message": "mollit voluptate" }, { "keyword": "ut", "instancePath": "occaecat cupidatat Duis", "schemaPath": "velit est et dolore Duis", "message": "nostrud ex exercitation esse minim" }, { "keyword": "Duis sit sunt minim elit", "instancePath": "adipisicing ullamco consequat ut consectetur", "schemaPath": "do amet", "message": "Ut labore irure" }, { "keyword": "nisi sit", "instancePath": "dolore", "schemaPath": "pariatur elit fugiat tempor sunt", "message": "do culpa" } ], "created_by": null, "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": 49753158.529061735, "y": 39418274.21457437, "gridCoordinate": { "x": -22212696.58171767, "y": 59935928.65979466 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -32578570.743552014, "finish_state": "error", "user": "9d8780534bf84a4d951ab457" }, "groups": [ "default", { "_id": "7f6c40af84b02ec13edc5d1e", "provenance": "deserunt exercitation in dolore Duis", "name": "aliquip", "description": "Ut anim aute magna", "memberOf": [ { "groupId": "c3e92be7918f91afbccb33ca", "aaaManaged": true }, { "groupId": "b095b01c0e7b8642ea6508ec", "aaaManaged": false }, { "groupId": "1b82686589159bcb0ad6776a", "aaaManaged": true }, { "groupId": "56bc02e8e763a7305f984407", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in officia nisi" }, { "roleId": "pariatur laborum et irure fugiat" }, { "roleId": "sunt ad aliqua tempor" }, { "roleId": "ut nisi" } ], "inactive": false, "_meta": { "created": "1970-05-05T05:32:28.74Z", "updated": "1946-10-30T03:43:06.037Z", "migrationVersion": 73269235 } }, { "_id": "1914ccdefcd34fc62f2b998f", "provenance": "nisi Excepteur", "name": "consectetur magna", "description": "nostrud laborum eiusmod sit", "memberOf": [ { "groupId": "e65ca6a8de7b8fb40dbb4be8", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consequat" }, { "roleId": "Lorem Ut aliquip proident occaecat" }, { "roleId": "eiusmod" } ], "inactive": true, "_meta": { "created": "1975-07-08T22:36:10.707Z", "updated": "1948-02-23T22:06:26.025Z", "migrationVersion": -55196306 } }, "default" ], "iterations": [] }, "workflow_end": { "x": -19062017.3892325, "y": -23285543.408450454, "gridCoordinate": { "x": 7244537.721091419, "y": 60886286.673832744 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "error_handler", "workflow_end" ], "complete": [ "error_handler", "error_handler", "3a1f", "workflow_start" ], "error": [ "workflow_start", "error_handler", "error_handler", "workflow_start" ] }, "metrics": { "end_time": -23103125.1644509, "run_time": -40853881.80699212 }, "groups": [ { "_id": "72c846c5ccbf1b0123030f56", "provenance": "in aliqua laborum non", "name": "minim", "description": "sunt", "memberOf": [ { "groupId": "ba271e728632fca9a9571059", "aaaManaged": true }, { "groupId": "0bd49b1c8d7889e31098d0d7", "aaaManaged": false }, { "groupId": "558441105a3bebebad55f0f4", "aaaManaged": false }, { "groupId": "6a8ef31310f59c0f91ccda17", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ad nulla qui ullamco" } ], "inactive": true, "_meta": { "created": "2018-11-28T00:30:07.598Z", "updated": "1978-05-05T20:17:19.987Z", "migrationVersion": 32284280 } }, "980aeae4887359405f405288" ], "iterations": [ "4602f0d1-a1D0-519A-C6b6-DBb69fcfCffF" ] }, "error_handler": { "x": 73141587.72201625, "y": 82326500.55909768, "gridCoordinate": { "x": 58261968.81180495, "y": 90134636.65512171 }, "name": "childJob", "location": "Application", "locationType": "ea", "app": "consequat", "canvasName": "irure et", "displayName": "id dolore", "summary": "proident", "description": "enim amet sunt Duis in", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/h/wyn6K/~0/~1/j/mqI5aoMVD/RmAwM7" }, { "type": "encryption", "pointer": "/~1/~0/~0/QNATp1TU/N/DAjC76x/~1/~1/~1/gKvNNk/~0" }, { "type": "encryption", "pointer": "/tNvhJ/ZK" }, { "type": "encryption", "pointer": "/zlgYUy,Z/~1/~1" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "aliquip officia ipsum", "highlightString": "deserunt qui consectetur" }, { "key": "sunt ullamco sit incididunt", "highlightString": "officia cillum" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start", "workflow_start", "workflow_end", "e28f" ], "complete": [ "3a1f" ], "error": [ "3a1f" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "error_handler", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_end", "type": "revert" }, { "task": "error_handler", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "aliquip esse amet ut quis", "start_time": "1953-10-17T19:20:01.211Z", "end_time": 36161344.51457614, "finish_state": "error", "retrySettings": { "state": [ "failure", "failure", "failure", "error" ], "autoRetry": true, "limit": 89280475, "delay": 64416709, "count": 88477172, "finishedRetrying": true }, "type": "operation", "actor": { "_id": "4063d419c066c37e306ffe6e", "provenance": "mollit aute anim", "username": "velit occaecat adipisicing ea", "firstname": "non nisi dolore sint mollit", "memberOf": [ { "groupId": "b0e44195700a0f1bbcd121d7", "aaaManaged": false }, { "groupId": "b64cf6bb4de56045d11cb653", "aaaManaged": false }, { "groupId": "a4de07444e929cddc47b7bc4", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "proident dolore in ullamco" }, { "roleId": "veniam irure" }, { "roleId": "do" }, { "roleId": "ut fugiat" } ], "inactive": true, "lastLogin": "2017-12-22T17:02:54.683Z", "_meta": { "created": "1949-02-22T01:46:21.49Z", "updated": "1960-02-15T08:32:33.886Z", "migrationVersion": -38147445 }, "email": "irure ipsum in in occaecat" }, "groups": [ "default", "default" ], "iterations": [ "078Cdb59-ed0b-F0Ad-034d-dA0f89b6BFac", "b0060E3b-dbBa-B1Bd-d10e-1e4EADaCd7Ed" ] }, "d": { "actor": { "_id": "f544ffe7f2bfa1c3558b17cf", "provenance": "exercitation Excepteur Duis dolore proident", "username": "ullamco veniam irure", "firstname": "dolor in qui do in", "memberOf": [ { "groupId": "980f1eb2ef7afc75ce696c91", "aaaManaged": true }, { "groupId": "c4e12fe2075d1ef9c28008df", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "do deserunt" }, { "roleId": "exercitation" }, { "roleId": "nostrud eiusmod" }, { "roleId": "ad" } ], "inactive": true, "lastLogin": "2007-12-09T05:42:53.348Z", "_meta": { "created": "1965-10-04T20:48:27.228Z", "updated": "2017-05-10T19:52:15.517Z", "migrationVersion": 53978045 }, "email": "esse aute pariatur amet et" }, "groups": [ "37dd86581ff3216088d26c06", "517e6efd142997a76139298d", { "_id": "e39bcd936d20533bf620b7dc", "provenance": "occaecat dolore et deserunt", "name": "in magna pariatur", "description": "elit dolore ad laborum", "memberOf": [ { "groupId": "e367458a367a4a3784c1a98d", "aaaManaged": false }, { "groupId": "cc6682db3927b37040fd8f61", "aaaManaged": true }, { "groupId": "0dba36a9f26a863d69cd66c1", "aaaManaged": false }, { "groupId": "1a0215d12b7f6f0c968485e7", "aaaManaged": false }, { "groupId": "715db0eb868beb6914c4fdda", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consequat irure anim" } ], "inactive": true, "_meta": { "created": "1997-03-29T11:56:36.012Z", "updated": "2015-04-07T03:46:06.828Z", "migrationVersion": -23678673 } }, "95d52ebdfcb7589ffd081697", { "_id": "83f6166ceabcb1aa40f3405f", "provenance": "officia", "name": "proident aliquip mollit", "description": "ex tempor proident consectetur", "memberOf": [ { "groupId": "5810d9c920b6cf482aafdeeb", "aaaManaged": true }, { "groupId": "cc50402e0b8e9aca8e93ebfe", "aaaManaged": true }, { "groupId": "0fb36e064005f7c5b89e4647", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "voluptate veniam" }, { "roleId": "Ut" }, { "roleId": "Excepteur amet velit" }, { "roleId": "voluptate anim non sed ad" } ], "inactive": true, "_meta": { "created": "1976-04-14T16:01:10.318Z", "updated": "2010-04-20T11:00:00.035Z", "migrationVersion": 79827713 } } ], "iterations": [ "A6CAC19E-38FB-Fd1E-4984-E610cCdAdeC8", "5e700202-cC3b-920E-bc00-1c4F9a1D7576", "adAfBaD0-59fA-d4bF-AFd2-5F64565adb88" ], "x": 31574835.18831703, "y": 38574904.68837789, "gridCoordinate": { "x": -37113675.461471066, "y": -84461113.42461395 }, "name": "elit in", "location": "Application", "locationType": null, "app": "fugiat ea", "canvasName": "in officia", "displayName": "sit cillum", "summary": "nulla nostrud", "description": "sit est incididunt", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/wi2dSXUrF/uN.rM-x/~0/~1/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "sit tempor Lorem ea non", "highlightString": "esse ad" }, { "key": "exercitation", "highlightString": "nulla dolor veniam est amet" } ], "status": "incomplete", "previous": { "incomplete": [ "e28f", "e28f", "3a1f", "workflow_start" ], "complete": [ "workflow_start", "e28f", "workflow_start", "3a1f" ], "error": [ "workflow_end", "workflow_end" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "standard" } ], "failure": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "revert" } ], "error": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "veniam in officia deserunt reprehenderit", "start_time": "1945-11-16T19:51:21.563Z", "end_time": -76836469.90134308, "finish_state": "success", "retrySettings": { "state": [ "error" ], "autoRetry": true, "limit": 65196137, "delay": 33233128, "count": 93860260, "finishedRetrying": true }, "type": "manual", "view": "officia laborum Duis" } }, "parent": { "task": "culpa ea", "iteration": -53624419.359796956, "element": 89979830.61939055 }, "errorHandler": null, "groups": [ "default", "default", { "_id": "38b8e523a7f720fea0f325ae", "provenance": "et exercitation dolore adipisicing incididunt", "name": "occaecat Lorem ullamco commodo ut", "description": "cillum labore irure laboris", "memberOf": [ { "groupId": "5b417bb77235c5d88479dffb", "aaaManaged": false }, { "groupId": "ba15a59b257d2e3b522bd5dd", "aaaManaged": true }, { "groupId": "f42d27e693fa323c74f509d8", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut nisi aliquip adipisicing eu" }, { "roleId": "quis ad sunt in ea" }, { "roleId": "ipsum sint commodo" }, { "roleId": "eiusmod aliquip sit" }, { "roleId": "elit eu minim Ut et" } ], "inactive": true, "_meta": { "created": "1951-11-06T13:46:05.477Z", "updated": "1976-10-07T07:13:54.941Z", "migrationVersion": 90610510 } }, { "_id": "f7f0068a3a9120a50fa2d164", "provenance": "reprehenderit sunt culpa sed", "name": "ullamco nostrud", "description": "laborum aliqua ut pariatur", "memberOf": [ { "groupId": "edbde2fed08a6c999d945db3", "aaaManaged": true }, { "groupId": "38a13ce5ddbbd266e5af7a1e", "aaaManaged": false }, { "groupId": "d3e1f32245e81d93e79fa437", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "commodo est aliquip sunt Duis" }, { "roleId": "minim eu in" }, { "roleId": "et ex veniam" }, { "roleId": "laborum minim" }, { "roleId": "irure aliquip deserunt minim eiusmod" } ], "inactive": false, "_meta": { "created": "1985-12-31T13:44:22.952Z", "updated": "1956-10-04T05:06:03.009Z", "migrationVersion": 46893296 } } ], "watchers": [ "087f2c9a584de129e6f6c9c8", { "_id": "638460769f19e5e1a2e71709", "provenance": "proident", "username": "do qui aute mollit sed", "firstname": "consectetur ut eiusmod", "memberOf": [ { "groupId": "b1dd417382afb760cb1d02bd", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "deserunt ex et" }, { "roleId": "esse aliquip" }, { "roleId": "dolor culpa" }, { "roleId": "culpa sit minim reprehenderit aliqua" }, { "roleId": "ex" } ], "inactive": false, "lastLogin": "2020-02-25T23:25:42.894Z", "_meta": { "created": "1979-05-05T05:31:32.016Z", "updated": "1959-05-09T20:44:55.161Z", "migrationVersion": -4251354 }, "email": "ut amet" }, "f17314e1fa8ff8a2505045fb", { "_id": "54471895c8b418e41be80ad8", "provenance": "dolor cillum", "username": "Ut commodo reprehenderit", "firstname": "Duis laborum", "memberOf": [ { "groupId": "ea692eb4c0546bdc0265d9b6", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "culpa consequat non consectetur ipsum" } ], "inactive": false, "lastLogin": "1961-08-19T10:14:03.506Z", "_meta": { "created": "1985-08-30T17:56:00.32Z", "updated": "2015-07-25T19:21:38.824Z", "migrationVersion": -70182407 }, "email": "laborum in anim aute" }, null ], "metrics": { "start_time": -41941449.67926503, "progress": 0.12612901146246736, "end_time": -98279695.08728817, "user": { "_id": "686e3ecdb55e7a4d5d5646e6", "provenance": "anim", "username": "ex magna", "firstname": "laborum ex adipisicing", "memberOf": [ { "groupId": "46f1bfe341493d79163fd177", "aaaManaged": false }, { "groupId": "f204599dbb7e62b199e17742", "aaaManaged": true }, { "groupId": "f2c17d8fc34bc845e2dbf066", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolor labore sit Duis" }, { "roleId": "id magna est quis" }, { "roleId": "sunt" }, { "roleId": "qui velit mollit incididunt sunt" }, { "roleId": "deserunt" } ], "inactive": false, "lastLogin": "1947-07-01T20:19:22.215Z", "_meta": { "created": "1992-05-30T12:11:30.46Z", "updated": "1983-10-04T11:03:03.095Z", "migrationVersion": 2669779 }, "email": "velit quis sint in fugiat" }, "owner": null } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }