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 imported 3 of 4 documents", "data": { "_id": "7de6ffd8fe157911257f29b1", "font_size": 30160804, "type": "automation", "created": "1948-01-06T12:40:03.5Z", "last_updated": "1992-06-17T16:23:57.286Z", "createdVersion": "20152487.1594608602.8105667666", "lastUpdatedVersion": "4089.89314137000.0733891501-8094.286798.37", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": 42294485, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -23830006.005457357, "sla": 54435470.727016985, "decorators": [ { "type": "encryption", "pointer": "/g6upl/v0aH1Td/mDaEO1x1C/YAzNFGg/VtjFs-Bq/~1/~1/Y7/GX/FvtHefk/iyrTrtV-Y7" } ], "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 }, { "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": "e28f", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "in tempor quis", "dataPath": "dolor sint", "schemaPath": "dolore ex non labore laboris", "message": "dolore" }, { "keyword": "ipsum et anim elit", "dataPath": "aliqua Duis amet", "schemaPath": "magna Lorem voluptate cupidatat", "message": "Duis" }, { "keyword": "consequat incididunt nisi adipisicing", "dataPath": "dolor dolore esse sunt adipisicing", "schemaPath": "eiusmod ad ullamco quis sed", "message": "non" } ], "created_by": "2c7205e1cbc633c087138664", "last_updated_by": "eed1fcab6a1bc028ea81d5a9", "tasks": { "workflow_start": { "x": 92053156.52360895, "y": -74560993.37277201, "gridCoordinate": { "x": 26813700.163834035, "y": 98826341.81091085 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -68204190.93432428, "finish_state": "success", "user": { "_id": "289930479701458906c12898", "provenance": "laborum ipsum consectetur in proident", "username": "commodo", "firstname": "sed cillum", "memberOf": [ { "groupId": "efa0bf6b6e0c1e9db24e5bcd", "aaaManaged": true }, { "groupId": "c114e347566b2be6e884f455", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "occaecat eiusmod Lorem laborum sint" }, { "roleId": "nulla anim officia est" }, { "roleId": "reprehenderit esse labore" } ], "inactive": true, "lastLogin": "1997-05-18T10:47:59.49Z", "_meta": { "created": "1990-03-14T17:46:38.447Z", "updated": "1968-02-18T19:50:11.083Z", "migrationVersion": 3071648 }, "email": "pariatur in commodo irure veniam" } }, "groups": [ "2b0847d9b58bdfeb4709c69d", "default", "ea3beddfc4aa619cfc7cb4ef" ], "iterations": [ "BDDFa76e-ca98-D4DD-2b3E-bA181FcAfD86", "9B0cc86B-B3F6-F7bD-B38C-c21F52AB9AE3", "dBc036F5-c177-9FFC-F3ce-b9bafeECFECc" ] }, "workflow_end": { "x": -77524758.5424459, "y": -24363877.679505467, "gridCoordinate": { "x": -32197151.16061814, "y": 64739319.555731535 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start" ], "complete": [ "workflow_end", "e28f", "workflow_end", "workflow_start", "e28f" ], "error": [ "workflow_start", "workflow_start", "workflow_start", "workflow_start" ] }, "metrics": { "end_time": -75698011.61288501, "run_time": 26205634.45899746 }, "groups": [ "default", "default", "default" ], "iterations": [ "9dbd1224-bA8B-09B1-eda5-D7e3C1F54Dff" ] }, "error_handler": { "x": 65630.79085153341, "y": 68056835.36673483, "gridCoordinate": { "x": -56498265.99697856, "y": -7130631.163832173 }, "name": "childJob", "location": "Adapter", "locationType": "ullamco do", "app": "culpa in consequat dolore tempor", "canvasName": "quis magna laborum dolor sunt", "displayName": "sint aute", "summary": "non velit nulla", "description": "in pariatur incididunt ut elit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/COf/JYjyqc4S0/qCi1SG/~0/~1/~0/QXwCA4zk5j" }, { "type": "encryption", "pointer": "/u5ss1E/~1/~0/QQ3U+vK" }, { "type": "encryption", "pointer": "/~1/~0/MGlF/Rw+/I3pz6/~1/Sq.1Y/wHsT/pa4eXDVAop/Blr1lkmvf+y/~1" }, { "type": "encryption", "pointer": "/ZQXCg/~0/PLbzbPKChj/~1/bst0Lplhs/fYgW79df/ubFj9QJBOTl/W+PlfzAhHg/~1/T//~1" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "do", "highlightString": "enim nulla consectetur irure" }, { "key": "aliqua Duis non in proident", "highlightString": "ut" } ], "status": "running", "previous": { "incomplete": [ "e28f", "e28f", "workflow_start", "3a1f" ], "complete": [ "3a1f", "workflow_end", "workflow_start", "workflow_end" ], "error": [ "workflow_end", "workflow_start", "workflow_end" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "loop" } ], "error": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "loop" } ] }, "serverId": "irure Ut nulla et consectetur", "start_time": "1989-11-17T01:21:37.545Z", "end_time": 8081962.525263727, "finish_state": "success", "retrySettings": { "state": [ "failure", "error", "failure", "failure" ], "autoRetry": false, "limit": 38317642, "delay": 61458845, "count": 44692943, "finishedRetrying": false }, "type": "operation", "actor": "Pronghorn", "groups": [ "default", { "_id": "941771228378fbdb3e58742b", "provenance": "Excepteur veniam laborum velit proident", "name": "sed sunt consectetur anim", "description": "voluptate", "memberOf": [ { "groupId": "e151dc3fb367f04ba60bb770", "aaaManaged": true }, { "groupId": "bf241300a07217ac6fa863dd", "aaaManaged": true }, { "groupId": "46dd8212ca57e3b5c4eafd68", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "et consequat amet" }, { "roleId": "minim" }, { "roleId": "nisi veniam occaecat proident" }, { "roleId": "ea ad" }, { "roleId": "in est veniam laboris aute" } ], "inactive": true, "_meta": { "created": "2019-11-29T14:37:36.466Z", "updated": "1985-09-13T03:46:22.624Z", "migrationVersion": 73907699 } } ], "iterations": [ "ece66c5B-40eC-d797-C985-8C7f394c314F" ] }, "12b": { "actor": "job", "groups": [ { "_id": "0c242eaee4a9f4a4674caa7b", "provenance": "id irure laboris", "name": "voluptate aliquip sit aliqua fugiat", "description": "quis amet exercitation qui incididunt", "memberOf": [ { "groupId": "dcc6165cfb30a5eb29e851d0", "aaaManaged": false }, { "groupId": "c729ff8d7b3fea1a60a01b3b", "aaaManaged": false }, { "groupId": "d89a6ace6da30ca8dc185a5e", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consequat Excepteur dolore qui ex" }, { "roleId": "magna do Ut qui" }, { "roleId": "in ut esse" }, { "roleId": "officia do et" } ], "inactive": false, "_meta": { "created": "1994-08-23T10:17:18.944Z", "updated": "1954-12-20T15:18:52.13Z", "migrationVersion": 69883732 } }, "default", "default", "default", "e84f0bcca82fa793100c2dee" ], "iterations": [ "eB4fB2c8-2C1a-320b-81Cc-EBF4EF03cFc9", "CaC7c779-71DB-5deF-A7Ad-71382F4323A7", "EB66dd44-D6f7-e5d0-7Dae-E8df9AF21DBE" ], "x": -54754868.90688091, "y": -87197639.52157074, "gridCoordinate": { "x": 33613667.86584905, "y": 20271899.06630799 }, "name": "pending", "summary": "consequat et reprehenderit", "description": "elit labore incididunt" } }, "parent": { "task": "in", "iteration": -22579132.539878532, "element": 47495210.863574564 }, "errorHandler": { "actor": "job", "groups": [ "550b8b86db80054c6d624c3f", "9eeab87275231c01281e8055", "default", "5cb0218be51ed4ce639f57e5" ], "iterations": [ "da0Cbf13-5ca6-Bfe9-68dd-7e30d55D07Ef", "cEe4D895-623D-BDb3-56b9-13f56cc6bAad", "009C9F53-2850-Bedb-ffE0-21740556fab3" ], "x": 89899044.27987212, "y": 96523013.0342921, "gridCoordinate": { "x": -4442238.524678692, "y": 25497930.57896866 }, "name": "pending", "summary": "aliqua ipsum eiusmod ullamco Excepteur", "description": "ea nulla" }, "groups": [ "default", { "_id": "fb63eb8af73fc531f1c14c80", "provenance": "incididunt enim elit veniam", "name": "sunt", "description": "consequat", "memberOf": [ { "groupId": "dc0c029e6d1aabe343b40f51", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "velit" } ], "inactive": false, "_meta": { "created": "1977-10-06T17:37:59.365Z", "updated": "2022-07-26T00:17:06.121Z", "migrationVersion": 25985603 } }, { "_id": "271d9ca4460dc3a021fb5bf9", "provenance": "aliquip", "name": "quis est nulla", "description": "anim adipisicing veniam in", "memberOf": [ { "groupId": "8282fd3e60adb5b96581e395", "aaaManaged": false }, { "groupId": "c187de7484f786604d60d7f5", "aaaManaged": false }, { "groupId": "dc1e9e66d19a6f6cd9d2882d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliquip tempor magna dolor" }, { "roleId": "in sit exercitation" }, { "roleId": "reprehenderit dolore fugiat" }, { "roleId": "cupidatat laboris" } ], "inactive": false, "_meta": { "created": "1955-12-17T22:49:31.551Z", "updated": "2002-01-20T00:25:09.82Z", "migrationVersion": 6721935 } }, "default" ], "watchers": [ "Pronghorn" ], "metrics": { "start_time": -52096783.97752713, "progress": 0.23045815721395901, "end_time": 79304983.54715821, "user": "7d3a78489cfea4fd3d06b106", "owner": { "_id": "92bed9642a2afbd6f534d415", "provenance": "esse Ut dolor voluptate", "username": "est ullamco dolor ipsum", "firstname": "dolore aute consectetur ex tempor", "memberOf": [ { "groupId": "d31ff2f37075257840b160fd", "aaaManaged": false }, { "groupId": "7c4016f1e8b3e98ac5ec7921", "aaaManaged": false }, { "groupId": "fc3b928b69e9769507ecf6c1", "aaaManaged": false }, { "groupId": "5d1315cfea4fd794fce2f520", "aaaManaged": false }, { "groupId": "5b619f4acd42dca5d0121a86", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "incididunt aliqua esse culpa ex" }, { "roleId": "labore velit sint" }, { "roleId": "exercitation aute consectetur" }, { "roleId": "ex ullamco veniam" } ], "inactive": true, "lastLogin": "1957-05-29T00:36:44.772Z", "_meta": { "created": "1991-02-22T04:34:57.003Z", "updated": "1963-01-28T11:26:43.573Z", "migrationVersion": -79301197 }, "email": "sunt" } } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }