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": "_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 retrieved search results", "data": { "_id": "1fda158f5c4d4a63fb4c2166", "font_size": 4776799, "type": "automation", "created": "1976-02-18T07:17:03.072Z", "last_updated": "2003-02-27T18:01:45.938Z", "createdVersion": "574.492162087.7082019-4033.979.1383885.72292778051", "lastUpdatedVersion": "8881772.015738232.63969", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": -23180761, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -46189558.328750156, "sla": -71445179.46810782, "decorators": [ { "type": "encryption", "pointer": "/~1/H,./~1/~0" }, { "type": "encryption", "pointer": "/~0/~0/~1/hhOFti/~1/pUes-Kq0g/~0/BIJD/~1" }, { "type": "encryption", "pointer": "/nszdODgB2O/~0/s7Rx3bv4m/~0/A,zvE/~1/uIdW0ioPg" }, { "type": "encryption", "pointer": "/e1EpE/J-/HVESxaXlE/uzcojChe7//~0" } ], "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": "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", "message": "dolore dolor aute" }, { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "labore sint incididunt esse" } ], "ancestors": null, "validationErrors": [ { "keyword": "non ea", "instancePath": "amet dolore reprehenderit cillum", "schemaPath": "magna", "message": "deserunt laborum esse" } ], "created_by": null, "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": -14985465.414848417, "y": -69238394.90611914, "gridCoordinate": { "x": -41224115.13412509, "y": -21855619.836940438 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 31537772.78238535, "finish_state": "failure", "user": { "_id": "461b565adebf4aed4d5f03d8", "provenance": "laborum", "username": "labore deserunt cupidatat", "firstname": "Duis ex", "memberOf": [ { "groupId": "a22963356deabedeacfc29b1", "aaaManaged": true }, { "groupId": "2d58eeda56020018f2050684", "aaaManaged": false }, { "groupId": "42216e31118ef6e115868261", "aaaManaged": false }, { "groupId": "f3236a55c63ad8440bfc8038", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aliquip officia sed in" }, { "roleId": "sunt Excepteur consectetur qui" }, { "roleId": "tempor id cupidatat dolore occaecat" }, { "roleId": "officia ex elit exercitation ad" }, { "roleId": "velit non aliqua" } ], "inactive": true, "lastLogin": "1963-12-28T08:21:12.879Z", "_meta": { "created": "1953-12-13T16:38:01.98Z", "updated": "2005-02-13T14:27:27.882Z", "migrationVersion": -64906582 }, "email": "laborum tempor incididunt mollit" } }, "groups": [ "06a8f3056df7f3045b36307c", "f8e1f6c4f989870a4fed8c87", "default", "default", { "_id": "2d9b930796792c14a4182f26", "provenance": "irure Ut culpa mollit", "name": "dolor ipsum", "description": "deserunt laboris irure", "memberOf": [ { "groupId": "d4461e3d7ab44c15566f17b3", "aaaManaged": false }, { "groupId": "ad5965fed79ea187bc8bc588", "aaaManaged": true }, { "groupId": "de6b8d91cea3f6d6e3551e79", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "qui consectetur adipisicing Duis et" }, { "roleId": "do culpa" } ], "inactive": false, "_meta": { "created": "1956-08-23T04:19:50.441Z", "updated": "1994-07-18T04:34:02.518Z", "migrationVersion": 95822068 } } ], "iterations": [] }, "workflow_end": { "x": -97978373.66877897, "y": -21962353.125370353, "gridCoordinate": { "x": 14765520.124881968, "y": -46511710.204522364 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_start", "e28f" ], "complete": [ "workflow_start", "3a1f", "error_handler", "workflow_end", "e28f" ], "error": [ "3a1f", "3a1f", "workflow_start", "error_handler" ] }, "metrics": { "end_time": -77668336.54212828, "run_time": -32651678.52385184 }, "groups": [ "d5f35c921c43661e3e7763aa", "default", { "_id": "decffac5b6c79b0b8347b192", "provenance": "dolor dolore sint aute quis", "name": "ullamco", "description": "deserunt", "memberOf": [ { "groupId": "1485b7a1ae9b64bc4673bbc8", "aaaManaged": false }, { "groupId": "76f2b716e1a7580b13e73e82", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolor ullamco aliquip Lorem" }, { "roleId": "ut anim ad aliquip Lorem" }, { "roleId": "sit eu esse minim" }, { "roleId": "tempor" }, { "roleId": "amet in" } ], "inactive": true, "_meta": { "created": "1991-01-03T04:03:34.033Z", "updated": "2013-11-15T19:34:09.956Z", "migrationVersion": 49056743 } }, { "_id": "96b87fa2e0f79b562d3fe9cf", "provenance": "deserunt occaecat cillum", "name": "aliquip non", "description": "ut cillum ipsum dolore incididunt", "memberOf": [ { "groupId": "18766b92ca3de4d3e2523cdd", "aaaManaged": true }, { "groupId": "2fe9c955b26b7069475aba75", "aaaManaged": false }, { "groupId": "07df9637aedf23e6e2ee076d", "aaaManaged": true }, { "groupId": "0201aedac3f127688eb919f7", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "incididunt proident tempor" } ], "inactive": true, "_meta": { "created": "1982-05-25T08:01:01.289Z", "updated": "1951-11-23T18:01:55.339Z", "migrationVersion": 78997625 } } ], "iterations": [ "41D9de4a-C32A-8A4c-255D-5B9e05EAAfcc", "1Fd485Ad-4d7E-aDf3-b3A1-4E38391a6C2D" ] }, "error_handler": { "x": -94672651.74168546, "y": 81163314.70909414, "gridCoordinate": { "x": -63195368.532270454, "y": 98064313.99131319 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "laboris labore", "canvasName": "sed amet nulla Excepteur consectetur", "displayName": "elit laboris quis", "summary": "adipisicing", "description": "elit do dolore quis", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/iI3cCw,9Tf/~0" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "adipisicing nostrud et", "highlightString": "cillum ea consequat dolor" } ], "status": "incomplete", "previous": { "incomplete": [ "workflow_start", "3a1f" ], "complete": [ "error_handler" ], "error": [ "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "3a1f", "type": "revert" } ] }, "serverId": "cillum Lorem", "start_time": "1954-06-01T12:39:49.586Z", "end_time": 65540220.28189871, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "Pronghorn", "groups": [ { "_id": "a61915673433d5e944e3c2ab", "provenance": "Excepteur culpa amet", "name": "ut fugiat laborum officia", "description": "sit fugiat labore Lorem", "memberOf": [ { "groupId": "c4a5ff3857183f8231b6fb9e", "aaaManaged": false }, { "groupId": "776686d8247021ff43833ada", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "nulla" }, { "roleId": "dolore veniam et" }, { "roleId": "commodo exercitation proident do" }, { "roleId": "Lorem ad" } ], "inactive": true, "_meta": { "created": "2018-05-08T06:41:27.758Z", "updated": "2021-07-28T20:27:48.061Z", "migrationVersion": 22105793 } }, "default" ], "iterations": [ "9dbcd1d6-cCeB-A9f9-Ef0b-A0D5Da38Bd11" ] }, "61b1": { "actor": { "_id": "270e5ca7a21d3f95d27c2e06", "provenance": "aliquip sint commodo quis in", "username": "deserunt tempor", "firstname": "sunt consectetur in magna", "memberOf": [ { "groupId": "72cf6400ca7482dcd5d08461", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "eu deserunt" }, { "roleId": "ut aute amet" }, { "roleId": "aliqua" } ], "inactive": false, "lastLogin": "2021-03-24T23:30:09.673Z", "_meta": { "created": "1961-04-30T09:22:32.006Z", "updated": "2021-02-01T01:23:47.274Z", "migrationVersion": -28969146 }, "email": "Excepteur dolor minim sed" }, "groups": [ { "_id": "704ec76b4d8d36c916727ff3", "provenance": "anim quis amet ex ea", "name": "adipisicing Lorem sed", "description": "cillum sed non", "memberOf": [ { "groupId": "49ea61aa06d15be720e7768f", "aaaManaged": false }, { "groupId": "f4058de9151ace67ef8c8436", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sed eu culpa voluptate" } ], "inactive": false, "_meta": { "created": "1964-07-20T09:41:05.647Z", "updated": "1953-11-09T12:08:50.43Z", "migrationVersion": 28895867 } }, "4a7e068130e9b123306f31f3", "default", "default", "default" ], "iterations": [ "4A9fEA65-6fE4-47A1-6D9D-8c74b1AcCf66" ], "x": -84626434.06262144, "y": 36969327.1126962, "gridCoordinate": { "x": 53013610.077118635, "y": 61102003.56243557 }, "name": "pending", "summary": "velit eu ullamco", "description": "eu" } }, "parent": { "job": "Lorem", "task": "quis elit non", "iteration": -73750018.0998337, "element": -9302041.215060487 }, "errorHandler": null, "groups": [ { "_id": "a6780a7a0204354efabf418d", "provenance": "in amet ipsum eiusmod cupidatat", "name": "proident et nisi", "description": "occaecat nisi in nostrud", "memberOf": [ { "groupId": "ea05e66e9ad2c8d5b3b9ed36", "aaaManaged": false }, { "groupId": "7ad7743d1eef68cd2b71b58e", "aaaManaged": false }, { "groupId": "2a9a1910aabca20f57d1e336", "aaaManaged": false }, { "groupId": "4fc3c72403d18326dd9cd1b8", "aaaManaged": false }, { "groupId": "3551ab85a3883ad374eb2229", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "fugiat dolor nisi" } ], "inactive": false, "_meta": { "created": "1982-08-10T10:12:28.398Z", "updated": "1963-11-13T16:27:52.51Z", "migrationVersion": 92164904 } }, "24e14a0805e507d110dec7ef", "default", { "_id": "3032860b364bb092dd6b77b3", "provenance": "occaecat ipsum culpa esse", "name": "consectetur", "description": "adipisicing", "memberOf": [ { "groupId": "668096498854776c8269487c", "aaaManaged": false }, { "groupId": "1940c705803f5c03d7a8e407", "aaaManaged": true }, { "groupId": "d80b74ae3419573b962dc9fc", "aaaManaged": true }, { "groupId": "a338e898099d9bb4f97c2d46", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "veniam in deserunt fugiat" }, { "roleId": "et nulla dolore" } ], "inactive": false, "_meta": { "created": "1998-08-13T02:42:53.784Z", "updated": "1978-12-20T13:05:14.591Z", "migrationVersion": -76860259 } } ], "watchers": [ { "_id": "0c386669bbb3505d523399e1", "provenance": "occaecat ullamco", "username": "consectetur commodo do Ut dolor", "firstname": "culpa minim sunt", "memberOf": [ { "groupId": "507e20823836590d5d0bdaec", "aaaManaged": false }, { "groupId": "77475085c8007e6fb9243102", "aaaManaged": true }, { "groupId": "c129d87f4b3e2b86b4f8e3eb", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nulla non elit minim magna" }, { "roleId": "exercitation veniam" }, { "roleId": "sit Duis dolor" } ], "inactive": true, "lastLogin": "1983-06-20T15:37:54.329Z", "_meta": { "created": "1988-09-08T20:19:33.812Z", "updated": "1978-11-28T02:42:07.932Z", "migrationVersion": 64238779 }, "email": "adipisicing sed cupidatat laboris enim" }, "Pronghorn", { "_id": "6de0b2cb2f85647bac6ec855", "provenance": "culpa", "username": "exercitation nisi ullamco consequat", "firstname": "cillum consequat voluptate anim", "memberOf": [ { "groupId": "eb91a34ab6f688dcb3bfd86e", "aaaManaged": false }, { "groupId": "f7b767c5ae6cc620e72ee4de", "aaaManaged": false }, { "groupId": "3f1b51b7189d6668b51e953a", "aaaManaged": false }, { "groupId": "c2de7084876a1886eaed73fc", "aaaManaged": true }, { "groupId": "0b9319242eb9ce8f544e25c3", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "culpa" }, { "roleId": "et" }, { "roleId": "officia dolore ipsum eiusmod Duis" }, { "roleId": "reprehenderit proident" }, { "roleId": "aliquip incididunt" } ], "inactive": false, "lastLogin": "1982-02-06T00:14:23.098Z", "_meta": { "created": "2015-04-06T11:11:43.591Z", "updated": "2021-11-12T23:13:05.088Z", "migrationVersion": 56107066 }, "email": "ut cillum ut" }, "122a54a0e1b5477957635e5a" ], "metrics": { "start_time": -15360971.882736236, "progress": 0.9654806404400296, "end_time": 45436666.2865203, "user": "Pronghorn", "owner": { "_id": "7404d08254e17bd355d47709", "provenance": "aliqua", "username": "in dolore", "firstname": "adipisicing pariatur", "memberOf": [ { "groupId": "eeb50263fd7c75bb25f3b9c4", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore" }, { "roleId": "laboris irure" }, { "roleId": "in" }, { "roleId": "veniam" }, { "roleId": "exercitation anim commodo aliquip in" } ], "inactive": false, "lastLogin": "2013-07-26T12:50:49.038Z", "_meta": { "created": "1953-07-18T07:22:26.585Z", "updated": "1949-05-24T16:14:05.386Z", "migrationVersion": -73163512 }, "email": "in Duis et adipisicing enim" } } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }