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": "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 imported 3 of 4 documents", "data": { "_id": "103521a436a7d1005a97e4bb", "font_size": 34659043, "type": "automation", "created": "1956-09-02T19:37:38.342Z", "last_updated": "2015-05-06T13:53:56.672Z", "createdVersion": "1.12732428852.817918", "lastUpdatedVersion": "46370698631.49104.14700867-4530.79935.07685384427", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": 82581160, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -40160876.663139254, "sla": 81305676.05245692, "decorators": [ { "type": "encryption", "pointer": "/mTXa0HfwYX/~1/~1/WOpm-Q,sK/~1/P,K+rEfd18G" }, { "type": "encryption", "pointer": "/~0/~1/~1/KQ/rSPzgM,su0W/C6D.JDC4t/~0/~1/x" } ], "status": "paused", "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": "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" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "nulla" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "ea" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "nulla Ut id" } ], "ancestors": [ "7a6cfaaaa777ec73fe9bfa5a", "c77857ce60350d34080fddb6" ], "validationErrors": [ { "keyword": "proident amet velit commodo in", "dataPath": "proident dolor aliqua", "schemaPath": "adipisicing dolor exercitation", "message": "reprehenderit dolore enim" } ], "created_by": { "_id": "46f4901ba94e1ef5b3554411", "provenance": "amet", "username": "labore non in", "firstname": "Duis proident commodo", "memberOf": [ { "groupId": "d57b79ccd15865d16cf1891e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ullamco ut" } ], "inactive": true, "lastLogin": "2007-01-20T21:22:12.012Z", "_meta": { "created": "1946-04-27T20:27:24.213Z", "updated": "2004-11-06T17:56:29.071Z", "migrationVersion": 68014489 }, "email": "ullamco cupidatat est commodo occaecat" }, "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": -20720867.754004285, "y": -31001731.326016247, "gridCoordinate": { "x": -48508297.830615856, "y": -67501043.27995539 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 70952189.79470238, "finish_state": "success", "user": "Pronghorn" }, "groups": [ { "_id": "0e78442a7f16c7b7b4cc62d5", "provenance": "ad ipsum esse", "name": "nulla", "description": "ipsum minim", "memberOf": [ { "groupId": "00d20f3d68d9bcbf04d7cc85", "aaaManaged": false }, { "groupId": "efe540fb9c1cb9da6475e9be", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "amet sunt" }, { "roleId": "consectetur minim dolor fugiat magna" }, { "roleId": "occaecat nulla id velit" }, { "roleId": "occaecat laborum" } ], "inactive": true, "_meta": { "created": "2019-02-13T12:13:02.804Z", "updated": "1961-10-15T04:08:16.442Z", "migrationVersion": 86841994 } }, { "_id": "b784d54bb48bd209c891cb67", "provenance": "nulla elit est", "name": "magna dolore nulla reprehenderit", "description": "et nisi non", "memberOf": [ { "groupId": "3ceb566daf8c92c190e8675a", "aaaManaged": false }, { "groupId": "8854c98d2888b293d147dd38", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolore qui id ea" }, { "roleId": "ea in" }, { "roleId": "Duis" }, { "roleId": "tempor non in" } ], "inactive": true, "_meta": { "created": "1981-05-26T18:28:07.226Z", "updated": "1949-05-17T16:33:20.273Z", "migrationVersion": 43657775 } }, { "_id": "0e5b98312fc5b223143f497d", "provenance": "veniam laborum Ut ut Lorem", "name": "fugiat Ut ipsum aliquip sint", "description": "fugiat", "memberOf": [ { "groupId": "daaea9d06a41d91813bfe8ff", "aaaManaged": false }, { "groupId": "bf7eaf49437336f0927c98a8", "aaaManaged": true }, { "groupId": "08057d75628aab8f96ed5ebf", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliquip sed sit ex" }, { "roleId": "ut cupidatat irure nulla quis" }, { "roleId": "Lorem" }, { "roleId": "cillum voluptate Lorem Excepteur" }, { "roleId": "minim" } ], "inactive": false, "_meta": { "created": "1978-09-23T10:57:17.225Z", "updated": "1967-03-10T10:30:38.741Z", "migrationVersion": -22549717 } } ], "iterations": [ "cCe8DA46-B3De-F249-2f95-EdaeFC2AAad5", "f7B0ED8c-Ce45-aeCc-DCA8-b2fbCCdBDf5a", "F99D7Fe8-FEeB-0212-Be4e-8CEBbE7327BC" ] }, "workflow_end": { "x": 65318921.931471586, "y": -90820343.51872225, "gridCoordinate": { "x": -34998726.13409063, "y": -69631502.89335412 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "error_handler", "workflow_start", "workflow_end", "workflow_end" ], "complete": [ "e28f", "workflow_start", "3a1f", "workflow_start", "3a1f" ], "error": [ "workflow_end", "workflow_end", "workflow_end", "workflow_start" ] }, "metrics": { "end_time": -65804449.415343754, "run_time": 97407084.23797724 }, "groups": [ "default", "c0a0c638f50ab1a14eab4fa8", { "_id": "e19cc9810739a820140162f4", "provenance": "aliquip adipisicing deserunt eu", "name": "sint nostrud amet reprehenderit id", "description": "dolor eu non eiusmod", "memberOf": [ { "groupId": "cdf30cfa2840b6061bc72d1d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "nulla est laboris adipisicing dolore" }, { "roleId": "aute esse aliquip nulla" }, { "roleId": "veniam" } ], "inactive": true, "_meta": { "created": "2018-07-12T00:06:00.186Z", "updated": "2013-12-28T12:22:51.299Z", "migrationVersion": -90274758 } }, "default" ], "iterations": [] }, "error_handler": { "x": 75464067.87654573, "y": 40854175.88673383, "gridCoordinate": { "x": -32145096.634550452, "y": 77307513.77674371 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "amet exercitation commodo", "canvasName": "exercitation occaecat sit voluptate id", "displayName": "dolore officia", "summary": "in ipsum Duis", "description": "reprehenderit adipisicing", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~1/~1/OO" }, { "type": "encryption", "pointer": "/oLDKUFXVR80/~1/NIje1,/pNz/~0/~1/tGtD/Twjl7Y" }, { "type": "encryption", "pointer": "/AdLI" }, { "type": "encryption", "pointer": "/~0/~0/yx7H5,/z" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "ut commodo", "highlightString": "enim sunt" }, { "key": "dolor", "highlightString": "in sit do eiusmod velit" } ], "status": "running", "previous": { "incomplete": [ "workflow_end", "error_handler", "workflow_start" ], "complete": [ "workflow_start", "e28f", "workflow_end" ], "error": [ "error_handler", "error_handler", "3a1f", "workflow_end", "3a1f" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_end", "type": "loop" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "ex Ut", "start_time": "1982-08-06T17:22:56.213Z", "end_time": -4701171.971948519, "finish_state": "error", "retrySettings": { "state": [ "success", "failure", "error" ], "autoRetry": false, "limit": 41673895, "delay": 98680281, "count": 13224097, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ { "_id": "9e999c6e6bb0993bcfbee047", "provenance": "ut pariatur in", "name": "consectetur pariatur sunt consequat cillum", "description": "Excepteur laborum consequat velit non", "memberOf": [ { "groupId": "c78c55ee5cfa8f60c0d88740", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "pariatur dolor" }, { "roleId": "quis anim nostrud minim sit" }, { "roleId": "in labore laboris amet reprehenderit" }, { "roleId": "consectetur aute occaecat ut" } ], "inactive": false, "_meta": { "created": "1957-10-20T14:30:14.083Z", "updated": "1970-06-17T04:11:25.688Z", "migrationVersion": 28499074 } }, "default", "3a243eae689a7059572cc0e5", { "_id": "f92269811697be75bc0c0b38", "provenance": "ea", "name": "reprehenderit ipsum", "description": "tempor Excepteur minim", "memberOf": [ { "groupId": "917a3cad64a1a65100c2cdea", "aaaManaged": false }, { "groupId": "3e5f79659138957f0182dbfa", "aaaManaged": false }, { "groupId": "fcabfc05d457499d6fea3239", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "eiusmod magna exercitation" }, { "roleId": "minim non aliquip qui" }, { "roleId": "esse do irure qui reprehenderit" }, { "roleId": "qui adipisicing ut cillum" }, { "roleId": "id laborum aute" } ], "inactive": true, "_meta": { "created": "1996-12-29T16:29:53.999Z", "updated": "1990-06-12T02:56:34.536Z", "migrationVersion": -61001561 } } ], "iterations": [ "1D676883-523A-e7CF-E7f3-3F7c3c2fF947", "3edB4F64-c151-F71B-93FB-FEB398ae9AFB" ] }, "e8": { "actor": "job", "groups": [ { "_id": "cc82ffc58fa70ec3807ed3a6", "provenance": "dolor amet", "name": "et Excepteur magna Lorem ullamco", "description": "eiusmod", "memberOf": [ { "groupId": "29a5dfd8f3aede3b10aede9e", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "in esse laborum reprehenderit quis" }, { "roleId": "aute" }, { "roleId": "sint Duis irure aliqua" }, { "roleId": "eiusmod amet laboris" }, { "roleId": "cupidatat reprehenderit cillum pariatur" } ], "inactive": false, "_meta": { "created": "1949-03-15T22:34:28.527Z", "updated": "1962-09-11T02:11:39.815Z", "migrationVersion": -27941671 } }, { "_id": "b6ac45acdf7715b42f9cdec5", "provenance": "fugiat esse irure", "name": "Ut amet Excepteur eu", "description": "elit quis", "memberOf": [ { "groupId": "dc069fa95d7ec3efb63f8dcb", "aaaManaged": true }, { "groupId": "b2703477e5d20ef9d2f34726", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Ut" }, { "roleId": "ut ea nostrud est" } ], "inactive": false, "_meta": { "created": "1948-10-23T14:00:05.383Z", "updated": "1984-05-14T20:30:51.749Z", "migrationVersion": -89041484 } } ], "iterations": [ "Aed3fe1d-f553-3a87-2c6B-34fEBB1dC86A", "1C244A0F-6a61-c9CD-be0a-c8b793dAE7c1" ], "x": -85261259.48286398, "y": 75247001.03479046, "gridCoordinate": { "x": 93094484.24495113, "y": -74451430.88893364 }, "name": "mollit ut", "location": "Application", "locationType": null, "app": "in", "canvasName": "non", "displayName": "nostrud ut voluptate sint qui", "summary": "in", "description": "in ad nostrud voluptate dolor", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~0/~0/L5GkZ/~1/h4/Mh+bX,Q/cwvaxerZgj0/zink8.Kb7/~0/c7wD,9Raq" }, { "type": "encryption", "pointer": "/aF/6w/sfYIk/~1/~0/~1/~1" }, { "type": "encryption", "pointer": "/GSgBTSA+t.q/~1/~1/~0/G/~1/ZbWO/~0/RS0O7u7/kRLlWRm4+T/T.wqT5y" }, { "type": "encryption", "pointer": "/SP/~0/~0/~0/UzyGr4/~1/WsSaRjSY/z3/WX30.Vt" }, { "type": "encryption", "pointer": "/Zsk/tTYTy5BMk/PPF/vG/~0/~0" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "laborum tempor non", "highlightString": "Ut et" }, { "key": "dolore veniam", "highlightString": "laboris laborum dolor" }, { "key": "ex irure aliqua laborum do", "highlightString": "occaecat aliqua dolor ullamco" }, { "key": "dolor Excepteur anim culpa", "highlightString": "proident in ullamco reprehenderit" }, { "key": "eiusmod", "highlightString": "qui eu exercitation veniam" } ], "status": "scheduled", "previous": { "incomplete": [ "3a1f", "workflow_start", "3a1f", "error_handler" ], "complete": [ "3a1f", "workflow_start", "3a1f" ], "error": [ "workflow_start", "3a1f" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "e28f", "type": "revert" } ] }, "serverId": "mollit elit tempor esse velit", "start_time": "1970-05-16T00:22:35.843Z", "end_time": -5801601.212528288, "finish_state": "success", "retrySettings": null, "type": "automatic" } }, "parent": { "job": "reprehenderit exercitation fugiat", "task": "in incididunt", "iteration": 14566674.489168152, "element": 86229405.9041358 }, "errorHandler": null, "groups": [ "d66100a19cecbc8adc799a50", "7a708aec1b63a9a2dec75bea" ], "watchers": [ null, "Pronghorn" ], "metrics": { "start_time": -88040513.21332608, "progress": 0.04386163787009334, "end_time": 91833161.00371641, "user": null, "owner": null } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }