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": "description", "exclude": "description", "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": "25457499386b3f45a983c758", "font_size": -88611012, "type": "automation", "created": "1946-07-21T14:12:17.644Z", "last_updated": "2016-10-30T16:52:45.574Z", "createdVersion": "9207997417.1996278631.9797-8873.916827.825506.9318", "lastUpdatedVersion": "8483577.4530927.1127012", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": 24764033, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 75282190.25128022, "sla": -33269912.064526916, "decorators": [ { "type": "encryption", "pointer": "/SP/sLFPnFw/Am/~0/~1/~1" }, { "type": "encryption", "pointer": "/~1/~0/~0/~0/~1" }, { "type": "encryption", "pointer": "/~1/fQx/~0/ZcNOmv/mxLx/~0/~1/Ygl6xyZXj7/~1/~1/r/~0" }, { "type": "encryption", "pointer": "/~1/~1" } ], "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": "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": "3a1f", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "fugiat" }, { "task": "workflow_start", "name": "myCoolDocumentName" } ], "ancestors": [ "9e9b9ec285bedcf7ef2b24a0", "a23a06682f2d26e2e783c979", "8e079177a075828049b901df", "aa69a348a609b9a0a12d8b25" ], "validationErrors": [ { "keyword": "in eu ea", "dataPath": "nulla", "schemaPath": "veniam id voluptate sint", "message": "deserunt commodo in qui velit" }, { "keyword": "sed magna sunt Excepteur non", "dataPath": "officia irure", "schemaPath": "officia ad anim", "message": "adipisicing ad Excepteur elit consectetur" }, { "keyword": "eu Ut nostrud Lorem", "dataPath": "in proident minim in", "schemaPath": "sed sit magna anim", "message": "nulla commodo pariatur in" } ], "created_by": { "_id": "4fdc46a64f434fc0da858988", "provenance": "Lorem consectetur fugiat occaecat deserunt", "username": "exercitation aute", "firstname": "in", "memberOf": [ { "groupId": "a64dcc5d7ff1a2a00a768e5d", "aaaManaged": true }, { "groupId": "c6a3c0026bd0abac726e2c93", "aaaManaged": true }, { "groupId": "0fac27d4a6601fde6ae9e3e7", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "officia minim proident" }, { "roleId": "ut sint" }, { "roleId": "Excepteur" }, { "roleId": "aliquip in voluptate esse" }, { "roleId": "amet" } ], "inactive": false, "lastLogin": "1949-05-21T04:03:50.338Z", "_meta": { "created": "2009-12-23T22:00:09.558Z", "updated": "1977-04-26T10:22:20.786Z", "migrationVersion": -20667486 }, "email": "velit" }, "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": 15271415.851094395, "y": 84858691.99681607, "gridCoordinate": { "x": 84889725.69571435, "y": -96818359.19093342 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -128027.56262177229, "finish_state": "error", "user": "Pronghorn" }, "groups": [ { "_id": "48ffc977f0ca2ddc501cb6f7", "provenance": "dolore Ut incididunt", "name": "non culpa nisi", "description": "Excepteur Ut irure deserunt officia", "memberOf": [ { "groupId": "205c53737c9eb40da909bcba", "aaaManaged": false }, { "groupId": "907f255763c0232c39d29d91", "aaaManaged": false }, { "groupId": "d164dc01115cead7ed584b83", "aaaManaged": false }, { "groupId": "1c51cb3e22d36c77063ad20f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "est occaecat reprehenderit" }, { "roleId": "sint consectetur" }, { "roleId": "veniam" }, { "roleId": "aliquip ut" }, { "roleId": "culpa non in in commodo" } ], "inactive": true, "_meta": { "created": "2019-02-27T13:15:50.596Z", "updated": "1991-03-31T04:17:46.105Z", "migrationVersion": -23357365 } }, { "_id": "3440275b19ec0b9c85c30e93", "provenance": "exercitation nisi dolore", "name": "magna consequat quis Lorem", "description": "consequat ut ea cillum magna", "memberOf": [ { "groupId": "6578c6e1825ea579fc2dbe5b", "aaaManaged": true }, { "groupId": "705c046e68bb5a565eaf9f3b", "aaaManaged": false }, { "groupId": "d66f86e75b1765a3e2b3e021", "aaaManaged": false }, { "groupId": "12dee2833a79a33bcb0e189c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "incididunt eiusmod nostrud" } ], "inactive": true, "_meta": { "created": "1985-04-29T06:08:41.093Z", "updated": "1946-08-02T22:08:35.756Z", "migrationVersion": 1481509 } }, "01e3736d1163ce8c2dee4758", { "_id": "f0ae8438fb113bd7cd1e8d9b", "provenance": "non ea consequat ipsum culpa", "name": "pariatur", "description": "officia proident magna", "memberOf": [ { "groupId": "86fe4a2cceb0c01438f79251", "aaaManaged": true }, { "groupId": "a747cf5f10106ac360f643e2", "aaaManaged": false }, { "groupId": "408231fd76741c7f5a16fc9a", "aaaManaged": false }, { "groupId": "3f20f0460c38eed1fc869933", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ad tempor laboris" } ], "inactive": false, "_meta": { "created": "1979-05-20T01:37:42.912Z", "updated": "1987-12-09T02:11:04.72Z", "migrationVersion": 87426210 } } ], "iterations": [ "E668baC0-248A-4Eb0-B1af-e9e62faED7Cb" ] }, "workflow_end": { "x": -49557247.62212803, "y": -74818403.8440288, "gridCoordinate": { "x": -56879259.665947534, "y": 58948469.828582704 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "workflow_end", "workflow_start", "workflow_start" ], "complete": [ "workflow_end", "workflow_start", "workflow_start" ], "error": [ "error_handler", "workflow_start" ] }, "metrics": { "end_time": 3129848.691382706, "run_time": -94105938.51251292 }, "groups": [ "default", "f11aecab334b7c9e7768a8e4", "8dae2367ecc442f5eb134003" ], "iterations": [] }, "error_handler": { "x": -82403026.59563231, "y": -9412111.921715915, "gridCoordinate": { "x": -54690093.07381536, "y": -49413368.73081856 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "ea occaecat elit", "canvasName": "ut", "displayName": "enim", "summary": "et deserunt esse ex ut", "description": "Lorem ea", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/Ggj.yRUL" }, { "type": "encryption", "pointer": "/~1/hN3ujLSq5W/zNn/ytzeKzJVB/PYxPsdVx" }, { "type": "encryption", "pointer": "/RfPXaj/~1/h9sEn/e2-4lM,/~0/RfuhsOg0/YtuAA.U/hD2t8K/~1/WXE//~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "tempor", "highlightString": "Ut" }, { "key": "sunt voluptate", "highlightString": "quis aliqua ad dolore" } ], "status": "failure", "previous": { "incomplete": [ "error_handler", "workflow_start", "error_handler", "workflow_end", "e28f" ], "complete": [ "e28f", "error_handler", "workflow_start", "3a1f" ], "error": [ "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_end", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "standard" } ], "error": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_end", "type": "standard" } ] }, "serverId": "cillum", "start_time": "2011-03-05T23:35:33.851Z", "end_time": -88240616.86799318, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "85c9751e6098c364b5544e26", "groups": [ "d690141059e4f51e9d02b038", "ce218bf01d3e8bd50ac20687", { "_id": "465a54e51db907b4fc23f10e", "provenance": "et sit consectetur aliquip", "name": "minim ullamco nulla Ut", "description": "magna laboris", "memberOf": [ { "groupId": "7655b6f363f862a3a196646f", "aaaManaged": true }, { "groupId": "20bde2f926dbe9b55ddbfc89", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "do" }, { "roleId": "exercitation dolor do cupidatat" } ], "inactive": false, "_meta": { "created": "1965-01-27T02:40:41.248Z", "updated": "2003-06-29T16:38:39.433Z", "migrationVersion": 92111813 } }, "default" ], "iterations": [ "638c3650-55aC-4525-5941-DEC1E299A171" ] }, "0aa": { "actor": "Pronghorn", "groups": [ { "_id": "20eabe67cea4a8bab619f0ca", "provenance": "nisi cillum elit", "name": "est", "description": "ea velit eu", "memberOf": [ { "groupId": "22dd0ee9189f9ad88ec1bc2e", "aaaManaged": false }, { "groupId": "ffa34068fb4742ea201e10e3", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "esse ut adipisicing Duis deserunt" } ], "inactive": true, "_meta": { "created": "1970-03-25T10:01:06.368Z", "updated": "2010-09-19T21:26:02.246Z", "migrationVersion": -76681409 } }, "default", { "_id": "cd83990593703fc92f8ca29f", "provenance": "ullamco sunt in", "name": "non", "description": "commodo laborum labore officia sit", "memberOf": [ { "groupId": "293b6f395e7d75b8448f6ec7", "aaaManaged": false }, { "groupId": "c370bc4d6ea1d71bcd596e52", "aaaManaged": true }, { "groupId": "a9c2543f52dc5b1fb6852e26", "aaaManaged": false }, { "groupId": "18c634c98792844ddf969af4", "aaaManaged": false }, { "groupId": "5511147e1906355137fc95c1", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "occaecat nulla magna sed" } ], "inactive": true, "_meta": { "created": "1997-01-21T09:36:06.3Z", "updated": "2003-08-25T05:19:38.819Z", "migrationVersion": -65764614 } }, "default", { "_id": "f922b6c062a17ae236137367", "provenance": "sunt", "name": "in id consequat", "description": "occaecat Duis voluptate laboris consequat", "memberOf": [ { "groupId": "2191a649ea9c6610e7198871", "aaaManaged": false }, { "groupId": "1abdc250d010191a66dbb7b9", "aaaManaged": true }, { "groupId": "d8c80b91637ca813d616ed01", "aaaManaged": true }, { "groupId": "1deea8b054da011d2faa4f8b", "aaaManaged": true }, { "groupId": "1465308518fd9b79411b4857", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut" }, { "roleId": "nulla qui in adipisicing ut" } ], "inactive": false, "_meta": { "created": "1974-05-03T09:03:59.883Z", "updated": "2017-12-17T11:10:58.445Z", "migrationVersion": -40897251 } } ], "iterations": [ "A5b6a23a-AFEC-f4Cc-93f6-9cdeF2Bf53aC", "BBafC421-2C38-dD42-42F9-2FEBca5F5FB3", "826dea47-8E95-24De-17cb-7D9fDf99Cf95" ], "x": -96945396.92550293, "y": 24910179.400482237, "gridCoordinate": { "x": 37598175.05871686, "y": 91422076.1120058 }, "name": "ad dolore elit Lorem", "location": "Broker", "locationType": "nisi", "app": "sunt commodo pariatur laboris", "canvasName": "childJob", "displayName": "ex", "summary": "mollit", "description": "elit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~1/fW3,,Dq/~0/~1/~0/~1/~0/Tqs/tlI,-/RDb7UWng0" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "sunt exercitation culpa", "highlightString": "elit aliquip est eu eiusmod" }, { "key": "non culpa ea velit", "highlightString": "minim" }, { "key": "Duis id dolor", "highlightString": "enim nostrud" }, { "key": "ad", "highlightString": "esse id" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start" ], "complete": [ "error_handler", "error_handler", "workflow_end" ], "error": [ "error_handler", "e28f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "3a1f", "type": "standard" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "3a1f", "type": "standard" } ] }, "serverId": "ad pariatur consectetur in", "start_time": "2022-09-22T19:17:59.253Z", "end_time": -4019320.7243994772, "finish_state": "failure", "retrySettings": null, "loop": { "atLeastOneComplete": false, "finishedCount": 41966740.37970528, "outgoing": [ "magna dolor", "Duis", "nulla dolor sunt", null ] }, "childJobs": [ { "_id": "Lorem", "name": "dolore nulla magna tempor et", "iteration": 31429175.05495207 }, { "_id": "minim consectetur incididunt", "name": "minim ea", "iteration": 76361961.62193719 }, { "_id": "id sed proident est", "name": "minim ex nisi veniam sunt", "iteration": -56251404.13245711 } ] } }, "parent": { "job": "in non sed voluptate", "task": "ut cupidatat", "iteration": -55595235.48812679, "element": 54475861.27549958 }, "errorHandler": { "actor": "job", "groups": [ "default", "default", "e0acec10ddf1457d8fdadbf6", { "_id": "8e070dc0749d96e3ab98e9aa", "provenance": "fugiat", "name": "dolore qui ipsum est in", "description": "veniam in fugiat in", "memberOf": [ { "groupId": "4a3fe7227c9e42fdb48176b4", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Ut et in nulla" } ], "inactive": true, "_meta": { "created": "2010-10-14T01:36:21.187Z", "updated": "1978-05-26T19:43:05.64Z", "migrationVersion": 47522738 } }, "default" ], "iterations": [ "692f1A76-45C9-e2c5-e4Df-05a0FF027B77", "0cbcE87E-b40e-8acE-2Cb5-cbb339d4d65C" ], "x": -55517276.958538145, "y": -60710863.55231148, "gridCoordinate": { "x": 69209101.73265189, "y": 44021821.161818 }, "name": "aliqua aute in Excepteur", "location": "Broker", "locationType": "sed", "app": "nostrud dolore", "canvasName": "childJob", "displayName": "ullamco tempor occaecat laboris", "summary": "laboris quis ullamco minim", "description": "amet", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/GXb4" }, { "type": "encryption", "pointer": "/~0/I1V+h/~1/~0/~0/HZa1Or+e" }, { "type": "encryption", "pointer": "/IKavUzQ5qyn/Mbhf,/sQQGv" }, { "type": "encryption", "pointer": "/~0/~1/Z31/~1/~1/KtWNE,./qgXWcDI0/~0/~0/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "est consequat incididunt mollit quis", "highlightString": "nulla velit pariatur dolore Excepteur" }, { "key": "enim magna adipisicing irure et", "highlightString": "cupidatat" }, { "key": "cillum dolore magna deserunt ex", "highlightString": "veniam in ut id" }, { "key": "adipisicing nisi nulla exercitation ut", "highlightString": "Duis non mollit" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start" ], "complete": [ "error_handler" ], "error": [ "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "3a1f", "type": "revert" }, { "task": "3a1f", "type": "loop" } ] }, "serverId": "cillum quis ullamco commodo", "start_time": "1953-07-11T20:21:29.145Z", "end_time": -36044447.248431586, "finish_state": "error", "retrySettings": null, "loop": { "atLeastOneComplete": true, "finishedCount": 59637644.6190007, "outgoing": [ "occaecat officia ea", "mollit", null ] }, "childJobs": [ { "_id": "amet", "name": "anim consectetur", "iteration": -75249701.96862979 }, { "_id": "in Duis eiusmod incididunt deserunt", "name": "dolor amet consequat", "iteration": 35009288.58283788 }, { "_id": "dolore non aute laborum", "name": "nostrud tempor", "iteration": -57109089.037371285 } ] }, "groups": [ { "_id": "a727b4ea22462eed40ba179c", "provenance": "Lorem cupidatat exercitation eiusmod ullamco", "name": "cupidatat consequat aute labore adipisicing", "description": "ea", "memberOf": [ { "groupId": "e059d76e09e20b52050ca904", "aaaManaged": false }, { "groupId": "3e53873f471c457a92f142b9", "aaaManaged": false }, { "groupId": "b1661d5e39439c8eb55aab1e", "aaaManaged": true }, { "groupId": "2fb775d25b05093545d5a3e5", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consectetur ea deserunt cillum" }, { "roleId": "fugiat in nulla aute Excepteur" }, { "roleId": "est ut irure anim" }, { "roleId": "eu consectetur" }, { "roleId": "sunt sit in Ut" } ], "inactive": true, "_meta": { "created": "1987-04-06T13:44:10.468Z", "updated": "1990-02-23T06:01:58.393Z", "migrationVersion": -51472134 } } ], "watchers": [ "d7a5a1bea24816c27ccd150a", null, "Pronghorn", "Pronghorn" ], "metrics": { "start_time": -206407.89402501285, "progress": 0.7684085948882546, "end_time": 7998876.386952817, "user": null, "owner": "8d3b0447707096a789814054" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }