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": "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 created the requested item", "data": { "_id": "1d356e60ac884805e851f2d3", "uuid": "34fe09df-8956-509c-5a31-dc4f029d9c0c", "font_size": -92612463, "type": "automation", "created": "1984-11-29T17:33:02.001Z", "last_updated": "1964-02-15T01:07:50.97Z", "createdVersion": "084113.4940176541.6313062146", "lastUpdatedVersion": "854.02.6", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -98097191, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 48758413.07429528, "sla": 27273055.649494886, "decorators": [ { "type": "encryption", "pointer": "/WbBt/~0/~0/~1/~0" }, { "type": "encryption", "pointer": "/i5aG9nRVK/~0" }, { "type": "encryption", "pointer": "/OZLdUjHTf/dG27Ss/~1/~1/~0/~1/~0/~1/C/~0" }, { "type": "encryption", "pointer": "/~1/~0/huxvjgKM9/L7P5BtwHCM" } ], "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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName", "message": "ullamco amet Duis proident sit" }, { "task": "workflow_end", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" } ], "ancestors": [ "8fd4b266bb6d8e88e58ce274", "3535a9faded7f1cb08223e8a" ], "validationErrors": [ { "keyword": "est reprehenderit in ullamco cillum", "instancePath": "nisi", "schemaPath": "dolore occaecat", "message": "nisi aliquip" }, { "keyword": "ad mollit deserunt in", "instancePath": "ex", "schemaPath": "exercitation", "message": "irure ad" }, { "keyword": "sed ea est ullamco", "instancePath": "consequat cupidatat", "schemaPath": "mollit ut deserunt", "message": "minim ea dolor eiusmod" }, { "keyword": "in occaecat", "instancePath": "enim magna eu anim in", "schemaPath": "magna aliqua quis et fugiat", "message": "ea" }, { "keyword": "exercitation enim adipisicing", "instancePath": "officia magna quis", "schemaPath": "exercitation veniam Duis", "message": "cillum" } ], "created_by": "a1e26f84fd4e64d363c1d528", "last_updated_by": "11cd9e4d332bdf192c1fcc0e", "tasks": { "6": { "x": 8461380.270262092, "y": 15626027.250241041, "gridCoordinate": { "x": -13969803.564318314, "y": -53381993.80633197 }, "name": "minim", "location": "Application", "locationType": "cupidatat dolore magna quis", "app": "nostrud adipisicing laboris", "canvasName": "occaecat amet nulla", "displayName": "id sit mollit", "summary": "aliqua ex consectetur esse", "description": "non minim", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/Zd/~0/b/T1P/zKHbVt.j/d.Dmuf" }, { "type": "encryption", "pointer": "/~1/~0/s,S/~1/~1/DbdK,Z" }, { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/bNyKPkXLP8/Aicrmd/ncYe+./q/~1/~0/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "qui et sint in", "highlightString": "qui ullamco incididunt do" }, { "key": "officia", "highlightString": "quis" } ], "status": "canceled", "previous": { "incomplete": [ "error_handler", "3a1f", "workflow_start", "workflow_start", "e28f" ], "complete": [ "e28f", "3a1f", "error_handler", "workflow_end" ], "error": [ "error_handler", "workflow_start", "workflow_start", "workflow_end", "3a1f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "loop" } ], "error": [ { "task": "3a1f", "type": "loop" } ] }, "serverId": "cillum labore dolor sint ullamco", "start_time": "1954-05-11T18:17:53.362Z", "end_time": -32181248.54335907, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": { "_id": "8b0a4dd4719a38d2e5b207f1", "provenance": "Excepteur", "username": "aute nisi irure ea", "firstname": "id elit do", "memberOf": [ { "groupId": "a5c0689c181b08b1e38c50da", "aaaManaged": true }, { "groupId": "e9c1ce8f8afc9689778cdb2a", "aaaManaged": false }, { "groupId": "ed6fbc495d214a39ee239fc8", "aaaManaged": true }, { "groupId": "882f9a80db085310e66950a6", "aaaManaged": false }, { "groupId": "40fcf818f907995ace6964bf", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "laboris ut sint sunt dolor" } ], "inactive": false, "lastLogin": "1982-04-17T10:11:59.946Z", "_meta": { "created": "1982-06-16T04:10:28.094Z", "updated": "1969-02-05T07:58:47.794Z", "migrationVersion": -29260841 }, "email": "in occaecat fugiat" }, "groups": [ "4dd5c9e9c7ba4abe0830cafa" ], "iterations": [ "74D3b6d7-C0D0-E4BA-E20c-310DD8aEA2DF", "b567DFfe-a112-ECA0-1A6d-2b1AfF97Ed9c", "aCD648ad-Edcb-Bcd9-Ce5f-8f6f1dA502a2" ] }, "workflow_start": { "x": -46685623.23139032, "y": 61661267.635229796, "gridCoordinate": { "x": -66288563.02134403, "y": -57642844.73560939 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 33448528.012605295, "finish_state": "success", "user": "Pronghorn" }, "groups": [ "46f9911c7a335fada9d4aa5e", { "_id": "cab4de0f2386b44f636940e4", "provenance": "irure consequat", "name": "minim laboris", "description": "esse elit quis anim dolore", "memberOf": [ { "groupId": "1e09ceaeff286c5095130480", "aaaManaged": true }, { "groupId": "d36191039d8215f5de742fcc", "aaaManaged": false }, { "groupId": "ad0e5f993aeee3204046219b", "aaaManaged": true }, { "groupId": "ee00ce5ee9ba4865a7556520", "aaaManaged": true }, { "groupId": "3eaaa5b0716c415848260d71", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Lorem Excepteur commodo" }, { "roleId": "officia ad" } ], "inactive": false, "_meta": { "created": "1984-05-28T12:11:20.639Z", "updated": "1985-07-11T21:39:43.347Z", "migrationVersion": 25424305 } }, { "_id": "2a6cbd987c6db65874ca6bea", "provenance": "irure Duis voluptate", "name": "voluptate sunt", "description": "sint", "memberOf": [ { "groupId": "98073e9f31d8f10ebe190edb", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "mollit" }, { "roleId": "ut in nisi mollit dolore" }, { "roleId": "cillum ut" }, { "roleId": "consequat" } ], "inactive": true, "_meta": { "created": "1962-04-16T22:24:21.603Z", "updated": "1995-01-27T04:38:00.476Z", "migrationVersion": 53505646 } }, "aa417e4c79166180da31acf3", "default" ], "iterations": [ "cb054f08-f7Ef-840E-8231-1BC82daCbDeF" ] }, "workflow_end": { "x": 19076389.65551591, "y": -625405.4600555897, "gridCoordinate": { "x": 86299380.41708657, "y": -6255502.2671622485 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end" ], "complete": [ "e28f", "workflow_start", "workflow_start", "error_handler", "3a1f" ], "error": [ "3a1f", "workflow_end" ] }, "metrics": { "end_time": 77913843.70469552, "run_time": -36060213.04312388 }, "groups": [ "cadaeb966049a84a78858fe6", "22c2886698c75ab4f6701be3", "48420235d093455fca2961f3" ], "iterations": [ "7a07D711-364A-2A55-fF1C-47fc26feAccc" ] }, "error_handler": { "x": -27242226.644894436, "y": -49610164.62569607, "gridCoordinate": { "x": -89555283.53083673, "y": -63014595.60775622 }, "name": "childJob", "location": "Adapter", "locationType": "dolore", "app": "nulla dolor occaecat irure deserunt", "canvasName": "laboris non", "displayName": "exercitation", "summary": "minim", "description": "laborum", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/q.we6RX/~1/FzuCkk/~0" }, { "type": "encryption", "pointer": "/cb/1f3/~0/~1/ZHlvMxU1sBB/~0/NEOTjgaWD--" }, { "type": "encryption", "pointer": "/vW/~1/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "Lorem culpa", "highlightString": "magna Ut" }, { "key": "aliquip voluptate dolor proident Ut", "highlightString": "dolor id magna commodo" }, { "key": "sed sint cupidatat elit", "highlightString": "eiusmod pariatur" } ], "status": "failure", "previous": { "incomplete": [ "e28f", "workflow_end" ], "complete": [ "workflow_end" ], "error": [ "workflow_end", "workflow_start", "workflow_start", "error_handler" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "loop" } ] }, "serverId": "sed", "start_time": "2022-09-16T18:53:13.425Z", "end_time": -62953886.687861346, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "30911b9ebca1a189adcde5fd", "provenance": "laboris proident mollit", "name": "eiusmod sint ipsum qui", "description": "non commodo ullamco mollit", "memberOf": [ { "groupId": "89d0c6eea1a9e3d5554b9339", "aaaManaged": false }, { "groupId": "ec94aa34f0e0eaca87698542", "aaaManaged": true }, { "groupId": "a8a51e6177592f32ee24730a", "aaaManaged": false }, { "groupId": "bcea6b8214bfb52a4be6b36d", "aaaManaged": false }, { "groupId": "b4efe8edac7f3d46bc10c527", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "fugiat consequat dolor pariatur laboris" }, { "roleId": "ut" }, { "roleId": "tempor nulla exercitation aute" }, { "roleId": "pariatur laborum sint ad" } ], "inactive": true, "_meta": { "created": "1957-11-28T22:58:41.656Z", "updated": "1947-03-29T13:18:26.455Z", "migrationVersion": -24472946 } }, { "_id": "4a0dc1b5fcffff278ba2b648", "provenance": "qui dolor Duis", "name": "id magna", "description": "laboris enim et in", "memberOf": [ { "groupId": "3819629fb2361ac08d2164da", "aaaManaged": true }, { "groupId": "baa2eff22f8bd6fbcc62da44", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "culpa ipsum cupidatat ut est" }, { "roleId": "ut enim deserunt qui est" } ], "inactive": true, "_meta": { "created": "2017-08-07T03:35:43.02Z", "updated": "2007-02-23T23:17:29.913Z", "migrationVersion": 24554127 } }, "110ef8a16d687c051fc73cd1" ], "iterations": [ "0C67131F-4F3A-ffe9-c22c-E54AC6EE9e6b", "BeF68A4E-d3E4-B7BB-E2E9-09c01d42DCB1", "d8728fC4-babC-7bCA-B13c-2e2fF801b5B7", "6fBdF15F-E1B1-aBFa-fDB1-d24DaF35cb54" ] } }, "parent": { "job": "aliquip", "task": "dolor quis", "iteration": 17592404.336379766, "element": -42559240.456458 }, "errorHandler": null, "groups": [ "43ef61277d141c4c95d294fa", "6502a8dd4fdc6f1b34b516be", { "_id": "0a79f6a989683e7ab3502e98", "provenance": "Excepteur Duis eu", "name": "deserunt fugiat reprehenderit Ut", "description": "in quis Ut Lorem qui", "memberOf": [ { "groupId": "7a9a5ae51d104d576e1586aa", "aaaManaged": true }, { "groupId": "546430946d83d5979fee6fe4", "aaaManaged": false }, { "groupId": "fbead21b57c79ad8214768b8", "aaaManaged": false }, { "groupId": "323134fe0391bd346580d9db", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Ut dolore anim dolore velit" }, { "roleId": "Ut Lorem ut ut" } ], "inactive": false, "_meta": { "created": "2015-04-11T12:37:07.663Z", "updated": "1952-04-26T11:32:43.073Z", "migrationVersion": 30756651 } }, "default", "92bf90de1a5686f5185795eb" ], "watchers": [ "73ba706c9e24d87a5b8a37c3", "c212d115b380c0cdc2432f41", "435fefad4886ed50a551bda0", "bc5055e559bf39f1963a788c" ], "metrics": { "start_time": -37753017.10123839, "progress": 0.012530325832587064, "end_time": 28262446.141557977, "user": { "_id": "c7fbb41b1b68b8db0b9fc1bd", "provenance": "deserunt pariatur enim", "username": "consectetur", "firstname": "sint et non irure", "memberOf": [ { "groupId": "1ca540efa24f797d77b913eb", "aaaManaged": false }, { "groupId": "60dcce95b27e0df37bc1e3a3", "aaaManaged": true }, { "groupId": "3faab902f46a7dac6bc1e292", "aaaManaged": false }, { "groupId": "617233ec50f4a30dfdb9e5d8", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "occaecat fugiat" } ], "inactive": false, "lastLogin": "2017-04-26T01:24:58.31Z", "_meta": { "created": "1963-09-22T16:07:47.073Z", "updated": "2022-05-29T02:58:08.447Z", "migrationVersion": 80666380 }, "email": "adipisicing nulla tempor in" }, "owner": { "_id": "8e566881101d7f4a4d9c5d21", "provenance": "in ut exercitation consequat", "username": "sit minim", "firstname": "ad aliqua veniam cillum", "memberOf": [ { "groupId": "0e211111d005d66e52c80ee6", "aaaManaged": false }, { "groupId": "5aa55e910294137790bf3019", "aaaManaged": false }, { "groupId": "9bb0ea5173b6ff0ef4b33fa6", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aliquip consequat dolor amet" }, { "roleId": "do amet fugiat consectetur sint" } ], "inactive": true, "lastLogin": "2004-07-01T03:02:11.828Z", "_meta": { "created": "2019-04-18T04:36:44.608Z", "updated": "1960-10-04T05:25:11.334Z", "migrationVersion": 88224178 }, "email": "veniam" } } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }