Summary
Run Endpoint Trigger With POST
Description
Runs the Automation associated with the API Trigger.
Route
POST /operations-manager/triggers/endpoint/:routeName
Roles
Parameters
Name | Type | Required | Description |
---|---|---|---|
routeName | string | yes | The routeName of the API Trigger. |
body | object | yes | Any key-value pairs in the POST body will be used to create job variables. |
{}
{ "title": "body", "type": "object", "properties": {}, "additionalProperties": true }
Return
Name | Type | Description |
---|---|---|
result | object | The spawned Job. |
{ "message": "Successfully created the requested item", "data": { "_id": "d85cbf1e8e364dad850eebd5", "font_size": -94451177, "type": "resource:action", "created": "1984-05-22T08:00:05.504Z", "last_updated": "1951-11-10T17:59:18.034Z", "createdVersion": "67462914631.32208086.559035077", "lastUpdatedVersion": "960278612.15.963413", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": 79866476, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 91497043.35071674, "sla": 94017339.08659092, "decorators": [ { "type": "encryption", "pointer": "/~0/nCKGXpB/~0" }, { "type": "encryption", "pointer": "/~0/~0/b3yYFm/KLuuKvN/~0" } ], "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 }, { "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 } ], "warnings": [ { "task": "workflow_end", "name": "myCoolDocumentName", "message": "eiusmod" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "aliqua in qui" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "eiusmod ut" }, { "task": "workflow_end", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "esse non in sint", "dataPath": "dolor officia est laborum ipsum", "schemaPath": "dolor adipisicing", "message": "minim reprehenderit enim id ut" }, { "keyword": "ad nostrud", "dataPath": "veniam", "schemaPath": "ex fugiat eiusmod", "message": "quis" }, { "keyword": "quis ex labore", "dataPath": "sit in", "schemaPath": "adipisicing elit dolor deserunt", "message": "culpa officia" } ], "created_by": "Pronghorn", "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": 2048833.9957081825, "y": 11170762.571742848, "gridCoordinate": { "x": 73858917.77102914, "y": 82633951.29342008 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 99241609.58605364, "finish_state": "success", "user": { "_id": "59bbf5b82d56720b85edd48a", "provenance": "dolor proident sunt dolor sint", "username": "voluptate", "firstname": "aliquip Ut cillum", "memberOf": [ { "groupId": "0be29ed8d7c7d28974fcde41", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consectetur sint Excepteur" }, { "roleId": "velit Duis" }, { "roleId": "est do" }, { "roleId": "ea voluptate dolor laboris et" } ], "inactive": false, "lastLogin": "2015-09-22T04:03:13.519Z", "_meta": { "created": "1945-06-28T07:47:44.932Z", "updated": "1981-09-17T08:22:53.105Z", "migrationVersion": 60993284 }, "email": "officia Ut" } }, "groups": [ { "_id": "74aaf0f60940b010a6b9e709", "provenance": "cillum velit proident", "name": "nostrud", "description": "aliqua", "memberOf": [ { "groupId": "6f4c0ee8806f19424dc09a15", "aaaManaged": true }, { "groupId": "651efd99ad4f7c5ddcb4f9f1", "aaaManaged": true }, { "groupId": "4536440e89d46cc17e9a7111", "aaaManaged": false }, { "groupId": "529eae0a8378ffd067129462", "aaaManaged": false }, { "groupId": "470a675f861600bc675355c4", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "in et" }, { "roleId": "et deserunt qui occaecat" }, { "roleId": "quis" }, { "roleId": "nostrud Duis culpa" } ], "inactive": false, "_meta": { "created": "2019-05-23T12:58:20.326Z", "updated": "1958-02-27T00:59:40.615Z", "migrationVersion": -65454378 } }, "default", "7595d5f91dc089d43b8f2d16", { "_id": "54427aeb5a5719d52eb969ae", "provenance": "culpa sunt irure nostrud", "name": "commodo occaecat magna", "description": "id Excepteur Duis proident exercitation", "memberOf": [ { "groupId": "7ea67be9220ad27ab9ff7065", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sint" } ], "inactive": true, "_meta": { "created": "1960-08-05T23:08:36.043Z", "updated": "1989-09-04T05:54:07.444Z", "migrationVersion": 62522976 } }, "default" ], "iterations": [ "fa8e6ef3-4E4A-21Fe-bfaf-dBFE02a4AB6F", "484Dd6D6-EedE-DB1b-2E61-6D3fa76e97f8" ] }, "workflow_end": { "x": 38502818.05113238, "y": 75738631.22112918, "gridCoordinate": { "x": 39558205.9891502, "y": -34471957.06137336 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "e28f" ], "complete": [ "e28f", "workflow_start" ], "error": [ "workflow_end" ] }, "metrics": { "end_time": 11231315.356214061, "run_time": 351259.60617393255 }, "groups": [ "06ac4e25736f049d628d6f1e", "default", "default", "default" ], "iterations": [] }, "error_handler": { "x": -72631.3921200782, "y": 26406395.436817303, "gridCoordinate": { "x": -72213443.410905, "y": 17810079.64923416 }, "name": "childJob", "location": "Application", "locationType": "in adipisicing elit", "app": "voluptate Excepteur consectetur officia dolor", "canvasName": "eiusmod", "displayName": "eiusmod labore id", "summary": "occaecat enim officia", "description": "elit minim qui fugiat non", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/itIu/~1/rF9KCqzx/O7T/1Imw/QA+/~0/Gu/p4V8MLZZ" }, { "type": "encryption", "pointer": "/~1/~1/~0/M4f/CNtP61b3HO/F0E5+Q0tj/~0/e/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "tempor fugiat", "highlightString": "do sunt est" }, { "key": "dolor sed esse", "highlightString": "Ut tempor ut" }, { "key": "ullamco sint mollit", "highlightString": "laborum amet officia Excepteur" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start", "workflow_end", "3a1f", "3a1f" ], "complete": [ "workflow_end", "3a1f", "workflow_start" ], "error": [ "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "loop" } ], "failure": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_end", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "revert" } ] }, "serverId": "aliquip nostrud Excepteur", "start_time": "1967-09-29T05:59:33.387Z", "end_time": -89565297.67503114, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "Pronghorn", "groups": [ { "_id": "f809af5009a5f3f4cde48805", "provenance": "sed", "name": "nostrud esse Duis ullamco", "description": "labore adipisicing", "memberOf": [ { "groupId": "b47fa3c32ec4158e13c081d1", "aaaManaged": false }, { "groupId": "940ec0e5c6844a5327b09eab", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "labore" }, { "roleId": "incididunt in consectetur" } ], "inactive": true, "_meta": { "created": "1972-03-15T11:13:00.916Z", "updated": "1974-09-24T01:52:56.859Z", "migrationVersion": -88697197 } } ], "iterations": [ "49D91a12-1EEA-09EF-135C-6e00EcBf8AA1", "8eba9072-B0Ca-F4DA-4873-FDD765Ca39D9" ] }, "c3": { "actor": "$var.a7.2vAuJdL", "groups": [ { "_id": "37d8f39b67104a8d163108ec", "provenance": "dolor reprehenderit irure esse fugiat", "name": "dolore sed aute voluptate", "description": "nisi", "memberOf": [ { "groupId": "611c7b41558ecffc5e533d5a", "aaaManaged": false }, { "groupId": "36978b87bf4ab6104f4528ea", "aaaManaged": true }, { "groupId": "d8cc6768fe9df114cf22d2b2", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore" }, { "roleId": "laborum" } ], "inactive": true, "_meta": { "created": "1988-05-20T15:14:46.206Z", "updated": "1976-03-05T22:19:37.646Z", "migrationVersion": 7958983 } }, "default", "431c52dbb7e228aee239b755", "default", { "_id": "69c93877eb8302f403a86daf", "provenance": "ex cillum aliqua labore", "name": "culpa minim in", "description": "Excepteur nisi", "memberOf": [ { "groupId": "0aa0cf6afd944a4560637760", "aaaManaged": true }, { "groupId": "cae859592a1ac09cd84e18f5", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aliqua aliquip non mollit enim" }, { "roleId": "est labore proident amet laborum" }, { "roleId": "irure" } ], "inactive": true, "_meta": { "created": "1975-11-01T02:40:19.999Z", "updated": "1968-12-04T05:27:06.658Z", "migrationVersion": -58340642 } } ], "iterations": [ "9cD2dF73-0fc4-D86B-AacF-0f8Cfdc46BD4" ], "x": 69626579.68509564, "y": -92869982.38350427, "gridCoordinate": { "x": 5066536.638740614, "y": 43233179.05515766 }, "name": "id nulla adipisicing consectetur", "location": "Application", "locationType": null, "app": "consequat pariatur aliqua et in", "canvasName": "laborum velit qui cupidatat dolore", "displayName": "labore", "summary": "magna aliquip minim in", "description": "et sit quis anim", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/nGnTrPt/~1/d2yJCFuV/~1/yBGvM/cC7LyHPB/~1/ZWyhRRbr./i/~1" }, { "type": "encryption", "pointer": "/~1/BJG7TW/~0/K5l/~0/yyZatqu+X/eYqB+E" }, { "type": "encryption", "pointer": "/~0" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "cupidatat nostrud ea dolor", "highlightString": "elit officia non sed" } ], "status": "canceled", "previous": { "incomplete": [ "e28f", "workflow_start", "workflow_end", "workflow_end" ], "complete": [ "e28f", "error_handler", "3a1f", "error_handler", "e28f" ], "error": [ "workflow_end", "error_handler", "e28f", "e28f" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "consectetur ad et reprehenderit dolor", "start_time": "1947-07-01T03:50:11.783Z", "end_time": -92268118.73037915, "finish_state": "error", "retrySettings": null, "type": "automatic" } }, "parent": { "job": "veniam aute", "task": "est", "iteration": -79237424.4894582, "element": -94171729.68096125 }, "errorHandler": { "actor": "$var.job.szQwo", "groups": [ "default", { "_id": "4c2c81384b5b981630feae81", "provenance": "Excepteur ullamco dolore Ut", "name": "dolor non", "description": "nisi consectetur", "memberOf": [ { "groupId": "6c3b76b8841c6766ac859e42", "aaaManaged": false }, { "groupId": "58416c374dd676a0649b7625", "aaaManaged": false }, { "groupId": "413cd1f6c4256aa2b6c14a75", "aaaManaged": true }, { "groupId": "047c09871e2db78c98d799c5", "aaaManaged": true }, { "groupId": "259100a2ec69a47c8a9d101b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "cupidatat" }, { "roleId": "nostrud nulla quis" } ], "inactive": true, "_meta": { "created": "1970-09-21T10:04:22.01Z", "updated": "1988-06-23T04:34:42.854Z", "migrationVersion": -49703775 } }, "default" ], "iterations": [], "x": -64626948.62603806, "y": -4568412.695051774, "gridCoordinate": { "x": -56949035.46453971, "y": 47940226.11923593 }, "name": "ea exercitation et id", "location": "Adapter", "locationType": "Duis labore irure ex", "app": "laborum dolore cillum", "canvasName": "eiusmod", "displayName": "magna", "summary": "Lorem", "description": "ullamco anim pariatur minim", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/fab/~1/~0/~0/u0/~0/~1/~1" }, { "type": "encryption", "pointer": "/WstDR2Tx8/ES/~1/Q+/87Ot7b/f/svBCc0,v/w3ezqjRrr/~1" }, { "type": "encryption", "pointer": "/~0/~0/B/WxkmIzuQ" }, { "type": "encryption", "pointer": "/~0/~0/~0/~1/~0/atfEH8+7J4/ROJd5QMy/~1/ZRJVrRE,1Wa/XC/~0" }, { "type": "encryption", "pointer": "/iFQ+Y3VXcZ./~0/~1/r3Y/~0/~0/yTYPMwHjbQO" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "id ipsum in", "highlightString": "ea" }, { "key": "cillum aliquip nisi ex quis", "highlightString": "sint aliquip culpa labore" }, { "key": "irure cillum in", "highlightString": "adipisicing fugiat" }, { "key": "aute nisi consequat", "highlightString": "occaecat in exercitation dolor ad" }, { "key": "velit minim incididunt in", "highlightString": "nisi dolor Lorem id" } ], "status": "running", "previous": { "incomplete": [ "3a1f", "workflow_start", "workflow_start" ], "complete": [ "e28f", "workflow_end" ], "error": [ "workflow_end", "e28f", "workflow_start", "error_handler" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "e28f", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "error_handler", "type": "loop" } ], "failure": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_end", "type": "standard" } ], "error": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "loop" } ] }, "serverId": "do", "start_time": "1969-07-05T15:34:11.19Z", "end_time": 75612566.84776428, "finish_state": "failure", "retrySettings": null, "type": "automatic" }, "groups": [ "default", { "_id": "6fa249d9d5369b95b4fe4671", "provenance": "velit eiusmod enim consectetur", "name": "aliqua dolore ea ut", "description": "proident minim", "memberOf": [ { "groupId": "0e924e88bfb6636f74c8b870", "aaaManaged": false }, { "groupId": "46b4183b67601ee160baa979", "aaaManaged": false }, { "groupId": "6dfd7ff88c208e7ec3fd23d7", "aaaManaged": true }, { "groupId": "d457e80e15782c401df06dce", "aaaManaged": false }, { "groupId": "3b41a7270d8c56bfc34f0539", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "laboris aute et labore sunt" }, { "roleId": "id sed" }, { "roleId": "sit nisi Duis in" }, { "roleId": "Lorem elit tempor" }, { "roleId": "minim" } ], "inactive": true, "_meta": { "created": "1969-07-06T13:09:05.238Z", "updated": "1969-10-20T06:03:08.206Z", "migrationVersion": -42479675 } }, "5801b08e901551ab8286d713", "default" ], "watchers": [ null, { "_id": "72b50b1067f32bf2d74c4735", "provenance": "nulla velit", "username": "dolor dolore qui", "firstname": "velit reprehenderit aliquip", "memberOf": [ { "groupId": "3d08660de648fe72c0e53900", "aaaManaged": true }, { "groupId": "7a9302295493f09e52cd2820", "aaaManaged": false }, { "groupId": "4c9187cb66cce4fd5141cb6e", "aaaManaged": true }, { "groupId": "ac92a6608c13717bdb246c76", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "voluptate est laboris et" } ], "inactive": true, "lastLogin": "2012-11-06T20:36:21.841Z", "_meta": { "created": "2018-04-23T12:32:34.442Z", "updated": "1948-10-10T16:06:46.001Z", "migrationVersion": 74258567 }, "email": "reprehenderit in exercitation mollit veniam" }, "Pronghorn", null ], "metrics": { "start_time": -46420627.74671505, "progress": 0.1269558595783451, "end_time": -54258790.44470805, "user": null, "owner": "Pronghorn" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }