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": "_id", "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 created the requested item", "data": { "_id": "fc464b086e3274ebd2e9f77a", "font_size": -8975562, "type": "automation", "created": "2020-08-27T17:23:26.341Z", "last_updated": "1985-04-22T12:45:26.04Z", "createdVersion": "693568.10342.5693937", "lastUpdatedVersion": "93169399645.94254594973.9422298", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": 54413432, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 99003436.13462192, "sla": -58711120.89183228, "decorators": [ { "type": "encryption", "pointer": "/~0/~1/~0" }, { "type": "encryption", "pointer": "/tY9TvQS29E/~0/~1/wu-" }, { "type": "encryption", "pointer": "/CP47,V/q5/iAy/MjbJ/~0" }, { "type": "encryption", "pointer": "/Tn4/~1/~0/W" } ], "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 } ], "warnings": [ { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "aliquip est enim" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "esse qui sed fugiat laboris" }, { "task": "error_handler", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "veniam consectetur dolor adipisicing", "dataPath": "officia proident tempor ea laborum", "schemaPath": "mollit consectetur culpa", "message": "esse incididunt ad dolor" }, { "keyword": "esse dolor sed deserunt", "dataPath": "id qui", "schemaPath": "enim reprehenderit voluptate", "message": "pariatur" }, { "keyword": "ut dolore velit aliqua quis", "dataPath": "elit", "schemaPath": "cupidatat", "message": "ut" } ], "created_by": "Pronghorn", "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": -51530196.23806423, "y": -60040664.002088115, "gridCoordinate": { "x": 35365127.27899462, "y": -65454788.90513588 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 42873706.67347181, "finish_state": "failure", "user": "Pronghorn" }, "groups": [ "default", "default", "default" ], "iterations": [ "a34C4FE9-3059-3DE6-eDAB-65A95b1a8Db4", "cCdF4EFF-0462-26EF-f716-cfbBdB4ADC4A" ] }, "workflow_end": { "x": 74614352.75652584, "y": -71860155.08017495, "gridCoordinate": { "x": -53066418.29081497, "y": 5106249.461020559 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "e28f", "error_handler", "error_handler", "workflow_end", "workflow_end" ], "complete": [ "3a1f", "3a1f", "e28f", "workflow_start", "error_handler" ], "error": [ "error_handler", "workflow_start", "workflow_end", "workflow_end" ] }, "metrics": { "end_time": 50762899.522429496, "run_time": -97374239.2075561 }, "groups": [ { "_id": "b14eebfaa07b6d7a2fa58744", "provenance": "dolore velit ad", "name": "fugiat Duis", "description": "eu sint aliqua qui in", "memberOf": [ { "groupId": "5f333ee882be36c23a1b5a72", "aaaManaged": true }, { "groupId": "3212f6a9e342de6337f594c2", "aaaManaged": false }, { "groupId": "984b63cfff52d9c3c9858a6d", "aaaManaged": false }, { "groupId": "1bfdd0af0a11539b53c1a409", "aaaManaged": false }, { "groupId": "01d831a08543b5dfb72c79dd", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sunt irure ex exercitation" }, { "roleId": "ut" }, { "roleId": "dolore sint veniam culpa laborum" } ], "inactive": true, "_meta": { "created": "1947-02-08T04:40:52.585Z", "updated": "2018-02-11T08:18:03.372Z", "migrationVersion": -52819495 } }, "default" ], "iterations": [ "FAd1B43E-f3Fb-7CFd-bCa9-82BDaeF0f22d", "DfFfdFA4-cdD2-BAca-CbCc-fD9fbf7B3b87" ] }, "error_handler": { "x": -64192280.93607887, "y": -70959155.67143965, "gridCoordinate": { "x": 45471895.70216066, "y": 31306850.51494111 }, "name": "childJob", "location": "Application", "locationType": "consectetur", "app": "commodo ex ut", "canvasName": "anim in dolor non", "displayName": "ipsum culpa", "summary": "labore ut", "description": "enim ea in qui dolor", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/YtojxT/~1/~1/~0/~1/u15tL2eJu/~0/Czjnr2zrvTp/hUqPjgyM/inp9d/sXaIob3f7" }, { "type": "encryption", "pointer": "/F,mF/N-6/i/3SF8,/DfeBPDcc/~0/jeuUMSD/~1/Qb/M.r3-U/~0" }, { "type": "encryption", "pointer": "/~1/~0/PZjHX80B/QrX+WS/eg6-" }, { "type": "encryption", "pointer": "/~0/~0/oJ0u/I1/sEEaMMLq,/~1/fAZ/cbuO/JYmS" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "ad tempor aute velit ullamco", "highlightString": "sunt" } ], "status": "scheduled", "previous": { "incomplete": [ "3a1f" ], "complete": [ "workflow_end", "workflow_end", "workflow_start", "error_handler", "workflow_end" ], "error": [ "workflow_start", "error_handler", "error_handler", "error_handler", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_end", "type": "revert" } ], "failure": [ { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "nostrud dolore", "start_time": "1954-11-23T01:28:00.102Z", "end_time": 16873207.56774482, "finish_state": "error", "retrySettings": { "state": [ "error", "success", "success" ], "autoRetry": true, "limit": 69364369, "delay": 1138795, "count": 54724005, "finishedRetrying": false }, "type": "operation", "actor": { "_id": "9e0b7cf7e2a4d6b8c9b9ccb3", "provenance": "occaecat dolor", "username": "cillum sit", "firstname": "cillum eiusmod proident irure deserunt", "memberOf": [ { "groupId": "ea035d3645b98b1dc0035e17", "aaaManaged": true }, { "groupId": "e1075d6fa2b883b0dbe09417", "aaaManaged": false }, { "groupId": "552a53d470540c916f46a12e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "qui voluptate aute esse Lorem" } ], "inactive": false, "lastLogin": "1970-05-22T16:47:29.831Z", "_meta": { "created": "1956-08-25T16:42:56.352Z", "updated": "1987-02-04T15:27:08.253Z", "migrationVersion": -5693796 }, "email": "proident" }, "groups": [ "54397ee4a4be268b4cc416e1", "060d99e0ce931f9fd0479421" ], "iterations": [] }, "6e6": { "actor": "job", "groups": [ "32ee9e36126066145a005857" ], "iterations": [ "fdBcC66a-d6ae-Be4a-ce41-ea5855d48f2B", "d5eD67c4-44C7-aba6-1D35-BCe75C4cE3eb" ], "x": 61993811.44172698, "y": 42215465.237706244, "gridCoordinate": { "x": -847337.6213328391, "y": -16805698.208342567 }, "name": "aute irure", "location": "Adapter", "locationType": "sit et proident ullamco", "app": "aliquip anim adipisicing nostrud magna", "canvasName": "eiusmod esse anim ex", "displayName": "adipisicing", "summary": "dolor Lorem", "description": "reprehenderit occaecat", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/sAOPdR1iuY/~1/~1/~1/f-dRlYU/N6x+Pvg/~0" }, { "type": "encryption", "pointer": "/Rk8TN/y/~1" }, { "type": "encryption", "pointer": "/Sx2WV5.F8/xnmm/S3s/LZIih/eQ1vYEG/~0/~0/l3ar/~1/~1/~1" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "in id elit sint dolor", "highlightString": "irure Ut veniam in aliqua" }, { "key": "dolore sunt", "highlightString": "elit aute" } ], "status": "canceled", "previous": { "incomplete": [ "e28f" ], "complete": [ "3a1f", "error_handler", "3a1f" ], "error": [ "3a1f", "workflow_start", "workflow_start", "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_end", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "ut eiusmod adipisicing", "start_time": "1947-11-14T13:38:49.726Z", "end_time": 71051642.4255122, "finish_state": "error", "retrySettings": null, "type": "manual", "view": "ad Lorem do anim" } }, "parent": { "task": "in voluptate ea nisi", "iteration": -69020107.66425005, "element": 59459352.50081667 }, "errorHandler": null, "groups": [ "f84c532d5a7039007bf3090d", "96816894b86e906f98f7d4e9", "default", { "_id": "d2d541c8dbd5ebbb5ea45b53", "provenance": "Ut Lorem tempor", "name": "eu", "description": "Excepteur eu anim et enim", "memberOf": [ { "groupId": "e3db9d9c28fbead15fe9f051", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolore Excepteur cupidatat nulla" } ], "inactive": false, "_meta": { "created": "1979-06-30T02:18:03.488Z", "updated": "2002-12-05T21:35:20.807Z", "migrationVersion": -3944143 } } ], "watchers": [ null, "Pronghorn", null, "Pronghorn" ], "metrics": { "start_time": -29309027.763819322, "progress": 0.6690836990630058, "end_time": -45933325.21545093, "user": null, "owner": null } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }