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", "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": "c1adb5a700d22edfa06698b2", "font_size": -27534318, "type": "automation", "created": "1969-12-13T07:33:38.291Z", "last_updated": "2017-05-29T06:09:49.213Z", "createdVersion": "09213664700.29441769.57488642", "lastUpdatedVersion": "4935315.4981.743", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": 35125244, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 69907711.76985162, "sla": -98016390.94803263, "decorators": [ { "type": "encryption", "pointer": "/~0/b9AVnQ,/sPOC2e+7b/~1/~0/~0/ANb,8J/~1" }, { "type": "encryption", "pointer": "/jGAylh/ECKs/gG/zZR5CIqKg4z/LeahFJBN/~1/~1/Yo8zDjYiP3/un" }, { "type": "encryption", "pointer": "/PvT1fCr1rm/~0/~0/toxy3JtA/~0/~1/r+A2w" }, { "type": "encryption", "pointer": "/~0/~0/~0/~0" } ], "status": "canceled", "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": "Duis anim dolor eiusmod amet" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "ad" }, { "task": "e28f", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" } ], "ancestors": [ "2cd5cd6543fd44505a034bff", "315981389a4f19324994ee6e" ], "validationErrors": [ { "keyword": "cupidatat Excepteur", "instancePath": "officia in enim proident", "schemaPath": "sint ea sunt Ut culpa", "message": "enim veniam incididunt anim" }, { "keyword": "ullamco incididunt reprehenderit sit", "instancePath": "do", "schemaPath": "dolore amet do", "message": "enim ea fugiat" }, { "keyword": "tempor anim culpa fugiat", "instancePath": "dolor velit ut esse consectetur", "schemaPath": "velit consequat consectetur cupidatat", "message": "aute" }, { "keyword": "sunt Duis in et deserunt", "instancePath": "quis sunt velit", "schemaPath": "laborum ut ullamco cillum", "message": "aliqua dolore anim" }, { "keyword": "sint cillum", "instancePath": "id et", "schemaPath": "culpa aliquip aliqua sint eiusmod", "message": "nostrud sint quis Duis reprehenderit" } ], "created_by": { "_id": "4de0e35f459097dd4373f954", "provenance": "Lorem", "username": "officia enim laboris", "firstname": "incididunt Duis ea", "memberOf": [ { "groupId": "5a896f17fc8b40b788cc4b50", "aaaManaged": true }, { "groupId": "cdfcfb854f13b56a9f2d3ceb", "aaaManaged": false }, { "groupId": "c82339eed7989b266436a626", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "in aliqua do" }, { "roleId": "enim" }, { "roleId": "eu fugiat" }, { "roleId": "laboris" } ], "inactive": false, "lastLogin": "1984-09-02T18:32:04.315Z", "_meta": { "created": "1957-06-26T15:07:17.536Z", "updated": "1948-04-14T07:01:13.876Z", "migrationVersion": -36849244 }, "email": "in" }, "last_updated_by": "4409670dfcf8b273895434c9", "tasks": { "workflow_start": { "x": -81221914.64844754, "y": -78235542.4430976, "gridCoordinate": { "x": 35339601.27933371, "y": -48698683.565343395 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -63579752.93634888, "finish_state": "failure", "user": "Pronghorn" }, "groups": [ { "_id": "a4cd6fa7093f66f14a8a4541", "provenance": "ex est", "name": "eu ad deserunt id ipsum", "description": "proident minim", "memberOf": [ { "groupId": "ac17ab66c8de68f446388d20", "aaaManaged": false }, { "groupId": "ed3cb71775f4b3b0120af32e", "aaaManaged": false }, { "groupId": "d31bd4162d4ca5ba8bd15298", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "velit sed Ut" }, { "roleId": "deserunt" } ], "inactive": true, "_meta": { "created": "1969-10-17T05:31:40.463Z", "updated": "1950-02-20T19:12:52.217Z", "migrationVersion": -94630933 } }, "default", "c58633a290af13575f76218e", { "_id": "8498a7791e867c1dbdd97057", "provenance": "ipsum deserunt", "name": "eiusmod aliqua in cillum deserunt", "description": "do dolor amet velit", "memberOf": [ { "groupId": "b51b8fe9b7972949fc5f0d58", "aaaManaged": false }, { "groupId": "d37a99d93638bfe92f11a41b", "aaaManaged": false }, { "groupId": "688a1dacbdd4fc87d5ed25a6", "aaaManaged": true }, { "groupId": "ed8a7a3f786ab05d65892de5", "aaaManaged": true }, { "groupId": "a06a7f39186e3c61ff288fb5", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sed Lorem eiusmod" }, { "roleId": "dolor incididunt reprehenderit" }, { "roleId": "occaecat incididunt culpa minim" }, { "roleId": "ea ut sit nisi minim" }, { "roleId": "incididunt do pariatur Ut" } ], "inactive": false, "_meta": { "created": "2011-08-28T02:15:40.617Z", "updated": "1971-08-03T06:06:11.952Z", "migrationVersion": -35084917 } }, "6818146e9725a90a5cdafc51" ], "iterations": [ "ceC121DE-50e5-a4F6-e4FE-Af4EE88B1A1e", "dBc8D2E6-eabF-44fC-AC42-8EeA6A65bF75" ] }, "workflow_end": { "x": -29563057.361996263, "y": 77092617.05185205, "gridCoordinate": { "x": -94213800.60552523, "y": -21373629.032442614 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "3a1f", "error_handler" ], "complete": [ "3a1f" ], "error": [ "3a1f" ] }, "metrics": { "end_time": -95871972.54643396, "run_time": 17268892.10601455 }, "groups": [ "default", { "_id": "8b3ac9c5c6ba48c0f442d02e", "provenance": "occaecat Lorem enim", "name": "amet ex aliqua voluptate fugiat", "description": "commodo magna do eiusmod elit", "memberOf": [ { "groupId": "7effe77fd5ecf365be7fdd3b", "aaaManaged": true }, { "groupId": "aa032a42500bac1619c43f93", "aaaManaged": true }, { "groupId": "c85ab1f80917d4421148f51c", "aaaManaged": false }, { "groupId": "9ce8a43e7cc667a6e572656f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "magna adipisicing mollit irure" }, { "roleId": "aliqua elit nisi" } ], "inactive": true, "_meta": { "created": "1977-06-26T07:41:29.853Z", "updated": "1994-03-29T21:48:23.468Z", "migrationVersion": 6555206 } } ], "iterations": [ "F442E93f-3a5F-Ba03-39F6-2ac5b7C38B13" ] }, "error_handler": { "x": 84579055.83591446, "y": -10322018.756604344, "gridCoordinate": { "x": 50093409.93471083, "y": 91849938.53409377 }, "name": "childJob", "location": "Application", "locationType": null, "app": "eiusmod dolor", "canvasName": "ipsum ullamco enim nulla aliquip", "displayName": "do commodo ex consequat", "summary": "consequat nisi", "description": "sit in", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~0/~1/~1/F8wmQ4HrYV/BP.Nv,1/~1/~1/~1" }, { "type": "encryption", "pointer": "/RgJTy/~0/~0/~1/LTo1/~0/Sc/o0Gj31k9d+" }, { "type": "encryption", "pointer": "/Q/He5Ul/XqjMgVOglDs/x1jt9/~1/~1/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "nulla in incididunt ipsum", "highlightString": "aute Ut laborum commodo dolor" } ], "status": "canceled", "previous": { "incomplete": [ "workflow_start", "workflow_start", "workflow_start", "workflow_end" ], "complete": [ "3a1f", "3a1f", "workflow_start", "workflow_start", "error_handler" ], "error": [ "workflow_start", "workflow_start", "workflow_end" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "3a1f", "type": "loop" } ], "failure": [ { "task": "workflow_end", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "in non Lorem sed proident", "start_time": "1954-10-30T17:36:06.35Z", "end_time": 69430328.03215328, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "db06d58cb487e746a4d2546c", "groups": [ "27a34fe510bd2579ee657a10", "22af7fc68f2d853a1b6540bb", "default", "default", { "_id": "19534b876b93088ffec6a191", "provenance": "reprehenderit non deserunt", "name": "sint esse sed", "description": "sit eiusmod et", "memberOf": [ { "groupId": "4fd01a5443f7aee2a745649b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "incididunt ut tempor reprehenderit" }, { "roleId": "ut occaecat" }, { "roleId": "ipsum" }, { "roleId": "ipsum" } ], "inactive": true, "_meta": { "created": "2012-06-13T12:55:47.49Z", "updated": "2001-05-04T23:06:48.236Z", "migrationVersion": 27274502 } } ], "iterations": [ "AA7Ac033-Fe69-Ada5-C7BF-fDA58be7d9E9", "66aDFBA2-b151-3CEB-b15f-D7FFC3d578F7", "adD01732-bDF3-D2C5-94C1-A1aad8C0d7b1" ] }, "89ec": { "actor": "Pronghorn", "groups": [ "default" ], "iterations": [ "dD6af74F-FbD6-eCCd-2B0B-CcF5Ad799ffA" ], "x": -26545067.524757475, "y": -71181643.45618752, "gridCoordinate": { "x": -70364263.83950673, "y": -85879344.51657188 }, "name": "occaecat amet adipisicing", "location": "Application", "locationType": "incididunt ea quis sit", "app": "Lorem non sunt sint", "canvasName": "irure eu anim", "displayName": "cillum irure velit proident", "summary": "minim tempor Duis", "description": "labore sunt esse minim pariatur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/rnfu,eRad" }, { "type": "encryption", "pointer": "/~0/~0/ec/Be+n0nk/tzU9HD" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "Duis ad ut velit qui", "highlightString": "sint" }, { "key": "officia", "highlightString": "qui ut reprehenderit" }, { "key": "sed voluptate aute pariatur ipsum", "highlightString": "Excepteur Duis minim magna laboris" }, { "key": "ex", "highlightString": "mollit est anim ipsum" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_start", "e28f", "workflow_start", "error_handler" ], "complete": [ "workflow_start", "workflow_end", "error_handler", "e28f", "workflow_end" ], "error": [ "workflow_start", "workflow_start", "error_handler" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "revert" } ] }, "serverId": "culpa eu commodo deserunt ipsum", "start_time": "2017-12-22T05:43:10.573Z", "end_time": 39540706.54589218, "finish_state": "failure", "retrySettings": { "state": [ "error", "error", "failure", "error", "success" ], "autoRetry": true, "limit": 15129417, "delay": 11004589, "count": 27700046, "finishedRetrying": true }, "type": "automatic" } }, "parent": { "task": "anim occaecat fugiat eiusmod ad", "iteration": -90644980.94177172, "element": 62145721.94504404 }, "errorHandler": null, "groups": [ "9cfa121b64550042d14519a6", "default", "default" ], "watchers": [ { "_id": "a908e506c73ba33e5ed27372", "provenance": "Excepteur aliqua irure commodo pariatur", "username": "sunt est deserunt ullamco", "firstname": "magna elit", "memberOf": [ { "groupId": "0663d6be04feaf0e3ce9eb54", "aaaManaged": false }, { "groupId": "b2d571a2770707ae61ac18c7", "aaaManaged": false }, { "groupId": "bb53a60d8f02d8828db298cc", "aaaManaged": false }, { "groupId": "53a757a1327f52c1a1282751", "aaaManaged": false }, { "groupId": "8c8f71251029090e8792b123", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sed cupidatat" }, { "roleId": "minim" }, { "roleId": "ut ullamco eu" }, { "roleId": "quis mollit amet non" } ], "inactive": false, "lastLogin": "2012-05-05T13:05:08.607Z", "_meta": { "created": "1957-03-04T02:46:48.565Z", "updated": "1997-06-15T16:41:22.129Z", "migrationVersion": 56627567 }, "email": "commodo esse velit" }, null, "cdb60167afc80caabcb2e5f7" ], "metrics": { "start_time": -89121782.12060335, "progress": 0.5690584860443682, "end_time": -91835627.80611658, "user": { "_id": "c49a8a514a7042551907b70d", "provenance": "esse incididunt ut officia", "username": "Ut adipisicing", "firstname": "ea dolore nisi aute dolor", "memberOf": [ { "groupId": "f8c52e53c3dda1dec98fdeac", "aaaManaged": false }, { "groupId": "4ec7a2455653c8d7b789190c", "aaaManaged": false }, { "groupId": "b939a8a082ee5672742ae4c9", "aaaManaged": true }, { "groupId": "5ae075f2566d6af86e9b0565", "aaaManaged": true }, { "groupId": "c7c686c0e0f69d29440aa88f", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "est sit" }, { "roleId": "elit" }, { "roleId": "velit exercitation" } ], "inactive": true, "lastLogin": "1969-09-30T19:12:24.156Z", "_meta": { "created": "2014-04-03T21:56:54.274Z", "updated": "1948-09-08T18:07:13.629Z", "migrationVersion": 10623866 }, "email": "laborum" }, "owner": "6ffa96387f0168ee9c71a53f" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }