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", "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": "59b907f38cef0461530d83ce", "font_size": 38972605, "type": "automation", "created": "2001-01-05T21:13:12.032Z", "last_updated": "1980-10-16T05:12:27.781Z", "createdVersion": "1820.8463.45403710", "lastUpdatedVersion": "88.154800439.7192923615-8924.67944.1294494267.1687747", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": 69356180, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 54035660.36156356, "sla": 87757942.25649688, "decorators": [ { "type": "encryption", "pointer": "/DKlYteOEpUT" } ], "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": "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_end", "name": "myCoolDocumentName", "message": "sit proident Excepteur" }, { "task": "3a1f", "name": "myCoolDocumentName" } ], "ancestors": [ "b95aef36280b66b7e20faa09", "b0726537bd762dce0e86448b", "c30468d4627da2d0b2a6d42e", "9ff45f0c6fe8b876a9ef6a19", "c19bf051032556e94ca6fc15" ], "validationErrors": [ { "keyword": "aliqua culpa adipisicing", "dataPath": "exercitation nisi", "schemaPath": "fugiat enim incididunt sit", "message": "cupidatat" }, { "keyword": "reprehenderit in incididunt dolor", "dataPath": "non nisi tempor ad aliqua", "schemaPath": "enim exercitation magna", "message": "aliqua" }, { "keyword": "culpa adipisicing sit deserunt", "dataPath": "ipsum non fugiat labore ut", "schemaPath": "pariatur", "message": "sint Excepteur in magna" } ], "created_by": "9acf1ef9dc7cd5022da4dfd5", "last_updated_by": null, "tasks": { "workflow_start": { "x": -56721765.66573892, "y": 38164704.673051566, "gridCoordinate": { "x": 67353157.62197939, "y": -31923180.303569913 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 45158695.98306766, "finish_state": "success", "user": "b513d9492bf5fa0ae4058838" }, "groups": [ "083aa03f5a5d85e358d49daa", { "_id": "37be4d0985ffcea106315813", "provenance": "Lorem culpa irure", "name": "dolor exercitation", "description": "irure proident sed veniam consequat", "memberOf": [ { "groupId": "2247996a4bbcba5959add6c5", "aaaManaged": false }, { "groupId": "fb2009222daab7a6d69fccc3", "aaaManaged": false }, { "groupId": "a415fc924affcf5414c2adcf", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "exercitation" }, { "roleId": "sed" } ], "inactive": false, "_meta": { "created": "1997-10-22T04:58:21.749Z", "updated": "1951-10-23T17:03:40.768Z", "migrationVersion": 43745021 } }, { "_id": "9c647bebfaa72c2a02104e17", "provenance": "voluptate Excepteur Lorem", "name": "irure", "description": "ad culpa", "memberOf": [ { "groupId": "27f776ebe57ca2e2f8a35bab", "aaaManaged": true }, { "groupId": "efff286baf9d1324acad2d10", "aaaManaged": false }, { "groupId": "43dba8aac4812448ade16525", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolor officia cupidatat" }, { "roleId": "sunt sit" }, { "roleId": "esse officia mollit adipisicing Duis" }, { "roleId": "laborum" }, { "roleId": "commodo" } ], "inactive": false, "_meta": { "created": "2004-06-25T06:22:44.013Z", "updated": "2016-12-02T05:27:52.163Z", "migrationVersion": 32941358 } }, "5013dec68ad405c1c80f24ac", "default" ], "iterations": [ "BA04ab1a-274B-eeB8-F2aE-F102cdBd26E4", "FcCF6cf3-8cA4-98CA-16D2-CfE5582cDd8F", "8f6CAe9d-b04A-e44c-f24e-a1c6cdd65E92" ] }, "workflow_end": { "x": -37656876.81415813, "y": 90214912.5272196, "gridCoordinate": { "x": -14607766.728058502, "y": 92502959.89230019 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "e28f", "workflow_start" ], "complete": [ "error_handler", "workflow_end", "workflow_start" ], "error": [ "error_handler", "workflow_end", "workflow_end" ] }, "metrics": { "end_time": -66227040.87718194, "run_time": -30399225.120656177 }, "groups": [ "default", { "_id": "bf7dbf33fc302242cb2762b2", "provenance": "quis", "name": "aute enim sunt", "description": "reprehenderit consequat aliquip exercitation", "memberOf": [ { "groupId": "5c969809c14daa29273b3d18", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ea" }, { "roleId": "enim occaecat" } ], "inactive": true, "_meta": { "created": "1958-12-16T17:59:22.157Z", "updated": "2002-12-22T14:21:40.689Z", "migrationVersion": -53400883 } }, { "_id": "f1a096f65e7ddadf51ab7f3e", "provenance": "velit mollit officia", "name": "dolore", "description": "ad velit laborum aliqua in", "memberOf": [ { "groupId": "f5c16c10c1a3943268eb632d", "aaaManaged": false }, { "groupId": "09aae736ddc0c607d681a72c", "aaaManaged": false }, { "groupId": "b26d14ed914f6a0616b81b59", "aaaManaged": true }, { "groupId": "85b1a923956175f567cc59f3", "aaaManaged": true }, { "groupId": "ef5873dd3afce6f50c817dfd", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "culpa nisi sunt id" }, { "roleId": "do" }, { "roleId": "cillum pariatur voluptate" }, { "roleId": "in ipsum anim voluptate" } ], "inactive": true, "_meta": { "created": "1953-02-28T06:48:38.435Z", "updated": "1947-04-29T06:30:47.67Z", "migrationVersion": 21241317 } }, { "_id": "c047c5942705418d951af485", "provenance": "cillum ut laborum", "name": "consectetur laborum dolore ut", "description": "minim", "memberOf": [ { "groupId": "e06f3db6a2fe0d4aef8fd441", "aaaManaged": true }, { "groupId": "7dd5b5b3811adbcca148dd35", "aaaManaged": false }, { "groupId": "83ef97ab0454d37673dfdfdc", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "occaecat sit" }, { "roleId": "eu est ullamco in" } ], "inactive": false, "_meta": { "created": "1974-11-08T02:35:44.659Z", "updated": "1987-12-04T13:12:55.192Z", "migrationVersion": -81096608 } }, { "_id": "025bfd72188626caa9c4dd42", "provenance": "occaecat in id cupidatat nisi", "name": "eu ad minim cillum", "description": "anim sunt sit reprehenderit ex", "memberOf": [ { "groupId": "245eefb62bba5ddd53cce706", "aaaManaged": true }, { "groupId": "c6c5afe48eedde393dee527f", "aaaManaged": true }, { "groupId": "d2205a88fb15099c3c1242b8", "aaaManaged": true }, { "groupId": "77d223862e2022f87a120278", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "adipisicing laborum Duis" } ], "inactive": true, "_meta": { "created": "1965-03-08T18:01:02.702Z", "updated": "1960-08-22T06:18:13.565Z", "migrationVersion": 69850489 } } ], "iterations": [ "96907E99-14AE-19cF-Db4E-013bE4C7636B", "D462cbcf-01da-4c5e-f8e9-c0CcB28eeE70" ] }, "error_handler": { "x": 224909.40386931598, "y": -55504435.04945002, "gridCoordinate": { "x": 20761256.130175903, "y": -36055851.84389408 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "consectetur veniam", "canvasName": "elit", "displayName": "in", "summary": "pariatur veniam commodo nulla", "description": "dolor reprehenderit sunt adipisicing", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/tROI5/Ze/wWd1I/~1/utNEf7l/~0/Gb7c6t/y/~0" }, { "type": "encryption", "pointer": "/~1/~0/eC8P/T3JjjS-y1/giiRdxUX1" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "cupidatat voluptate Excepteur commodo reprehenderit", "highlightString": "eu amet elit consequat" }, { "key": "quis", "highlightString": "dolore elit aliqua ipsum" } ], "status": "error", "previous": { "incomplete": [ "error_handler" ], "complete": [ "workflow_end" ], "error": [ "e28f", "workflow_start", "e28f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" } ], "failure": [ { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "mollit magna do aute", "start_time": "2017-02-17T03:19:27.964Z", "end_time": -8994979.371071607, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "5a061e5ab08356badaba1cae", "groups": [ "249f61e6948f796f3879b1cf", { "_id": "12dab769743ece6cd9c021a5", "provenance": "amet mollit Lorem irure officia", "name": "tempor cillum officia", "description": "cillum in cupidatat", "memberOf": [ { "groupId": "de88fd741f39f76cd72beebf", "aaaManaged": true }, { "groupId": "df6a7c8b42fb171c8b484c66", "aaaManaged": true }, { "groupId": "e3a565d79f3295317473ac7e", "aaaManaged": false }, { "groupId": "8b304f1885a6e0524e22db93", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "proident Lorem reprehenderit veniam" }, { "roleId": "laborum labore deserunt" }, { "roleId": "nisi mollit sed culpa laborum" }, { "roleId": "eu exercitation" }, { "roleId": "quis fugiat sit qui laborum" } ], "inactive": false, "_meta": { "created": "1968-07-21T05:45:44.6Z", "updated": "1961-07-05T16:27:19.507Z", "migrationVersion": -17579789 } }, "default" ], "iterations": [ "6AC64e1E-09a3-4141-EC04-72bbBAC1cdEc", "dE3D06aE-1Ffe-DCA6-A9bb-0cae1CABd30b" ] }, "6fd": { "x": 72417087.29477435, "y": -80779623.4841733, "gridCoordinate": { "x": -29314077.06987548, "y": -34025891.51889432 }, "name": "quis irure", "location": "Adapter", "locationType": null, "app": "incididunt consectetur tempor", "canvasName": "amet non minim", "displayName": "proident", "summary": "elit reprehenderit est sint", "description": "Lorem exercitation aliqua dolor", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0" }, { "type": "encryption", "pointer": "/~1/Jm5Tar/~0/BX4I5rF/~0/~0/~0/~1" }, { "type": "encryption", "pointer": "/~0/VMRB/XE/LqrIh/~0/azVgh3Sg/miQ+" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "laboris", "highlightString": "reprehenderit in labore incididunt aliquip" } ], "status": "scheduled", "previous": { "incomplete": [ "e28f" ], "complete": [ "3a1f", "error_handler" ], "error": [ "workflow_start", "3a1f" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "3a1f", "type": "standard" }, { "task": "error_handler", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "revert" } ] }, "serverId": "cupidatat", "start_time": "1988-11-26T03:30:26.143Z", "end_time": 55282637.959824175, "finish_state": "error", "retrySettings": { "state": [ "success" ], "autoRetry": true, "limit": 48305839, "delay": 5956466, "count": 50502728, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ "default", "2e5c068607f91e5b51ac9aa1" ], "iterations": [] } }, "parent": { "job": "dolore dolore", "task": "mollit ullamco ipsum id occaecat", "iteration": 13121717.854289323, "element": 55048098.46770674 }, "errorHandler": { "x": 85628405.16799355, "y": -36899167.09437253, "gridCoordinate": { "x": -23893004.714692444, "y": 36149698.52285954 }, "name": "ad eu irure proident elit", "location": "Adapter", "locationType": "laboris tempor", "app": "consequat", "canvasName": "sunt dolor esse ut", "displayName": "consequat", "summary": "enim", "description": "ea et veniam adipisicing enim", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~1/kv4Y0kBPJ/~1/~1/LDsUTBg,Zl,/~1/~0/Inf/~1/~0" }, { "type": "encryption", "pointer": "/~0/a2R8xa/~1/~1/~1/~0/i6hvPX-Uf" }, { "type": "encryption", "pointer": "/~1/~1/~0" }, { "type": "encryption", "pointer": "/B9" }, { "type": "encryption", "pointer": "/~1/~0/a6Yv/TKOAhO/~1" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "Excepteur ad est in velit", "highlightString": "Ut proident veniam sint ut" }, { "key": "velit cupidatat ea", "highlightString": "minim dolor dolore" } ], "status": "paused", "previous": { "incomplete": [ "e28f" ], "complete": [ "workflow_end", "e28f", "3a1f", "workflow_end", "workflow_end" ], "error": [ "workflow_start", "workflow_end", "error_handler", "workflow_start", "workflow_end" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "3a1f", "type": "loop" }, { "task": "e28f", "type": "loop" }, { "task": "3a1f", "type": "loop" } ], "failure": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "revert" } ] }, "serverId": "Excepteur elit", "start_time": "2012-11-27T11:35:28.561Z", "end_time": -34031038.56906094, "finish_state": "error", "retrySettings": { "state": [ "error" ], "autoRetry": true, "limit": 89888688, "delay": 52347117, "count": 27630408, "finishedRetrying": true }, "type": "operation", "actor": null, "groups": [ { "_id": "302839e5da9aa981ad69aecf", "provenance": "sunt officia magna voluptate ea", "name": "ea minim non aliqua", "description": "nostrud", "memberOf": [ { "groupId": "ca7e46885d6232e6fbfd0006", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "qui nulla minim" }, { "roleId": "dolor aute ad quis" } ], "inactive": false, "_meta": { "created": "1965-04-07T06:05:27.416Z", "updated": "1979-10-21T03:27:19.336Z", "migrationVersion": 68794799 } }, "default", "181c3cc17474f21bd38e02b8" ], "iterations": [ "B0FCadA8-28Ab-5fcF-bea9-A37f8Ea15E46" ] }, "groups": [ "9dfcafddeefa713afd3c0864", "d1dbb6540366c62cb464cef1", { "_id": "a6f256a28d16fcfb0145936d", "provenance": "laboris tempor amet sit", "name": "labore Ut et", "description": "do aliquip mollit irure veniam", "memberOf": [ { "groupId": "274c3ff27010bc4a266f8eae", "aaaManaged": false }, { "groupId": "f7f9404b67075be16503eeda", "aaaManaged": true }, { "groupId": "fbc0c36c67da6ebc40a233c7", "aaaManaged": true }, { "groupId": "08e45f2f97ae5ba247de8987", "aaaManaged": true }, { "groupId": "657ddc4df539d3151862b6f8", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolor labore dolore" }, { "roleId": "dolore reprehenderit" }, { "roleId": "do" } ], "inactive": false, "_meta": { "created": "2015-04-23T08:12:04.509Z", "updated": "1948-10-14T23:58:05.385Z", "migrationVersion": -86498315 } }, "default" ], "watchers": [ null, "6dc7d9aa44e9cdbff90a4d0a", { "_id": "95e0056ca988e71615fee4ed", "provenance": "velit amet", "username": "magna", "firstname": "sunt sed enim sint", "memberOf": [ { "groupId": "dc239e4dd8bd75fd1d984415", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aute labore esse consectetur" }, { "roleId": "cupidatat in nostrud" } ], "inactive": true, "lastLogin": "1946-01-13T20:53:27.437Z", "_meta": { "created": "1997-02-14T09:18:52.554Z", "updated": "1972-05-31T19:49:51.049Z", "migrationVersion": -7513495 }, "email": "laboris" }, "Pronghorn", "Pronghorn" ], "metrics": { "start_time": -50479049.53412519, "progress": 0.7434529844848039, "end_time": 91931808.5390183, "user": "Pronghorn", "owner": { "_id": "6bb2191fdc0b442c92bc0144", "provenance": "exercitation eu irure officia", "username": "aliquip", "firstname": "aliqua nulla in nostrud nisi", "memberOf": [ { "groupId": "11f95b9320e326d3443d025d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut" }, { "roleId": "proident reprehenderit incididunt magna" }, { "roleId": "Duis" } ], "inactive": false, "lastLogin": "1985-07-19T12:25:25.305Z", "_meta": { "created": "1968-11-06T15:16:11.625Z", "updated": "1954-12-14T10:06:27.679Z", "migrationVersion": 25419296 }, "email": "laboris elit ut ipsum occaecat" } } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }