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": "_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 imported 3 of 4 documents", "data": { "_id": "6033f93b434745bac2f93dfd", "font_size": -64870142, "type": "automation", "created": "1949-09-03T18:58:14.919Z", "last_updated": "2012-01-27T09:31:35.852Z", "createdVersion": "8444.142.63745", "lastUpdatedVersion": "9034899.106234192.99", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": -55910903, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 18186762.35308501, "sla": -29778335.074957818, "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~1" }, { "type": "encryption", "pointer": "/ODbmnVEb/Bv/~1/FoCTUl/1" }, { "type": "encryption", "pointer": "/~1/~0" } ], "status": "error", "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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "Duis", "dataPath": "magna sint", "schemaPath": "dolor enim", "message": "Duis occaecat eiusmod non reprehenderit" }, { "keyword": "sed qui dolor", "dataPath": "est sed dolor culpa", "schemaPath": "est amet ullamco Ut", "message": "qui ipsum" } ], "created_by": "Pronghorn", "last_updated_by": null, "tasks": { "workflow_start": { "x": -6410138.138580963, "y": 65572717.76405567, "gridCoordinate": { "x": -67270485.2880924, "y": 3198572.051382035 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -84692994.48765066, "finish_state": "error", "user": "Pronghorn" }, "groups": [ "662854da33e9efab7f5b4508", { "_id": "1a8849c2793264fa47104d37", "provenance": "magna dolore quis ullamco", "name": "ex Lorem non fugiat", "description": "fugiat Lorem eiusmod culpa", "memberOf": [ { "groupId": "12524a397f1016c61f1e0b09", "aaaManaged": false }, { "groupId": "004359bc314e1feb559c74c8", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "quis aliquip" }, { "roleId": "dolor commodo" }, { "roleId": "enim do ipsum et" }, { "roleId": "labore ex veniam" }, { "roleId": "enim pariatur qui" } ], "inactive": false, "_meta": { "created": "1963-10-01T15:57:35.557Z", "updated": "1984-05-19T18:18:45.392Z", "migrationVersion": 89288204 } }, { "_id": "bcb6a3c48e20cecacc7031dc", "provenance": "tempor", "name": "ex", "description": "nulla aliquip adipisicing", "memberOf": [ { "groupId": "65593424364703f2b0bb7e4e", "aaaManaged": true }, { "groupId": "fd48d98fa90a871ea1897de0", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliquip consequat ut sit" }, { "roleId": "velit nulla sed" }, { "roleId": "id" }, { "roleId": "deserunt est" } ], "inactive": true, "_meta": { "created": "2016-02-27T22:07:38.409Z", "updated": "1951-03-14T07:35:07.033Z", "migrationVersion": -79623511 } }, "867d8d1f5289c0c317c95463" ], "iterations": [ "10eBC32c-5246-EDC3-FAA8-fB5D8fcbac00", "E1400fd4-9F39-2e84-2B46-0Bb73c8FdEd5", "Abe0BA09-eeB0-A086-4c57-8f22AECbA3C0" ] }, "workflow_end": { "x": -21566319.401791915, "y": 97015432.94939655, "gridCoordinate": { "x": -90448708.62425971, "y": -87198645.32414867 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler", "workflow_end" ], "complete": [ "workflow_end", "3a1f", "workflow_end", "workflow_end" ], "error": [ "e28f", "workflow_start", "workflow_start", "e28f", "error_handler" ] }, "metrics": { "end_time": -12056782.375188261, "run_time": -84279748.13660234 }, "groups": [ "default", "default" ], "iterations": [ "46643dec-7C77-c0Ef-213d-34CECAC53Afc" ] }, "error_handler": { "x": -8140183.838172764, "y": 76120960.13105947, "gridCoordinate": { "x": -4372482.395043775, "y": -1972546.14596951 }, "name": "childJob", "location": "Application", "locationType": null, "app": "velit commodo ad Ut", "canvasName": "incididunt laboris officia id sunt", "displayName": "ex", "summary": "adipisicing anim", "description": "dolore", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/j1gtCXi/~1/~1/W/vp1/~0/ohv/FLWg57S.Q/~1/JS,IMc6UI3T/~0/~1" }, { "type": "encryption", "pointer": "/YJZ/~0/~0/~0/~0/~1/~0" }, { "type": "encryption", "pointer": "/~0/b4Pq/mdje/~0/~1/~0/~0/~0/~1/~0/EfsTVD-" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "ut consectetur ut", "highlightString": "ad aliquip proident ut in" } ], "status": "paused", "previous": { "incomplete": [ "workflow_start", "3a1f", "workflow_start", "e28f" ], "complete": [ "workflow_start", "e28f", "e28f" ], "error": [ "error_handler", "3a1f" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "loop" } ] }, "serverId": "aute eu eiusmod Ut elit", "start_time": "2000-08-24T15:52:20.366Z", "end_time": 99779123.38970247, "finish_state": "failure", "retrySettings": { "state": [ "error" ], "autoRetry": false, "limit": 7469264, "delay": 47029379, "count": 3159134, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ "bc242e96893bfbedc58c76eb", { "_id": "74010baf7004704c0db67de4", "provenance": "officia", "name": "pariatur ullamco", "description": "ex ullamco dolore et", "memberOf": [ { "groupId": "767e1854cf1d2acac60ea851", "aaaManaged": true }, { "groupId": "5bd9eddfa12c3ed6119c32ae", "aaaManaged": true }, { "groupId": "2f8db6c19e9775548c6134f1", "aaaManaged": true }, { "groupId": "5acc500578faabc505f7285a", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Duis Excepteur fugiat elit anim" }, { "roleId": "ex laborum mollit" }, { "roleId": "ipsum ut amet culpa" }, { "roleId": "est" } ], "inactive": true, "_meta": { "created": "2017-02-25T21:06:07.025Z", "updated": "2011-04-05T16:23:06.633Z", "migrationVersion": 12706844 } }, { "_id": "6b05ddd574668df1ef9e85eb", "provenance": "qui id adipisicing", "name": "sed veniam", "description": "nulla", "memberOf": [ { "groupId": "c50cbe88eb5377153f568791", "aaaManaged": false }, { "groupId": "389817e867f01c0c60761830", "aaaManaged": true }, { "groupId": "358695d0adaf0a5e60707e32", "aaaManaged": false }, { "groupId": "026d743a0dc7e4c358d67d20", "aaaManaged": true }, { "groupId": "f12f5cbffb403b4ea27ffacc", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "voluptate ea laborum" }, { "roleId": "tempor nostrud" } ], "inactive": true, "_meta": { "created": "2014-01-01T06:01:03.425Z", "updated": "1960-01-19T20:48:59.14Z", "migrationVersion": -38824708 } }, { "_id": "8c412af8fc916a9a994ca4ab", "provenance": "culpa enim", "name": "reprehenderit nulla", "description": "tempor sint culpa velit aliquip", "memberOf": [ { "groupId": "c350691f6766c2e05f8e79e4", "aaaManaged": false }, { "groupId": "c3c49c8d2a9d0bd4def6b253", "aaaManaged": false }, { "groupId": "97d49fc39f0bba99cdc31905", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "pariatur ea in irure" } ], "inactive": true, "_meta": { "created": "1961-07-02T20:26:54.537Z", "updated": "1956-05-07T02:48:24.071Z", "migrationVersion": -1954259 } }, "80820327e1c9b16889410c81" ], "iterations": [ "3e857b48-a763-5f8b-30d2-3771Fb3e7adB", "47f2BC4D-f7fB-5bCC-FCf5-C248Aa0f6c1f" ] }, "b": { "actor": "job", "groups": [ "default", "e61e27e27d912c8384a43036" ], "iterations": [ "0aCccBAA-68eb-6bB9-6AD1-29e8d3D0dbC5" ], "x": -72309453.65743104, "y": -83432806.82436194, "gridCoordinate": { "x": 86085068.15925723, "y": -18512544.36632228 }, "name": "pending", "summary": "qui in Excepteur", "description": "anim" } }, "parent": { "job": "ut eiusmod sint", "task": "magna laboris voluptate Excepteur", "iteration": -80445180.31438397, "element": 91496648.5196338 }, "errorHandler": null, "groups": [ "97a13674770f50fd50722033", "abdb8f5ff9661c5c656dbaad", { "_id": "84a0ba45c9b062f75fef6b92", "provenance": "Duis", "name": "aliqua anim", "description": "dolor deserunt Ut ipsum", "memberOf": [ { "groupId": "9b982bac37da690bb3c3dfed", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aute labore Excepteur reprehenderit" }, { "roleId": "ea do pariatur ullamco" }, { "roleId": "commodo nostrud non" }, { "roleId": "sit voluptate ex labore" }, { "roleId": "adipisicing" } ], "inactive": true, "_meta": { "created": "1994-04-28T00:02:39.416Z", "updated": "2013-07-05T10:52:43.521Z", "migrationVersion": 48703504 } } ], "watchers": [ null, "Pronghorn", "Pronghorn", { "_id": "cfad237fc9f044fdcba9fc86", "provenance": "sed aliquip", "username": "reprehenderit commodo laboris do deserunt", "firstname": "enim eu", "memberOf": [ { "groupId": "1383b17ebf123b88236c75bf", "aaaManaged": true }, { "groupId": "01a7363f00696206b9f66a4a", "aaaManaged": true }, { "groupId": "ef18996946ecf836ec774de3", "aaaManaged": true }, { "groupId": "745544cefe0722612d67744c", "aaaManaged": true }, { "groupId": "f3d4e10c667873e3d0d1d497", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "laboris sint commodo" }, { "roleId": "mollit dolore pariatur adipisicing incididunt" }, { "roleId": "mollit dolor" }, { "roleId": "esse fugiat officia" }, { "roleId": "ipsum et laborum" } ], "inactive": false, "lastLogin": "1998-10-19T18:10:16.219Z", "_meta": { "created": "2022-02-07T00:58:22.753Z", "updated": "2025-01-15T06:51:13.617Z", "migrationVersion": 37580126 }, "email": "occaecat" } ], "metrics": { "start_time": 97754312.49707314, "progress": 0.3574987191484238, "end_time": -44067624.09977936, "user": null, "owner": { "_id": "a1283e199e91b25912e8a9cd", "provenance": "esse", "username": "tempor", "firstname": "eu irure veniam esse", "memberOf": [ { "groupId": "a5d9d4c75257e57c6e2fcd57", "aaaManaged": true }, { "groupId": "28d697daf112947c9bedb3ae", "aaaManaged": true }, { "groupId": "0736342990e4b4b6a19c7214", "aaaManaged": true }, { "groupId": "1f3387bdaba7c04c8285ac40", "aaaManaged": false }, { "groupId": "89717a11b2bd056df8be48a2", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ad qui ea" }, { "roleId": "laboris aliqua" }, { "roleId": "nisi" } ], "inactive": true, "lastLogin": "2020-09-23T09:06:22.245Z", "_meta": { "created": "1976-12-20T08:10:04.488Z", "updated": "1965-06-20T21:24:44.021Z", "migrationVersion": 73125041 }, "email": "labore consequat nisi dolor nulla" } } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }