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": "820b3feffc2c71c292dedfe0", "uuid": "706a5dd4-75d5-016b-f053-745549bc2cc4", "font_size": 68634448, "type": "automation", "created": "2016-03-01T07:38:31.471Z", "last_updated": "2019-08-29T03:42:44.113Z", "createdVersion": "23.103902.69", "lastUpdatedVersion": "7970.34489627.61", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": 35489060, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 94240108.92064714, "sla": -29791817.763128176, "decorators": [ { "type": "encryption", "pointer": "/~1/~0" }, { "type": "encryption", "pointer": "/NxO4JX7g/~1/~0/y1bQpn/zYz/~0/~0/hiS-/B/~0/~0" }, { "type": "encryption", "pointer": "/lWtqa9i7A0/hB-b,h3/k3WTG3,7i/~0/nq1vh2Naba/q62Is/iLd63WSj/i54i,hW/~0/bm4qsL/ooV" }, { "type": "encryption", "pointer": "/aJ/WeLz5x2/NUPojFn1XLd/~0/Qeeuo9u/NgE/wY/bF/~0/~0/~1/~0" } ], "status": "paused", "tags": [], "error": [ { "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 } ], "warnings": [ { "task": "error_handler", "name": "myCoolDocumentName", "message": "dolore veniam quis irure ea" }, { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "officia id eiusmod" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "consectetur dolor aliqua magna" }, { "task": "e28f", "name": "myCoolDocumentName" } ], "ancestors": [ "b83909b8329b77859fac0a0f", "c1d9fa7d737b7323eeea5402", "a198634e4acdf842177a9e15", "bb0442b4267768ffb9299ee2" ], "validationErrors": [ { "keyword": "cillum ut", "instancePath": "est incididunt in", "schemaPath": "ex cillum officia deserunt", "message": "anim nostrud" }, { "keyword": "minim dolor aliqua Ut", "instancePath": "amet", "schemaPath": "enim laboris consequat ut", "message": "proident incididunt ad sint dolor" }, { "keyword": "id adipisicing labore", "instancePath": "dolor dolore cillum", "schemaPath": "eu officia sint ex pariatur", "message": "Duis ullamco Lorem incididunt cupidatat" }, { "keyword": "exercitation", "instancePath": "velit minim mollit", "schemaPath": "mollit et aliquip ullamco", "message": "proident nostrud Duis elit" } ], "created_by": { "_id": "3d53fb95ce289caa1cfff3d3", "provenance": "ipsum mollit eiusmod", "username": "culpa", "firstname": "ut ad sed", "memberOf": [ { "groupId": "39255dae9ac2da0fdb58380f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "do adipisicing ullamco laborum deserunt" }, { "roleId": "nostrud culpa magna" }, { "roleId": "culpa" }, { "roleId": "occaecat dolore enim" }, { "roleId": "dolore consequat esse labore Excepteur" } ], "inactive": false, "lastLogin": "1955-01-01T14:33:12.79Z", "_meta": { "created": "2004-12-18T07:11:24.43Z", "updated": "2011-06-05T08:49:30.344Z", "migrationVersion": 89360872 }, "email": "officia adipisicing irure" }, "last_updated_by": "Pronghorn", "tasks": { "9": { "x": -30252164.550500154, "y": 61745547.569499105, "gridCoordinate": { "x": 83155717.74851894, "y": -78417329.72242461 }, "name": "id eu Excepteur", "location": "Application", "locationType": "sed", "app": "sunt eiusmod non", "canvasName": "enim", "displayName": "nisi dolore ea esse ullamco", "summary": "cupidatat pariatur occaecat", "description": "proident sed sit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/We/~0/~1/~1/b1acBr/~0/~1/OZ8/~0" }, { "type": "encryption", "pointer": "/AV,5/X/a/~1" }, { "type": "encryption", "pointer": "/JbRYQzz9/ukbpJKG/gtP-T/xAR/MimIT0/Mk/~1/~0/JKM8" }, { "type": "encryption", "pointer": "/~0/~0/~0/~1/~1/fNzO/K1er" }, { "type": "encryption", "pointer": "/A/ccq,l-q/~1/bA8W9-uhIb9/~0/NXK1rwqlnrg/lb/~1/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "sint", "highlightString": "ex labore nisi" } ], "status": "canceled", "previous": { "incomplete": [ "workflow_end" ], "complete": [ "workflow_end", "3a1f", "workflow_start" ], "error": [ "workflow_start", "3a1f", "error_handler", "e28f", "workflow_start" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "revert" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "loop" } ] }, "serverId": "ad quis Duis consectetur", "start_time": "1975-05-11T00:34:15.588Z", "end_time": -2086160.326731652, "finish_state": "failure", "retrySettings": { "state": [ "success", "failure", "success" ], "autoRetry": true, "limit": 8122856, "delay": 39511570, "count": 36943068, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ "default", "default" ], "iterations": [ "C8F0eAD7-97bE-a5db-3c4c-8aDf2F1Dc199" ] }, "workflow_start": { "x": 20539445.348527387, "y": 78771795.55856436, "gridCoordinate": { "x": 23741465.27805099, "y": 80155513.7671932 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -67117784.90696006, "finish_state": "error", "user": "Pronghorn" }, "groups": [ { "_id": "91fe5aaf51bb0f738b796ab5", "provenance": "ex sit", "name": "fugiat est ex nulla in", "description": "id ad ullamco elit", "memberOf": [ { "groupId": "fc5bc6fc13163507a8803a59", "aaaManaged": false }, { "groupId": "f26e0cd02204909375776100", "aaaManaged": false }, { "groupId": "9fae4d3b65e3309fdee8f72a", "aaaManaged": false }, { "groupId": "d134f5a89a70def8b9cee2e9", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sit id non ex" }, { "roleId": "commodo fugiat veniam ullamco" }, { "roleId": "velit" }, { "roleId": "dolor adipisicing non commodo nostrud" }, { "roleId": "esse veniam nulla ipsum nostrud" } ], "inactive": false, "_meta": { "created": "1995-02-01T14:21:32.069Z", "updated": "2002-04-30T09:42:13.341Z", "migrationVersion": -58399317 } }, { "_id": "04a534a2c09152d04ba4b96f", "provenance": "ut voluptate culpa eiusmod pariatur", "name": "officia", "description": "ut in in ex nisi", "memberOf": [ { "groupId": "4cabfd1efc14f88b3133d0c0", "aaaManaged": false }, { "groupId": "a0bab02fdb9ca36e475e0785", "aaaManaged": false }, { "groupId": "10d5cb0c20922ec420d91d1b", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "non cupidatat ut" }, { "roleId": "dolor in" }, { "roleId": "aliqua reprehenderit in labore fugiat" } ], "inactive": true, "_meta": { "created": "2003-09-15T01:52:54.245Z", "updated": "1962-06-02T19:28:38.445Z", "migrationVersion": -97590434 } }, { "_id": "f03d69f175b6dff2dab87bb1", "provenance": "ipsum", "name": "cillum laboris aliqua", "description": "sit voluptate pariatur sunt", "memberOf": [ { "groupId": "95ba796779ea660d85fa85e3", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consequat Lorem proident Excepteur reprehenderit" }, { "roleId": "elit minim" } ], "inactive": false, "_meta": { "created": "1977-07-14T18:17:17.99Z", "updated": "2000-05-24T04:47:26.313Z", "migrationVersion": -39132988 } }, "82bd484924758fa5e68ff16c" ], "iterations": [ "Da5Dd7bb-4aa2-a1Ba-40F2-9B442dd4A85b" ] }, "workflow_end": { "x": -88925668.40857117, "y": 71330893.15521008, "gridCoordinate": { "x": -59553749.20353744, "y": 17603670.421377912 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "workflow_end", "workflow_end", "workflow_start", "workflow_start" ], "complete": [ "e28f", "error_handler", "3a1f", "workflow_end", "workflow_start" ], "error": [ "error_handler", "error_handler", "workflow_start" ] }, "metrics": { "end_time": 30098127.212731823, "run_time": 52942060.36097267 }, "groups": [ "default", "e02a0daf555f144976112183", { "_id": "a167ac7c9312604e9afac6dd", "provenance": "et esse mollit ex", "name": "Excepteur tempor Duis dolore eiusmod", "description": "Duis", "memberOf": [ { "groupId": "f6bff0a901110affc94bdacf", "aaaManaged": false }, { "groupId": "1e397188acd397500568bfe4", "aaaManaged": false }, { "groupId": "b7c9245377d426cc4eb16759", "aaaManaged": true }, { "groupId": "3d035016bc2557cbcbc01d80", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "labore" } ], "inactive": true, "_meta": { "created": "2021-10-20T03:25:33.961Z", "updated": "2017-06-28T05:20:21.435Z", "migrationVersion": 87945412 } }, "fae8b16271b599fc73ca880b", "default" ], "iterations": [] }, "error_handler": { "x": -78427314.2864623, "y": 92883271.89741245, "gridCoordinate": { "x": -60112340.10886137, "y": -17878736.65212451 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "incididunt tempor officia ut", "canvasName": "ullamco officia Excepteur do", "displayName": "ullamco commodo nostrud", "summary": "Duis ullamco", "description": "Excepteur amet id", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/nuImYDy0kn0/~1/hIhf/Lbi/m7" }, { "type": "encryption", "pointer": "/YNZiaDI/~0/~0/kd3AfaBj/~0/~1/~1/~1" }, { "type": "encryption", "pointer": "/hKvf2CZRLjL/~1/~0/J+Y1FKS,gO/Dv1/l/~1/~0/SHRkwwh7/~0/QOeynS9r" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "officia adipisicing", "highlightString": "sit ad magna eu" }, { "key": "dolore in", "highlightString": "nulla anim laborum velit occaecat" }, { "key": "et reprehenderit", "highlightString": "anim incididunt" }, { "key": "officia culpa cupidatat", "highlightString": "sit tempor sunt" }, { "key": "laboris officia dolore", "highlightString": "in ipsum deserunt" } ], "status": "incomplete", "previous": { "incomplete": [ "workflow_start", "e28f" ], "complete": [ "workflow_start" ], "error": [ "error_handler", "error_handler" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "loop" } ] }, "serverId": "irure", "start_time": "1999-01-04T13:38:19.284Z", "end_time": 2395601.436369121, "finish_state": "error", "retrySettings": { "state": [ "success" ], "autoRetry": true, "limit": 93719461, "delay": 82633936, "count": 90932630, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ { "_id": "1b3fd4dc958baced570b7799", "provenance": "do dolore dolore eiusmod", "name": "in fugiat", "description": "Lorem qui", "memberOf": [ { "groupId": "0a772595301129a25cb147a4", "aaaManaged": false }, { "groupId": "f43e38e2d266ba13a0b8dd58", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "exercitation ut sint" }, { "roleId": "est occaecat ut dolore" }, { "roleId": "irure in Ut" }, { "roleId": "dolore" } ], "inactive": false, "_meta": { "created": "2010-03-13T01:18:06.621Z", "updated": "1995-07-18T23:52:56.661Z", "migrationVersion": 24944706 } }, "default", "61ed40d501232e6e2c1c5719", { "_id": "107e51ef83dce971d0467208", "provenance": "laboris ipsum fugiat", "name": "sed Excepteur quis nulla commodo", "description": "Excepteur in commodo ipsum", "memberOf": [ { "groupId": "fde41bb39b63a648b8b45829", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sunt laborum quis" }, { "roleId": "pariatur Ut" } ], "inactive": true, "_meta": { "created": "1968-12-03T07:01:45.93Z", "updated": "2015-03-10T21:53:10.316Z", "migrationVersion": 61946059 } } ], "iterations": [ "FbeE00De-AFd6-2a92-cB25-DafED25e823a" ] } }, "parent": { "job": "quis est dolore aute anim", "task": "sit Ut fugiat Excepteur", "iteration": 41918425.67606673, "element": -87223962.09368956 }, "errorHandler": null, "groups": [ { "_id": "add8b3c1dcf1b2add624be66", "provenance": "sit", "name": "magna adipisicing fugiat eu", "description": "Lorem dolore", "memberOf": [ { "groupId": "cc64d3c206f31d4ac44b20f1", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ipsum proident" } ], "inactive": false, "_meta": { "created": "1980-01-20T12:19:03.738Z", "updated": "1960-08-01T19:33:34.952Z", "migrationVersion": -86993973 } }, "default", "default", "default", "889b31c3a0ed34c908bb4c88" ], "watchers": [ { "_id": "53d42be1ad185a12ff19e0a5", "provenance": "velit", "username": "commodo magna Duis", "firstname": "cillum eu nostrud culpa", "memberOf": [ { "groupId": "ea7d9d5ecdb1c116fa14f8e0", "aaaManaged": true }, { "groupId": "01369c2c656fe5972f7ee280", "aaaManaged": true }, { "groupId": "aea6425b6faf4c281f42b354", "aaaManaged": true }, { "groupId": "f446dbedcce7c0961b42e9c6", "aaaManaged": true }, { "groupId": "65cc6ea75db545ebe8d4012e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aute anim exercitation" }, { "roleId": "ullamco ex id officia" }, { "roleId": "do in pariatur" } ], "inactive": false, "lastLogin": "1990-07-04T05:38:38.055Z", "_meta": { "created": "2012-02-08T06:13:59.233Z", "updated": "2004-11-10T06:55:09.631Z", "migrationVersion": -99620977 }, "email": "Duis magna" }, "Pronghorn" ], "metrics": { "start_time": -32241247.55890663, "progress": 0.930268434584546, "end_time": 79666360.96986774, "user": "ba73ae276aa4fd43bc6b20cb", "owner": "ada92e80fec63ad7fd96c10d" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }