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,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": "a0f0fb2d06f07f43c91baf6c", "font_size": 84353792, "type": "automation", "created": "1974-05-06T22:12:41.714Z", "last_updated": "2005-09-29T15:32:34.904Z", "createdVersion": "260293.16.97372", "lastUpdatedVersion": "099.912472.5", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": 5106812, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -68348983.56290919, "sla": 1015617.2758701891, "decorators": [ { "type": "encryption", "pointer": "/xm" }, { "type": "encryption", "pointer": "/~0/~1/xJyc6noI" } ], "status": "running", "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 } ], "warnings": [ { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "incididunt consectetur sed est" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "quis ut" } ], "ancestors": [ "516ffc78ee2e4f50fdf6e4e4", "a0b17909fa6576b548dd57d4", "39f244a64d8acdd9ad22a06b", "6b1ae650fd1c2ce498df8b95" ], "validationErrors": [ { "keyword": "mollit ut esse", "instancePath": "dolor", "schemaPath": "Lorem in ad laborum nisi", "message": "cillum" }, { "keyword": "aliquip dolor", "instancePath": "magna voluptate", "schemaPath": "sint ex", "message": "adipisicing laborum ad nisi minim" } ], "created_by": { "_id": "17b3ba9a4eb6d00b2907eaf4", "provenance": "sed dolor est in sit", "username": "incididunt occaecat cupidatat officia", "firstname": "incididunt et dolore qui exercitation", "memberOf": [ { "groupId": "af4b381059966a7fb2359dd0", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "labore aliquip" }, { "roleId": "eu sint anim velit" } ], "inactive": true, "lastLogin": "2006-09-14T11:50:38.461Z", "_meta": { "created": "1961-12-28T00:47:21.897Z", "updated": "2000-06-28T23:47:51.704Z", "migrationVersion": -96502889 }, "email": "ipsum Excepteur" }, "last_updated_by": "576cd24d844278b67871246f", "tasks": { "workflow_start": { "x": 2254705.2898516953, "y": 18069229.54130137, "gridCoordinate": { "x": 34291482.70560631, "y": -64369468.18207447 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 5456030.630034238, "finish_state": "failure", "user": null }, "groups": [ "default", "d3c79f392bef18b6c9603790", "8eac73e4d6ac996c69ea78c7" ], "iterations": [] }, "workflow_end": { "x": 33081330.46359463, "y": -59283818.89169163, "gridCoordinate": { "x": 4100509.0808553696, "y": 44364330.20056477 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler", "workflow_start", "3a1f" ], "complete": [ "e28f", "workflow_end", "workflow_start", "3a1f" ], "error": [ "workflow_start" ] }, "metrics": { "end_time": 41093294.38305527, "run_time": -31667289.052309394 }, "groups": [ "default", { "_id": "230c8c934f214e3f6a3186af", "provenance": "enim et laborum aliqua", "name": "in", "description": "qui sint Lorem in veniam", "memberOf": [ { "groupId": "cdf1720df68085479db3213a", "aaaManaged": true }, { "groupId": "50413126733e4072abb33003", "aaaManaged": false }, { "groupId": "5c846940b9eb11945171d16e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aute" }, { "roleId": "commodo reprehenderit" }, { "roleId": "enim in nulla" }, { "roleId": "esse ad" }, { "roleId": "sit Duis eu labore" } ], "inactive": false, "_meta": { "created": "1951-11-02T22:42:05.205Z", "updated": "1971-09-30T23:01:05.173Z", "migrationVersion": -26391274 } }, { "_id": "2feae2fd4c7741ed11de46e7", "provenance": "fugiat Duis nulla sunt cupidatat", "name": "in", "description": "incididunt", "memberOf": [ { "groupId": "4fc256a028cf585f04436178", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aliqua adipisicing" }, { "roleId": "nostrud dolore in" }, { "roleId": "fugiat" }, { "roleId": "ipsum ullamco" }, { "roleId": "officia consectetur" } ], "inactive": true, "_meta": { "created": "1965-09-29T04:11:54.977Z", "updated": "2014-08-04T15:33:34.504Z", "migrationVersion": -93739627 } } ], "iterations": [] }, "error_handler": { "x": 69778857.54713032, "y": 80067217.62768003, "gridCoordinate": { "x": 73515193.62938797, "y": 78750499.52493477 }, "name": "childJob", "location": "Adapter", "locationType": "qui ut mollit sit", "app": "ipsum reprehenderit commodo quis", "canvasName": "ex culpa", "displayName": "sed enim", "summary": "ut exercitation", "description": "elit dolor Lorem", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/GB/~1/agnGRUgbLeW/pyh/y6QmFit/QC/msW+pfQtl7/JRnAX.,/R18vuUE.Ii" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "officia dolore ad", "highlightString": "deserunt non" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_start", "workflow_end" ], "complete": [ "workflow_start", "workflow_end", "e28f", "e28f", "error_handler" ], "error": [ "3a1f", "3a1f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "revert" } ] }, "serverId": "occaecat qui", "start_time": "1972-03-08T05:49:18.439Z", "end_time": -50830685.83345365, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "904374e6d1d42fbf4c01b69a", { "_id": "623cfb2f4623013f33aeff55", "provenance": "sit", "name": "dolore reprehenderit Excepteur veniam non", "description": "laborum officia", "memberOf": [ { "groupId": "7560445cda3d7777435f06e5", "aaaManaged": false }, { "groupId": "956a11c5db9dbca2c5e7c812", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "proident occaecat Lorem sit" }, { "roleId": "officia nisi nostrud in mollit" }, { "roleId": "in amet exercitation ea Lorem" }, { "roleId": "deserunt consectetur" }, { "roleId": "eiusmod" } ], "inactive": false, "_meta": { "created": "1984-03-30T16:28:19.99Z", "updated": "2004-09-20T16:23:51.144Z", "migrationVersion": -99842447 } }, "default", { "_id": "d125e345edcdbac6fea92bd7", "provenance": "amet exercitation eu aute", "name": "ipsum occaecat Ut ut dolore", "description": "voluptate", "memberOf": [ { "groupId": "0569ad2ecb1ea0ce1260863e", "aaaManaged": true }, { "groupId": "32f5b2a2f2f7f3f92273f213", "aaaManaged": true }, { "groupId": "d0095bed45cdc040a9502193", "aaaManaged": false }, { "groupId": "1c8b814277a2d2929aaa6c1a", "aaaManaged": false }, { "groupId": "19b96c3a230e6d3e6413b5d2", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "minim dolor deserunt in" }, { "roleId": "cupidatat" }, { "roleId": "nostrud voluptate" }, { "roleId": "enim aliquip ex commodo nisi" }, { "roleId": "in officia culpa et" } ], "inactive": false, "_meta": { "created": "2004-07-28T23:07:49.42Z", "updated": "1976-05-29T16:25:52.356Z", "migrationVersion": 8462192 } }, { "_id": "28da76efb0cf52666953ff3a", "provenance": "mollit", "name": "eu sed non", "description": "pariatur exercitation in", "memberOf": [ { "groupId": "ca6f105c9388afafbe03f2c5", "aaaManaged": false }, { "groupId": "af0217505a0baad56cdf1016", "aaaManaged": true }, { "groupId": "4f005b4a11e9fc56067ddc4f", "aaaManaged": false }, { "groupId": "f13307bc6e05bb2440bcb0ab", "aaaManaged": false }, { "groupId": "e4e5a3317e7794dbe88398d8", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sint" }, { "roleId": "aute irure Excepteur ut nisi" }, { "roleId": "laborum reprehenderit" }, { "roleId": "adipisicing" }, { "roleId": "aliquip adipisicing officia" } ], "inactive": true, "_meta": { "created": "2019-07-18T10:11:16.145Z", "updated": "2013-09-16T13:52:53.056Z", "migrationVersion": 28102749 } } ], "iterations": [ "f452D7Cc-A53f-0968-dfbc-EFEF6eAaB59E" ] }, "a49": { "actor": "$var.job.dOlIHge", "groups": [ "36ce9e83a77975df8659f355", "21ed8625a065c05925ec7d7d" ], "iterations": [ "3fE5B8fd-ADbd-5C75-b9D0-eC4EA278E6EA" ], "x": 62645028.87477347, "y": -64637873.12766498, "gridCoordinate": { "x": -30210730.31474808, "y": -60589648.96129253 }, "name": "consectetur Ut aute est", "location": "Application", "locationType": null, "app": "labore laborum fugiat", "canvasName": "consectetur mollit laborum sit", "displayName": "in cillum voluptate reprehenderit", "summary": "do exercitation Excepteur", "description": "velit anim occaecat", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/cv/PZRN47c/Ti/~0/~1/SP," }, { "type": "encryption", "pointer": "/~1/~0/G/~1/~0/~1/~1/NtCc/~1/pfq" }, { "type": "encryption", "pointer": "/~0/~1" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "eiusmod minim cillum eu do", "highlightString": "tempor fugiat" } ], "status": "error", "previous": { "incomplete": [ "workflow_end" ], "complete": [ "workflow_start", "workflow_start", "3a1f", "error_handler" ], "error": [ "error_handler", "workflow_end" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "error_handler", "type": "loop" }, { "task": "workflow_end", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "laboris sint sit", "start_time": "2024-01-28T03:42:57.647Z", "end_time": -80417034.01832531, "finish_state": "success", "retrySettings": null, "type": "automatic" } }, "parent": { "task": "fugiat velit", "iteration": 78848319.92238355, "element": -21965768.518132836 }, "errorHandler": null, "groups": [ "257ed0d64a5ed3332364914f", "a4b64ae6018363ebb9ede7ee", "5c7b56b5c1596bee8d06c0de" ], "watchers": [ { "_id": "903bac1fd35e8477d4a4a1e2", "provenance": "velit dolore Lorem aute", "username": "ea", "firstname": "veniam anim", "memberOf": [ { "groupId": "19704ba8e77ebbba5a99b2cc", "aaaManaged": true }, { "groupId": "da8f60e4dd55c8eb53791cb2", "aaaManaged": true }, { "groupId": "b4317aece39941e4d9790351", "aaaManaged": true }, { "groupId": "b7c22923eac942f79da0f439", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "officia fugiat voluptate" }, { "roleId": "Duis do exercitation culpa ullamco" }, { "roleId": "adipisicing pariatur" }, { "roleId": "non id" }, { "roleId": "elit consequat" } ], "inactive": false, "lastLogin": "2023-03-22T09:14:50.091Z", "_meta": { "created": "1974-07-21T23:55:52.695Z", "updated": "1996-01-01T17:09:13.752Z", "migrationVersion": -52203685 }, "email": "dolore deserunt" }, { "_id": "ce48919318af143e837e8699", "provenance": "ex fugiat labore exercitation occaecat", "username": "exercitation dolore esse", "firstname": "dolore in id", "memberOf": [ { "groupId": "d5b8a9226e0a3b5cf63142ec", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nulla voluptate in culpa aliquip" }, { "roleId": "pariatur sit ipsum ut" }, { "roleId": "dolor sit nulla anim ex" }, { "roleId": "ut aliquip ea non" } ], "inactive": true, "lastLogin": "2013-02-01T21:48:14.368Z", "_meta": { "created": "2018-09-11T19:29:14.3Z", "updated": "1982-10-17T14:54:00.627Z", "migrationVersion": 59353058 }, "email": "pariatur ex" }, { "_id": "d4752aebf400f7947e890226", "provenance": "anim consequat sed aliqua", "username": "officia dolor Lorem sed amet", "firstname": "ut eiusmod culpa", "memberOf": [ { "groupId": "03d771ca6cbb5345928b3224", "aaaManaged": true }, { "groupId": "e266bc5623c789711c73e994", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "laborum" } ], "inactive": true, "lastLogin": "2019-03-02T03:25:10.463Z", "_meta": { "created": "2007-07-07T09:23:23.056Z", "updated": "1985-03-23T20:22:41.931Z", "migrationVersion": 66672360 }, "email": "non minim Lorem" }, "Pronghorn", "Pronghorn" ], "metrics": { "start_time": -47190748.59654459, "progress": 0.494835282879992, "end_time": -76587412.93953119, "user": "Pronghorn", "owner": "e1e8b70ba2443c2e3078404c" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }