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 created the requested item", "data": { "_id": "1fc40111e1999a7aeb86101f", "font_size": 20162971, "type": "automation", "created": "1983-04-15T17:30:20.937Z", "last_updated": "1957-05-23T12:16:01.631Z", "createdVersion": "596527928.71263095.633294", "lastUpdatedVersion": "2134082.3137.70545466-7876.98580.0852950255.023", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -61940199, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -67444846.63291295, "sla": -44370914.675753914, "decorators": [ { "type": "encryption", "pointer": "/ku" }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/Ylx" } ], "status": "error", "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": "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 } ], "warnings": [ { "task": "e28f", "name": "myCoolDocumentName" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "mollit dolore cupidatat" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "e28f", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "non", "instancePath": "dolore qui laboris", "schemaPath": "ut officia Ut deserunt", "message": "anim in veniam ullamco" }, { "keyword": "labore dolore", "instancePath": "quis fugiat", "schemaPath": "incididunt in nostrud aliqua anim", "message": "cupidatat sint deserunt consectetur" }, { "keyword": "consectetur adipisicing veniam", "instancePath": "nisi fugiat irure nostrud dolore", "schemaPath": "aliquip ipsum minim", "message": "est amet commodo exercitation reprehenderit" }, { "keyword": "reprehenderit eu deserunt in ut", "instancePath": "Lorem cillum esse", "schemaPath": "Lorem dolore", "message": "aliqua ipsum" }, { "keyword": "do voluptate ad aliquip amet", "instancePath": "fugiat reprehenderit culpa occaecat", "schemaPath": "in ullamco velit commodo aute", "message": "laborum Duis non" } ], "created_by": "422c6c5c1a8d68363d00e6aa", "last_updated_by": null, "tasks": { "workflow_start": { "x": -73784527.36768565, "y": -96450487.02232048, "gridCoordinate": { "x": 16759725.331163362, "y": 13163496.23307529 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 7976796.410565168, "finish_state": "error", "user": null }, "groups": [ "9de7748112ad3fa2396439aa" ], "iterations": [ "9BAFDA4c-Fcca-AFBa-1dfF-DAFd3eFfFE3D", "02b302Ad-Decc-79EC-F6B3-8B9a38DdeDc2" ] }, "workflow_end": { "x": 82243147.33992055, "y": -14819911.969929844, "gridCoordinate": { "x": 10544844.255963787, "y": -40632070.12955763 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "error_handler" ], "complete": [ "e28f", "workflow_end", "workflow_start", "error_handler" ], "error": [ "workflow_end" ] }, "metrics": { "end_time": -50365120.08367677, "run_time": -66106614.26457116 }, "groups": [ { "_id": "72ad1bd39b503b078c2a8491", "provenance": "pariatur eu", "name": "amet veniam cillum aliquip", "description": "elit", "memberOf": [ { "groupId": "7fbfbd0da0ecaf3eff39cecc", "aaaManaged": true }, { "groupId": "72192b33abc23f419de5a6da", "aaaManaged": false }, { "groupId": "2c3537ec7e846bd6f28f1079", "aaaManaged": true }, { "groupId": "cbe42c192caf77771921fc9c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "laboris" } ], "inactive": false, "_meta": { "created": "1974-12-07T04:58:10.245Z", "updated": "1996-07-23T03:15:45.422Z", "migrationVersion": 83598055 } }, "default", "default", "default" ], "iterations": [ "CcEA5070-9F4B-D9B0-43E6-86fed90adc7a", "A082eF6F-DECb-3b50-cdC1-dB33aED55cb7", "62BBA92A-0bb4-eC7d-5Ba0-8740dded5Bc5" ] }, "error_handler": { "x": 41547661.98995352, "y": -54914477.84133618, "gridCoordinate": { "x": -50661709.05871017, "y": 18550721.22414896 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "ea in sed", "canvasName": "ad sit cupidatat pariatur magna", "displayName": "voluptate sed", "summary": "enim ad eu fugiat", "description": "tempor veniam in cillum", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/zduFEcnED/xJ,qv8E5/Yz0N/~0/~0/~0/F/hHY9/BLY/f0vPg/~0" }, { "type": "encryption", "pointer": "/~1/dG/HcVT/~1/WXv5fJFyT/sb/H1,oOnPir" }, { "type": "encryption", "pointer": "/iiMM24EqFzz/cQwF59/Y2jnvSH/~0/VhCkpC8/BH4U+H8w/~1/~0/~0/dN/s.P" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "nostrud voluptate enim exercitation esse", "highlightString": "velit dolor voluptate" } ], "status": "complete", "previous": { "incomplete": [ "error_handler", "workflow_end", "workflow_start", "workflow_start" ], "complete": [ "workflow_start", "3a1f", "e28f", "3a1f" ], "error": [ "error_handler", "workflow_start", "e28f", "error_handler", "e28f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "3a1f", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "3a1f", "type": "standard" } ], "failure": [ { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "loop" } ] }, "serverId": "amet ipsum dolor", "start_time": "2013-02-14T05:55:11.81Z", "end_time": 66399944.52322617, "finish_state": "failure", "retrySettings": { "state": [ "success" ], "autoRetry": false, "limit": 52761989, "delay": 85366233, "count": 10459187, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ "12e963bfc62134bdf91fe0f4", { "_id": "8c030d0508ebd9d5b6794022", "provenance": "elit dolor", "name": "minim ea", "description": "irure labore aliqua sunt aute", "memberOf": [ { "groupId": "f965e09f3fc3a1f389f9f20d", "aaaManaged": true }, { "groupId": "f4be1d2b2096787996d76bdf", "aaaManaged": false }, { "groupId": "66310443a9ef35371bebb47f", "aaaManaged": false }, { "groupId": "deb59a9def001b951fe736c3", "aaaManaged": true }, { "groupId": "7d727f5b9958c6954842251a", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consectetur veniam cupidatat dolor deserunt" }, { "roleId": "aute" } ], "inactive": false, "_meta": { "created": "1973-03-25T16:02:00.097Z", "updated": "1962-01-20T22:40:43.682Z", "migrationVersion": 86657090 } }, "c20df2b7c2441190e663990a" ], "iterations": [ "aBdDC85B-d56e-CD6c-4Fed-a57ab976bFe8", "45BECdDb-b0D2-EDb5-3FdC-6aab78C1f0ce", "f866AdCa-4878-E3Cd-EBA2-4afb957F80b6" ] }, "c76b": { "actor": "6c1000be9d6b026c4624c2b9", "groups": [ "0f4740077eef3c926f8f755b" ], "iterations": [ "0abEBF1D-bd94-b5bf-665c-F48Ab0aaBBAE", "f53fdcF1-1dAF-0024-2C4F-c084CA64bD4B" ], "x": 15149575.886391714, "y": -92499623.2185927, "gridCoordinate": { "x": -20667139.6938186, "y": 26338913.738060296 }, "name": "pending", "summary": "laborum ullamco ipsum", "description": "dolore dolore" } }, "parent": { "task": "fugiat", "iteration": -50299708.111097895, "element": -86411893.2018734 }, "errorHandler": { "actor": null, "groups": [ { "_id": "ef262917c31ed90003d5be0f", "provenance": "veniam", "name": "ex eu occaecat quis", "description": "minim in irure mollit magna", "memberOf": [ { "groupId": "e2a130c7131d1896c64ccb29", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sint ut occaecat" }, { "roleId": "occaecat ut est ipsum" }, { "roleId": "Lorem consectetur ut dolore sint" }, { "roleId": "anim" } ], "inactive": false, "_meta": { "created": "1989-03-21T02:56:22.488Z", "updated": "2008-04-25T22:39:42.923Z", "migrationVersion": -50619018 } }, "79fd21b5840ede448e0e73d6" ], "iterations": [ "fde3A4e4-dCd5-E93d-018e-b7AaD94f1e3b" ], "x": -33155059.150112323, "y": -56368458.900439575, "gridCoordinate": { "x": 37761758.474603415, "y": -98841544.8809718 }, "name": "pending", "summary": "nostrud anim velit", "description": "deserunt mollit non laboris" }, "groups": [ { "_id": "7cab154a3275656ec3753fad", "provenance": "ullamco id aliqua anim est", "name": "id aute", "description": "aute", "memberOf": [ { "groupId": "4b09556dea2fd3e2d9058560", "aaaManaged": false }, { "groupId": "d0c68bb15b89ab99639011af", "aaaManaged": true }, { "groupId": "3b86c4410b602556ca690842", "aaaManaged": true }, { "groupId": "c1763607af95c2cfc5f0e1e9", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "eiusmod nostrud do Ut" }, { "roleId": "consequat ut sint enim" }, { "roleId": "velit ut" } ], "inactive": false, "_meta": { "created": "1976-05-31T03:36:08.566Z", "updated": "1952-08-16T21:09:10.612Z", "migrationVersion": 81929502 } }, "default", { "_id": "cac596256f97314aa1f7b352", "provenance": "Ut", "name": "sunt ipsum", "description": "dolore incididunt laboris dolor ut", "memberOf": [ { "groupId": "55ea74d13a2fb02e46ef87d4", "aaaManaged": true }, { "groupId": "3c2893596af31bc066caf2eb", "aaaManaged": true }, { "groupId": "746487ed71500d6cd7c941e6", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "est ut dolor velit in" }, { "roleId": "irure nulla anim laboris esse" }, { "roleId": "sint id" } ], "inactive": false, "_meta": { "created": "1977-07-27T18:16:37.545Z", "updated": "2019-08-28T14:42:25.091Z", "migrationVersion": 73014847 } }, { "_id": "5a76f70e4954ec6be79f8434", "provenance": "ad id", "name": "sit amet labore eu", "description": "sint", "memberOf": [ { "groupId": "0c233bbd6035a5a032c5c6b7", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consequat aute deserunt occaecat velit" }, { "roleId": "amet anim nisi" }, { "roleId": "tempor deserunt nostrud ipsum officia" }, { "roleId": "pariatur cillum ex" }, { "roleId": "qui velit ut" } ], "inactive": false, "_meta": { "created": "2011-12-02T03:37:09.59Z", "updated": "1977-07-23T20:00:14.219Z", "migrationVersion": -49611019 } }, "default" ], "watchers": [ "c0fd514ebf54337c95858a5d" ], "metrics": { "start_time": -58958357.1985107, "progress": 0.38459761248274615, "end_time": -90193226.42389089, "user": { "_id": "c334b2b28e624a8adadce788", "provenance": "eu", "username": "minim esse Excepteur consectetur id", "firstname": "eu minim in Lorem occaecat", "memberOf": [ { "groupId": "670769044f53f59ada73c91d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "et" }, { "roleId": "est reprehenderit" }, { "roleId": "est ea tempor" }, { "roleId": "magna dolor incididunt cupidatat enim" } ], "inactive": true, "lastLogin": "2007-11-21T17:09:22.231Z", "_meta": { "created": "2011-10-16T04:23:44.204Z", "updated": "2016-06-09T02:20:48.079Z", "migrationVersion": 23105793 }, "email": "Duis enim ipsum" }, "owner": { "_id": "fc2c2c4f6330c7f00d973009", "provenance": "et sint ipsum anim", "username": "officia elit", "firstname": "mollit ipsum incididunt sit veniam", "memberOf": [ { "groupId": "fbd1ce5285491bb2427e40d3", "aaaManaged": false }, { "groupId": "de7bd01150244cf0066f5119", "aaaManaged": false }, { "groupId": "14dd2cc08f7cfc8b0d19e19f", "aaaManaged": true }, { "groupId": "8bc1c7400ea39e73cf916eb0", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "anim commodo" }, { "roleId": "in laborum mollit officia" }, { "roleId": "adipisicing ad minim aliquip" }, { "roleId": "deserunt sed tempor" } ], "inactive": true, "lastLogin": "1971-07-14T11:28:29.397Z", "_meta": { "created": "1975-05-06T11:41:00.916Z", "updated": "1992-08-09T18:59:28.028Z", "migrationVersion": 36482359 }, "email": "deserunt" } } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }