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": "description", "dereference": "accounts.createdBy" } }
{ "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": "bf3357dbbf2f0441f72ab1a3", "font_size": -29613094, "type": "resource:action", "created": "1987-01-23T16:38:50.337Z", "last_updated": "1987-12-12T14:41:04.712Z", "createdVersion": "0368.84418272.89951862191", "lastUpdatedVersion": "82790207781.6831588.96383312-0171.47411578.9607.90395985", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": -57149640, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 92917219.11452883, "sla": 90566831.2169039, "decorators": [ { "type": "encryption", "pointer": "/IbZlCGj/om/DKFh/~1/M8Ifh3GWZq/~1/BHwx3" }, { "type": "encryption", "pointer": "/o4nHE4aKW7M/n+/~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": "est do ullamco" } ], "ancestors": [ "238e5b445ff75e6affac7294", "79e36104016ba2319d5285af" ], "validationErrors": [ { "keyword": "nostrud dolor dolore", "dataPath": "dolore pariatur velit esse", "schemaPath": "voluptate amet deserunt in", "message": "Duis ad" } ], "created_by": "Pronghorn", "last_updated_by": { "_id": "e1c3743ddf33e81e0d28c538", "provenance": "nulla ad", "username": "culpa Ut sint incididunt est", "firstname": "ipsum aute laborum in adipisicing", "memberOf": [ { "groupId": "059a5aa9391719a70a400b4f", "aaaManaged": true }, { "groupId": "8657ed92f044061344694463", "aaaManaged": true }, { "groupId": "568c46164be502a3557bf06b", "aaaManaged": true }, { "groupId": "4e5ca7046c34d194c1d63ec9", "aaaManaged": true }, { "groupId": "075b81e5930069ce865ca752", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "proident eiusmod" }, { "roleId": "aliquip ipsum" }, { "roleId": "reprehenderit ut nulla mollit" } ], "inactive": true, "lastLogin": "2015-10-15T08:55:52.139Z", "_meta": { "created": "1958-04-10T08:42:18.615Z", "updated": "2008-08-14T21:24:45.051Z", "migrationVersion": -99562380 }, "email": "Lorem ea" }, "tasks": { "50": { "actor": "377af925e916dd7cd3e35f1d", "groups": [ { "_id": "773cd24b6527ff16e38bd268", "provenance": "ad culpa ut", "name": "enim velit dolore Lorem sit", "description": "nulla tempor", "memberOf": [ { "groupId": "323753ecdc3861f16e1c70c5", "aaaManaged": false }, { "groupId": "0ff910c02464d43c1cb1d53b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "nisi deserunt ut" }, { "roleId": "dolore cillum in id" }, { "roleId": "laboris culpa" } ], "inactive": false, "_meta": { "created": "1952-03-19T02:27:17.416Z", "updated": "1960-01-31T02:20:33.746Z", "migrationVersion": -91005183 } }, { "_id": "7d8a1f4ac2d1426d66cd57b9", "provenance": "incididunt sint irure", "name": "irure commodo cupidatat ut", "description": "sed", "memberOf": [ { "groupId": "e8e7824e685014dc8a4a568d", "aaaManaged": false }, { "groupId": "fdb021997c3f501b9ad31bda", "aaaManaged": false }, { "groupId": "f7d362fe9df03a2bf8d52c13", "aaaManaged": false }, { "groupId": "d87a49f7aef6811cb02f778b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consequat eu commodo aliqua" }, { "roleId": "Ut" }, { "roleId": "aliquip est laborum" }, { "roleId": "consectetur pariatur" } ], "inactive": true, "_meta": { "created": "2008-11-20T00:26:43.344Z", "updated": "2021-03-23T09:34:57.743Z", "migrationVersion": 48414803 } } ], "iterations": [ "bDf1f8b4-D793-95Fa-b9EC-8a8b93c0A320" ], "x": 37259275.04761809, "y": -93708750.21046658, "gridCoordinate": { "x": 36089.220972940326, "y": 61218996.38300344 }, "name": "laboris", "location": "Adapter", "locationType": "nulla dolore sint ut cillum", "app": "elit consequat do", "canvasName": "childJob", "displayName": "dolore", "summary": "veniam in Duis magna", "description": "tempor", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~0/~0/~0/H,0/~1" }, { "type": "encryption", "pointer": "/~0/ekcAn3rEt/gHcqBYiQ/~0/IP/MrWJOIpTpx/~0/RFEOKxLrwTp/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "nostrud", "highlightString": "id qui quis in" }, { "key": "sit velit anim dolor nisi", "highlightString": "nostrud culpa proident" }, { "key": "velit dolor", "highlightString": "amet" }, { "key": "sit", "highlightString": "deserunt consectetur" } ], "status": "incomplete", "previous": { "incomplete": [ "workflow_end", "error_handler", "error_handler", "3a1f" ], "complete": [ "workflow_start", "error_handler", "3a1f" ], "error": [ "workflow_start", "3a1f" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "error_handler", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "revert" } ], "error": [ { "task": "e28f", "type": "standard" } ] }, "serverId": "eu", "start_time": "1987-05-27T06:21:25.469Z", "end_time": -5704585.416618586, "finish_state": "error", "retrySettings": null, "loop": { "atLeastOneComplete": false, "finishedCount": 23517032.204613432, "outgoing": [ null, "dolore voluptate labore culpa non", null ] }, "childJobs": [ { "_id": "occaecat ea consectetur ad Ut", "name": "elit fugiat sed", "iteration": 25504044.50461042 }, { "_id": "id", "name": "Ut laboris sunt cillum", "iteration": 46713517.66574383 }, { "_id": "dolor eu mollit enim", "name": "irure in", "iteration": -9486160.782880321 } ] }, "workflow_start": { "x": 3351350.924739644, "y": 60098887.618946284, "gridCoordinate": { "x": 73252716.58764052, "y": 53821976.19075781 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 58852693.66047475, "finish_state": "failure", "user": "Pronghorn" }, "groups": [ "d4271d366f02bd578972d99a", { "_id": "37b9aaa770948d560fd34ab2", "provenance": "sunt dolor ex commodo dolor", "name": "laboris officia quis minim cupidatat", "description": "eiusmod consectetur commodo velit Excepteur", "memberOf": [ { "groupId": "60db85ac6287d2acbaf9842a", "aaaManaged": true }, { "groupId": "04b861651aa90e2ad182b7d9", "aaaManaged": true }, { "groupId": "24ec7764962c1dfc5a3a2e49", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "officia enim velit id" } ], "inactive": false, "_meta": { "created": "1999-02-15T15:15:05.475Z", "updated": "1973-06-09T17:15:02.263Z", "migrationVersion": 44486484 } }, { "_id": "472997cf31ac485c996b7da6", "provenance": "id consequat veniam exercitation commodo", "name": "in aliquip elit veniam", "description": "incididunt veniam Excepteur", "memberOf": [ { "groupId": "b01aa080c189044fc1c641f9", "aaaManaged": false }, { "groupId": "8d0ba4dd2c4a2f8168d3ea1a", "aaaManaged": true }, { "groupId": "071cd8d1474bc77fc63f813d", "aaaManaged": true }, { "groupId": "2d5fb38047db1addb2dd5717", "aaaManaged": false }, { "groupId": "147797f7ebc38299e1556485", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "cillum cupidatat commodo aute" }, { "roleId": "proident Excepteur culpa eu" }, { "roleId": "Duis in id" }, { "roleId": "qui pariatur nostrud aute" } ], "inactive": false, "_meta": { "created": "1956-08-28T07:03:41.52Z", "updated": "1949-07-03T20:36:21.524Z", "migrationVersion": -65001874 } } ], "iterations": [ "6A2fe1Fe-979C-D121-CEef-396e0eBDfFf7", "F4a1ddbE-6A27-c9Bf-F7d5-4F1C74e3D4Cc", "6F45ddDE-DEE0-A49C-19E8-FcC9A0B3e255" ] }, "workflow_end": { "x": 65175273.58531621, "y": -51969210.018681936, "gridCoordinate": { "x": 76355460.41346738, "y": -62219877.71809831 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "e28f", "e28f", "workflow_start", "workflow_start" ], "complete": [ "workflow_end", "workflow_start", "workflow_start" ], "error": [ "error_handler" ] }, "metrics": { "end_time": 41963568.5631755, "run_time": -55246180.505872555 }, "groups": [ "30ac51b156bd1d83147080eb" ], "iterations": [ "dE8bc8eC-CCac-aCeE-0daC-e88CE40F2DDE" ] }, "error_handler": { "x": -2240817.1251912117, "y": 332144.0622777045, "gridCoordinate": { "x": -94693880.2621438, "y": -23671794.636739254 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "cupidatat enim", "canvasName": "sint fugiat est consequat", "displayName": "dolor amet est", "summary": "cillum consectetur id consequat", "description": "incididunt voluptate dolore eiusmod qui", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/lAqA0rc/~0/~0/z/AOQJ8c2o/~0/hGm4qzt/~1" }, { "type": "encryption", "pointer": "/o/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "pariatur dolore sunt", "highlightString": "magna irure consectetur in" }, { "key": "esse cillum magna", "highlightString": "fugiat" }, { "key": "aliquip dolor voluptate exercitation", "highlightString": "amet cupidatat Ut tempor" }, { "key": "ea", "highlightString": "exercitation sed laboris anim" } ], "status": "canceled", "previous": { "incomplete": [ "workflow_start", "error_handler" ], "complete": [ "e28f", "e28f", "workflow_start", "e28f", "e28f" ], "error": [ "error_handler", "workflow_start" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "e28f", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" } ] }, "serverId": "anim quis ullamco nulla ea", "start_time": "1965-06-17T01:25:33.574Z", "end_time": -61148500.276516415, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "Pronghorn", "groups": [ "default", "f8ad6bd6e1180664707e4835", { "_id": "8b2603556ca08b6694e38d4b", "provenance": "minim id", "name": "dolor nisi Lorem qui id", "description": "elit Duis Ut reprehenderit Excepteur", "memberOf": [ { "groupId": "8bff210cb6724dd2f8259095", "aaaManaged": false }, { "groupId": "2c81bfe6398d65a1ef9ffd34", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "quis laboris nostrud" }, { "roleId": "veniam quis aliqua exercitation reprehenderit" } ], "inactive": false, "_meta": { "created": "2012-11-13T17:45:17.329Z", "updated": "2012-04-26T16:30:20.336Z", "migrationVersion": 39259831 } }, "7e3b2d2a02e15b2f2fc1284b", { "_id": "0c3a31fc2b3cdfc0d0bd8696", "provenance": "voluptate sed", "name": "do anim in dolor", "description": "irure exercitation eu sint veniam", "memberOf": [ { "groupId": "c4738acb2a14ff7a583aeb99", "aaaManaged": false }, { "groupId": "ef2dcf8238846ccbbc30d56b", "aaaManaged": false }, { "groupId": "bb1399f8ecfa41c81fe022dd", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in" }, { "roleId": "exercitation velit" }, { "roleId": "ad" }, { "roleId": "exercitation commodo" }, { "roleId": "in amet ut exercitation" } ], "inactive": true, "_meta": { "created": "1962-12-06T08:22:13.313Z", "updated": "1991-12-22T20:46:48.589Z", "migrationVersion": 88511287 } } ], "iterations": [ "bfbCCB6D-B0Ac-cfBc-daBa-4AbBe965C4AA", "c7fe10b2-1df7-d1E9-D55c-beE26C8eadb7", "011E0460-03Ed-a46E-47dD-DA4DE3CE49ED" ] } }, "parent": { "job": "elit et", "task": "do in nulla", "iteration": 85176656.55278, "element": -3033268.6995032877 }, "errorHandler": null, "groups": [ "default", "default", { "_id": "d8b3e5b9d13c55b1080b6a65", "provenance": "ullamco exercitation", "name": "ut", "description": "aliqua id", "memberOf": [ { "groupId": "50ff4a780787ac7c9d8bc15e", "aaaManaged": false }, { "groupId": "77801606afe5f016c5961a06", "aaaManaged": true }, { "groupId": "285c92a1eceb074fbb26d72c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consectetur aliquip" } ], "inactive": false, "_meta": { "created": "1952-07-09T09:15:01.599Z", "updated": "1994-02-16T03:41:06.288Z", "migrationVersion": 44425894 } }, { "_id": "96295afe8041abf0cbbb5eec", "provenance": "eiusmod et nisi", "name": "sint non", "description": "nisi amet deserunt exercitation velit", "memberOf": [ { "groupId": "b2cc328ca4e883aba5603356", "aaaManaged": false }, { "groupId": "e54f294d98cd46d0141c1b5e", "aaaManaged": false }, { "groupId": "4da6e523cdd9e0c7ebe9dad1", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sed reprehenderit" } ], "inactive": true, "_meta": { "created": "1987-02-09T19:24:12.911Z", "updated": "1959-03-22T17:51:45.603Z", "migrationVersion": 92647693 } } ], "watchers": [ { "_id": "07900e03a5e4e13c7e06f6d8", "provenance": "cupidatat Excepteur nulla", "username": "irure labore velit ex", "firstname": "velit esse", "memberOf": [ { "groupId": "f82504ceba7b151cc26669a2", "aaaManaged": true }, { "groupId": "1f7f6289d5581213015969f6", "aaaManaged": false }, { "groupId": "7463f4a9fe0637c4afd0847e", "aaaManaged": true }, { "groupId": "dcb52889e34ce569c865dc84", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "veniam aute nulla laborum velit" }, { "roleId": "dolor sint esse nulla" } ], "inactive": false, "lastLogin": "2012-05-30T21:18:26.326Z", "_meta": { "created": "1953-06-14T03:56:25.254Z", "updated": "1995-02-15T07:29:29.882Z", "migrationVersion": -5613780 }, "email": "ut ea exercitation labore" }, "Pronghorn", "bab94951b01d6b3765cb0d28", null, "8481881f57df480840e767d6" ], "metrics": { "start_time": -82190929.10863318, "progress": 0.756148612720696, "end_time": -80886446.13349155, "user": { "_id": "1dfd0fd31eb5b25387e226a9", "provenance": "ut fugiat Ut", "username": "magna nostrud exercitation Duis et", "firstname": "do dolor ipsum cupidatat ut", "memberOf": [ { "groupId": "a881868559eaf83198b59473", "aaaManaged": true }, { "groupId": "67b15dda3d68da9e3c100db0", "aaaManaged": true }, { "groupId": "e65f36fa1f4bfaf957467314", "aaaManaged": true }, { "groupId": "af725804a46a29a9057d5f15", "aaaManaged": false }, { "groupId": "4e106241cad8fa172ffeedf2", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "exercitation ipsum officia dolor" } ], "inactive": true, "lastLogin": "2000-10-08T04:45:30.913Z", "_meta": { "created": "1994-06-24T08:43:49.556Z", "updated": "1956-07-16T14:43:47.958Z", "migrationVersion": 85534491 }, "email": "sint nostrud tempor ipsum" }, "owner": { "_id": "1154d0e3ec013bd01d2e5b45", "provenance": "incididunt Excepteur do pariatur id", "username": "fugiat magna Duis", "firstname": "adipisicing", "memberOf": [ { "groupId": "6a432fca1eb32c03bb828ead", "aaaManaged": false }, { "groupId": "5cbb73cce51b2af830956e4a", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "proident enim Ut deserunt" }, { "roleId": "aliquip fugiat ullamco deserunt exercitation" }, { "roleId": "officia eiusmod" }, { "roleId": "irure" }, { "roleId": "consectetur adipisicing" } ], "inactive": false, "lastLogin": "1976-11-02T17:20:29.56Z", "_meta": { "created": "2016-05-30T10:02:55.048Z", "updated": "2016-01-25T17:46:20.066Z", "migrationVersion": -57387399 }, "email": "pariatur ut" } } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }