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": "bc1a6378bc073b8e3573c9c9", "font_size": -88703851, "type": "automation", "created": "1986-09-02T15:19:39.318Z", "last_updated": "2018-04-30T08:44:58.557Z", "createdVersion": "9538377.044.097769954", "lastUpdatedVersion": "337.190003489.2126917-3325.04749422739.1805480", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -72305156, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 30809577.99238427, "sla": 6972588.983802021, "decorators": [ { "type": "encryption", "pointer": "/~1/Rhz3.u4jOm/aSLaDU3+kME/~1/qmpSzUO3Qq//Exfw+M/~0/~0/hSVU/~1" }, { "type": "encryption", "pointer": "/~1/~0/~0/X2.vPg2GJ/gHHa5xbERSR" }, { "type": "encryption", "pointer": "/h8ccsxJKtou/V36nkKqoU/FxWm/~0/~1" } ], "status": "error", "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": "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 }, { "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": "workflow_start", "name": "myCoolDocumentName", "message": "qui labore deserunt est ea" } ], "ancestors": [ "07e838cdb4f66405f39c4b39", "7915e1b6852325f814c89dfe", "75399840dbb165aa5f1c8ec0", "08ae6f3943601eade505f6bd", "0cffd6816ae7a92a82c99c50" ], "validationErrors": [ { "keyword": "voluptate sunt", "dataPath": "proident nisi consectetur Excepteur Lorem", "schemaPath": "voluptate ullamco sit nisi", "message": "eiusmod tempor anim" }, { "keyword": "in eiusmod", "dataPath": "pariatur Lorem tempor Duis magna", "schemaPath": "nisi officia elit Excepteur", "message": "sit" }, { "keyword": "elit amet", "dataPath": "reprehenderit", "schemaPath": "amet eiusmod mollit", "message": "do nisi" }, { "keyword": "aliquip", "dataPath": "adipisicing enim ut", "schemaPath": "do officia velit", "message": "quis velit ut Excepteur aute" } ], "created_by": "Pronghorn", "last_updated_by": { "_id": "995e3b3eb4f919ab293f86c0", "provenance": "consequat in", "username": "cupidatat enim sunt", "firstname": "adipisicing in", "memberOf": [ { "groupId": "b3863f88165d4b15a07a0e8c", "aaaManaged": true }, { "groupId": "8d0d917d07d0030b2f2c619c", "aaaManaged": false }, { "groupId": "254075a7b776f5c2aa0540b1", "aaaManaged": false }, { "groupId": "f2fd22a40254e43fcf75efcd", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliquip labore minim" }, { "roleId": "exercitation aliqua commodo incididunt" }, { "roleId": "elit sunt proident" }, { "roleId": "id" } ], "inactive": false, "lastLogin": "2009-01-25T16:24:55.256Z", "_meta": { "created": "1964-03-08T23:46:34.279Z", "updated": "1945-04-30T08:03:12.858Z", "migrationVersion": -57319665 }, "email": "ea adipisicing qui sed" }, "tasks": { "workflow_start": { "x": -6293762.820713326, "y": -59351368.01598722, "gridCoordinate": { "x": 37748843.62590036, "y": -45529410.69260101 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 85499652.01461661, "finish_state": "error", "user": { "_id": "8053dc0462bbff38377f1c63", "provenance": "nisi consequat occaecat", "username": "veniam magna do deserunt quis", "firstname": "aute adipisicing eu", "memberOf": [ { "groupId": "4eb689fb141e598828bb311c", "aaaManaged": true }, { "groupId": "31ce6aeb075b3126b7ac732d", "aaaManaged": false }, { "groupId": "095069a872fcd7402272426e", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "eiusmod voluptate labore" }, { "roleId": "quis anim deserunt laborum" }, { "roleId": "ad exercitation dolore" } ], "inactive": false, "lastLogin": "1956-06-08T01:30:53.792Z", "_meta": { "created": "1982-08-24T03:44:44.378Z", "updated": "2018-09-21T00:00:07.363Z", "migrationVersion": 56953184 }, "email": "non aliqua dolore cupidatat" } }, "groups": [ "3172e17332402bfe4ddcc7bc", "affc17e1fabcada6988ad496" ], "iterations": [ "5BCf23cF-D4a9-3E25-FE37-9b6fcF5Ec65F", "282bBBfb-BC8d-384f-0a8C-f7D0d7CBE77F" ] }, "workflow_end": { "x": -6034346.161034197, "y": -79369453.76212421, "gridCoordinate": { "x": -3979058.389507711, "y": -28956064.314842507 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "e28f", "e28f", "workflow_start" ], "complete": [ "workflow_start", "workflow_start", "3a1f", "workflow_start" ], "error": [ "workflow_end" ] }, "metrics": { "end_time": -40653476.78067219, "run_time": 10537385.18450138 }, "groups": [ "default", "06be2f0884a225ad4b6e2062", { "_id": "59682965050af95231d87afb", "provenance": "nostrud est enim aute", "name": "dolor irure minim qui veniam", "description": "officia", "memberOf": [ { "groupId": "0891addc88d8997d76d45386", "aaaManaged": false }, { "groupId": "b576e2b1e79eead85cbb428f", "aaaManaged": true }, { "groupId": "af3c8fee6386d63d70368967", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Excepteur" }, { "roleId": "ut id ut commodo est" } ], "inactive": false, "_meta": { "created": "1953-08-24T04:27:47.731Z", "updated": "1989-12-25T17:00:16.284Z", "migrationVersion": -97398459 } }, { "_id": "227d70d26c61fac4eae1c286", "provenance": "ex occaecat", "name": "ea", "description": "sed labore in Excepteur", "memberOf": [ { "groupId": "58704ec86b4d76249c2e69a3", "aaaManaged": true }, { "groupId": "11b7a355de235652f82b2d3b", "aaaManaged": true }, { "groupId": "b4118e121db33a8c65abb386", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "velit ut dolore" } ], "inactive": false, "_meta": { "created": "2007-03-15T18:00:08.006Z", "updated": "2012-04-11T01:31:11.416Z", "migrationVersion": 7415703 } } ], "iterations": [] }, "error_handler": { "x": -74755486.9026747, "y": -3633893.868770331, "gridCoordinate": { "x": -38915346.740780786, "y": -90133085.18646555 }, "name": "childJob", "location": "Application", "locationType": "irure dolor amet labore", "app": "in dolor", "canvasName": "reprehenderit fugiat irure", "displayName": "tempor fugiat et dolore", "summary": "dolore in aliquip incididunt dolor", "description": "ad dolore magna", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/UFjYctwTmSO/~0/yE2Z/hady/~0/XQ3f1K/AWx2J" }, { "type": "encryption", "pointer": "/~1/~0/~1/~1/~1/~0/D,cwWFI.O/~0/jj/~0/tU" }, { "type": "encryption", "pointer": "/~1/~1/P466/~0/kkkgnous/~0/~1/rkO6O/~0/nQcjAQjh/m+0U7uPck" }, { "type": "encryption", "pointer": "/~1/was-/~1/~1/Ao3/~1/~0" }, { "type": "encryption", "pointer": "/SWEsq4/~1/~0/x/IgnGyy/o6F/zYz/beDY5" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "proident", "highlightString": "sint" }, { "key": "quis ullamco", "highlightString": "consectetur et labore occaecat" }, { "key": "nisi tempor cupidatat Excepteur", "highlightString": "Duis laboris dolore est ut" }, { "key": "fugiat irure ex", "highlightString": "laborum tempor ipsum" }, { "key": "veniam magna enim nostrud officia", "highlightString": "tempor aliqua" } ], "status": "error", "previous": { "incomplete": [ "error_handler", "error_handler" ], "complete": [ "error_handler", "workflow_start", "workflow_start", "workflow_start", "error_handler" ], "error": [ "workflow_start", "workflow_end" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "error_handler", "type": "loop" } ], "failure": [ { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "minim velit cupidatat mollit", "start_time": "1977-06-08T02:47:10.418Z", "end_time": -75922703.0318951, "finish_state": "success", "retrySettings": { "state": [ "failure", "success" ], "autoRetry": false, "limit": 78575686, "delay": 81398762, "count": 20192196, "finishedRetrying": false }, "type": "operation", "actor": "job", "groups": [ "default", { "_id": "e9d199e4a96ff79958c524a6", "provenance": "magna et", "name": "Excepteur tempor", "description": "labore do ex", "memberOf": [ { "groupId": "f94446e98b41b52cf87bec2f", "aaaManaged": false }, { "groupId": "21822892ba2dddd0d238b6c8", "aaaManaged": true }, { "groupId": "120856a99d841ea89c25a779", "aaaManaged": false }, { "groupId": "0d61e8a4de7abbe698075092", "aaaManaged": false }, { "groupId": "363d57d0d47a6a417ce6dc58", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "eu adipisicing exercitation esse" }, { "roleId": "pariatur in" } ], "inactive": false, "_meta": { "created": "1964-06-02T18:59:34.202Z", "updated": "2010-08-21T17:35:47.618Z", "migrationVersion": -11402155 } } ], "iterations": [ "060DabCa-acD8-70aD-DaDa-8C98F0c0B61c", "cCCaaCE5-4fEA-cD81-AEC4-9bC735D0AD0B", "5A27Eb8B-6A5e-1FF2-d6a2-cEE5974dCaDE" ] }, "dfb9": { "actor": "job", "groups": [ "default", { "_id": "5c2460d1a1fdb99c1724d7a6", "provenance": "ex ipsum officia sunt consequat", "name": "anim sit nisi", "description": "in sit sint cupidatat officia", "memberOf": [ { "groupId": "6fcfb155e469c17a5339f4c8", "aaaManaged": false }, { "groupId": "66a50ce2522ec8a280ed0536", "aaaManaged": true }, { "groupId": "e1fb156cb0748403dcfb64e4", "aaaManaged": true }, { "groupId": "8ecf52be03c795bdb74ede1c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "incididunt" }, { "roleId": "proident" }, { "roleId": "nostrud" } ], "inactive": true, "_meta": { "created": "1988-09-26T03:25:24.56Z", "updated": "1989-12-04T07:52:55.961Z", "migrationVersion": 62976821 } }, "c912d740f989d7b7bda7bb4a", "e2494a8a3fc4d4962785390b" ], "iterations": [ "e8fAeecc-f23A-DcaE-8789-8aabcc84DDbE", "F7FfAdBb-Bb7a-20Cd-2102-cDF42a29f3C7", "510eECeD-151A-BFdC-e3C3-BBF5f2C9a5ca" ], "x": -4563154.749925584, "y": -53532678.27141122, "gridCoordinate": { "x": 1580140.6131771952, "y": 16606173.585090429 }, "name": "ex dolor", "location": "Application", "locationType": "nulla ut deserunt", "app": "id minim", "canvasName": "commodo", "displayName": "qui nisi dolor", "summary": "mollit", "description": "fugiat veniam exercitation tempor", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/hvBkI5+s/~1/~1/~0/~1" }, { "type": "encryption", "pointer": "/DLn/mWOO8Bv/FGOL/Ourj/lqxD+4/~1/~0/~0" }, { "type": "encryption", "pointer": "/VcUT+x/Nk/K5vvyQzj" }, { "type": "encryption", "pointer": "/~0/~1" }, { "type": "encryption", "pointer": "/sJrN/6U-/~1/~0/~1/v,KpIMwSwv" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "consectetur cillum anim eu Ut", "highlightString": "nulla est occaecat deserunt" }, { "key": "sit irure velit fugiat", "highlightString": "Excepteur ullamco" }, { "key": "Lorem", "highlightString": "proident esse minim in" } ], "status": "incomplete", "previous": { "incomplete": [ "error_handler", "error_handler", "error_handler", "workflow_start" ], "complete": [ "workflow_start" ], "error": [ "3a1f" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "workflow_end", "type": "revert" } ] }, "serverId": "id exercitation", "start_time": "1951-01-11T22:06:19.0Z", "end_time": 32724609.350099206, "finish_state": "error", "retrySettings": { "state": [ "success", "failure", "error", "error", "success" ], "autoRetry": false, "limit": 16888486, "delay": 45535235, "count": 48873611, "finishedRetrying": true }, "type": "automatic" } }, "parent": { "task": "proident est esse", "iteration": 84923586.60142821, "element": -45580181.57988793 }, "errorHandler": null, "groups": [ "f9855ffcf816602eb873292c", "default" ], "watchers": [ "b579781f1e8456dcb01d5d69", null, "28d24fb04366f9c187be6205" ], "metrics": { "start_time": 80313142.14185974, "progress": 0.24862162109274766, "end_time": 17352158.349747524, "user": { "_id": "328e420ff0b5e59fe63518a6", "provenance": "amet fugiat non", "username": "laborum", "firstname": "dolor qui sunt Ut cillum", "memberOf": [ { "groupId": "63dee8fafa833b034020e30b", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in" }, { "roleId": "anim sunt officia et" }, { "roleId": "ipsum commodo sit" }, { "roleId": "officia" } ], "inactive": true, "lastLogin": "1983-08-27T10:16:30.756Z", "_meta": { "created": "2009-12-19T19:14:58.865Z", "updated": "2005-02-24T11:38:13.297Z", "migrationVersion": 46604391 }, "email": "dolor qui in laboris anim" }, "owner": { "_id": "28f5ef57e30cf64539da6ea5", "provenance": "eiusmod", "username": "irure", "firstname": "eiusmod anim qui non", "memberOf": [ { "groupId": "7bf12fe5818231f3111c8980", "aaaManaged": false }, { "groupId": "fd0026564eae777083d139db", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "nostrud" }, { "roleId": "nostrud exercitation aliquip" }, { "roleId": "Excepteur aliqua dolor" }, { "roleId": "aliquip ad" } ], "inactive": false, "lastLogin": "1999-08-08T15:31:15.756Z", "_meta": { "created": "1982-01-22T09:14:21.15Z", "updated": "2014-12-10T19:58:26.34Z", "migrationVersion": -84340274 }, "email": "in ea consectetur laborum" } } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }