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 imported 3 of 4 documents", "data": { "_id": "bc1161ba3b9a182d0e95c54b", "font_size": 39294582, "type": "automation", "created": "1950-10-20T22:23:29.987Z", "last_updated": "1976-05-15T18:04:39.898Z", "createdVersion": "3.98741.640", "lastUpdatedVersion": "98090852.2402056656.1348302774", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -62416658, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 51223720.37199035, "sla": 18508746.065822825, "decorators": [ { "type": "encryption", "pointer": "/s3a96IQL/f,Hi3iORk/Nwuei/Pa3Qe/~1/~0/~1" }, { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/Qxvz6kf2Dnw/Id/~1/~1/cZ0Sv0M/~1/xDT/~0/~1/DeT.-P4" } ], "status": "complete", "tags": [], "error": [ { "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 }, { "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", "message": "incididunt quis in elit" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "sit enim dolor ea" }, { "task": "e28f", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "adipisicing voluptate ullamco deserunt" }, { "task": "workflow_start", "name": "myCoolDocumentName" } ], "ancestors": [ "2f2d7c12fc4cdf10bcbcb2c9" ], "validationErrors": [ { "keyword": "aliqua est quis eiusmod", "dataPath": "veniam cillum dolor adipisicing", "schemaPath": "ullamco Ut veniam ex occaecat", "message": "voluptate consectetur deserunt mollit" }, { "keyword": "Excepteur exercitation", "dataPath": "exercitation sed do magna", "schemaPath": "occaecat aliquip elit fugiat", "message": "velit minim" } ], "created_by": "780ab2c86e1fa2a4b7184600", "last_updated_by": "Pronghorn", "tasks": { "30": { "actor": "Pronghorn", "groups": [ { "_id": "037d477e278fb377df4c812a", "provenance": "labore fugiat", "name": "cillum Ut", "description": "cupidatat et", "memberOf": [ { "groupId": "5ebff7a71c605774d8724f7f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "enim velit" }, { "roleId": "labore aliquip sit" }, { "roleId": "Excepteur officia magna" }, { "roleId": "non ipsum dolore aute ea" }, { "roleId": "ullamco" } ], "inactive": true, "_meta": { "created": "2024-03-26T14:18:30.585Z", "updated": "1962-06-23T00:21:16.931Z", "migrationVersion": -15672495 } }, { "_id": "e749517e4a4391efd88dfbe7", "provenance": "dolor aliquip dolor", "name": "laborum reprehenderit laboris adipisicing ut", "description": "reprehenderit", "memberOf": [ { "groupId": "28966b162e92dcb0ed129200", "aaaManaged": true }, { "groupId": "34c8b187718f53b87afa8c0e", "aaaManaged": true }, { "groupId": "1f083b7e8634fc78319255ff", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "commodo" } ], "inactive": true, "_meta": { "created": "2021-12-11T20:32:45.978Z", "updated": "2023-11-03T23:51:05.782Z", "migrationVersion": 7170974 } }, { "_id": "92437d8da86a8465fdc1016e", "provenance": "mollit sunt exercitation aliqua", "name": "exercitation Excepteur dolore tempor", "description": "Ut", "memberOf": [ { "groupId": "36e2e0662b7ffb6fc3966773", "aaaManaged": false }, { "groupId": "cfdffdbfc0f4aa3ebd636be8", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "laboris proident dolore" } ], "inactive": false, "_meta": { "created": "1957-08-23T04:58:50.881Z", "updated": "1946-06-05T13:54:21.443Z", "migrationVersion": -1194628 } }, "default" ], "iterations": [ "DCb9A2B7-3df6-9Df1-4aF0-59c5cFCCdB4F" ], "x": -68123933.70352142, "y": -16467253.35773538, "gridCoordinate": { "x": 52816101.41693905, "y": -84518241.71116629 }, "name": "sunt", "location": "Application", "locationType": null, "app": "ad ipsum anim", "canvasName": "voluptate ea Lorem labore laboris", "displayName": "Lorem pariatur ad", "summary": "elit Duis Lorem", "description": "esse in", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/M76/q/~1/~1" }, { "type": "encryption", "pointer": "/~0/~1/~1/~0/~0/zZ2kLd/~1/Dy5jUe/k+l" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "Excepteur commodo minim adipisicing cillum", "highlightString": "sint quis" }, { "key": "nostrud", "highlightString": "voluptate magna officia laboris" }, { "key": "eiusmod minim sed esse", "highlightString": "sunt ut" }, { "key": "nisi irure elit cupidatat in", "highlightString": "deserunt reprehenderit ad" } ], "status": "scheduled", "previous": { "incomplete": [ "3a1f", "e28f", "e28f", "e28f" ], "complete": [ "3a1f", "workflow_end", "workflow_start", "workflow_end", "workflow_start" ], "error": [ "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "standard" }, { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "3a1f", "type": "revert" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_end", "type": "revert" } ] }, "serverId": "mollit consectetur nostrud commodo in", "start_time": "2007-01-20T21:57:34.71Z", "end_time": -29556459.06447515, "finish_state": "error", "retrySettings": { "state": [ "failure", "error", "success", "failure" ], "autoRetry": true, "limit": 97957943, "delay": 21124443, "count": 27250564, "finishedRetrying": false }, "type": "automatic" }, "workflow_start": { "x": 25595437.440749392, "y": -4422861.203032985, "gridCoordinate": { "x": 2581922.7901656926, "y": -13765418.89145279 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 36820468.255966425, "finish_state": "failure", "user": "Pronghorn" }, "groups": [ "default", "dc1d1bd3e8a683de9f57f03b" ], "iterations": [ "5EEa3ACd-d52B-57BA-2B5c-c6F8FD9B3BFA", "EfdEB66B-FdDD-d983-E3bb-EbdA62aE4Eb2" ] }, "workflow_end": { "x": 70389648.59858674, "y": -80297399.36543235, "gridCoordinate": { "x": -99984647.4850723, "y": 86936120.13329473 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "workflow_start" ], "complete": [ "error_handler" ], "error": [ "workflow_end" ] }, "metrics": { "end_time": 14700455.37742588, "run_time": -1034552.4578462541 }, "groups": [ { "_id": "95fb7cdbb511e0f97278c456", "provenance": "Ut", "name": "ut Ut eu dolor", "description": "dolore velit occaecat cupidatat", "memberOf": [ { "groupId": "bfdee2cb33fcadd90118c962", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "cupidatat ea Ut" }, { "roleId": "irure ea dolor" }, { "roleId": "eiusmod ullamco reprehenderit cupidatat in" } ], "inactive": true, "_meta": { "created": "1953-09-16T05:37:57.688Z", "updated": "1953-09-20T15:25:32.502Z", "migrationVersion": -48229105 } }, "default", "default", "default", { "_id": "8dd7122865fd0d3aaf60aa15", "provenance": "culpa exercitation fugiat incididunt", "name": "sit eu ad", "description": "nostrud cillum", "memberOf": [ { "groupId": "a5a727882a247519ee98a2b7", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "reprehenderit in in" }, { "roleId": "in ut" } ], "inactive": false, "_meta": { "created": "2019-07-17T02:32:28.066Z", "updated": "1945-09-15T16:11:29.828Z", "migrationVersion": -88160304 } } ], "iterations": [] }, "error_handler": { "x": -28236949.559274256, "y": 43640671.70052463, "gridCoordinate": { "x": -71301990.55926277, "y": -69830438.6965209 }, "name": "childJob", "location": "Application", "locationType": null, "app": "nostrud non elit reprehenderit ad", "canvasName": "fugiat in aliqua elit", "displayName": "magna elit", "summary": "irure", "description": "officia consequat dolore commodo mollit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/PCY" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "adipisicing dolore", "highlightString": "dolor elit et cupidatat ad" }, { "key": "officia", "highlightString": "cillum" } ], "status": "failure", "previous": { "incomplete": [ "3a1f" ], "complete": [ "workflow_start", "workflow_start" ], "error": [ "workflow_end", "error_handler", "workflow_start", "error_handler" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_end", "type": "revert" }, { "task": "error_handler", "type": "standard" } ], "failure": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "standard" } ], "error": [ { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "3a1f", "type": "loop" } ] }, "serverId": "incididunt", "start_time": "1950-05-28T22:33:21.882Z", "end_time": 18301619.187411472, "finish_state": "error", "retrySettings": { "state": [ "error", "failure", "error", "error", "error" ], "autoRetry": true, "limit": 84145433, "delay": 70157322, "count": 69128760, "finishedRetrying": false }, "type": "operation", "actor": "job", "groups": [ { "_id": "106fd17990ed515e4b38eaac", "provenance": "dolor sed aliqua", "name": "nostrud reprehenderit qui ut Duis", "description": "sint ad", "memberOf": [ { "groupId": "2f6f22837f511947344c4804", "aaaManaged": false }, { "groupId": "0431aabc8f897c6a56239129", "aaaManaged": false }, { "groupId": "8d3ce51d6495c370437f80bf", "aaaManaged": false }, { "groupId": "518a4f287e09a80831f3323c", "aaaManaged": true }, { "groupId": "2d66088d2cfa6c102aeccd36", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut quis dolor" } ], "inactive": true, "_meta": { "created": "1977-10-28T21:19:34.247Z", "updated": "2023-12-18T23:42:48.613Z", "migrationVersion": -98330130 } }, { "_id": "50e3b4abc504576138666d89", "provenance": "nostrud", "name": "velit amet aute dolor Excepteur", "description": "dolor", "memberOf": [ { "groupId": "87f3779124c68272e38b0776", "aaaManaged": true }, { "groupId": "e74190eedc44cecb2fa91869", "aaaManaged": true }, { "groupId": "b3af971c4f951605d2165d10", "aaaManaged": false }, { "groupId": "1096f6c2d8d22514e847f625", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "consectetur tempor" }, { "roleId": "ad" } ], "inactive": true, "_meta": { "created": "1956-02-17T03:11:10.678Z", "updated": "1973-10-11T08:56:10.083Z", "migrationVersion": -2435346 } } ], "iterations": [ "Cd4B7BE1-a06a-2F1E-CB7F-3B6A063b2396" ] } }, "parent": { "task": "exercitation id", "iteration": 32581286.391334534, "element": -36405973.51851991 }, "errorHandler": null, "groups": [ "default", { "_id": "d5a5b91682546409fdf8e030", "provenance": "ex", "name": "officia amet mollit", "description": "cillum sit", "memberOf": [ { "groupId": "d1b58b462a8073f86f5b299e", "aaaManaged": false }, { "groupId": "305638b41a37a291b73f59c9", "aaaManaged": false }, { "groupId": "d8bcda4b02d2055b018a69cb", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolor" }, { "roleId": "anim" } ], "inactive": false, "_meta": { "created": "1986-07-27T02:17:58.832Z", "updated": "2024-06-27T23:17:09.547Z", "migrationVersion": 6818033 } }, "e74584cc2497508fe4015a61" ], "watchers": [ { "_id": "ecb60ad10f34a545c2e5e143", "provenance": "culpa nostrud", "username": "elit dolore culpa", "firstname": "deserunt esse ut labore ullamco", "memberOf": [ { "groupId": "767d74a68220f1f5bc0f6ef2", "aaaManaged": true }, { "groupId": "f0524348805f673521969947", "aaaManaged": true }, { "groupId": "f1441f2ae16f0a98f31255c2", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut pariatur labore nisi fugiat" }, { "roleId": "est dolor ea" } ], "inactive": false, "lastLogin": "2001-11-21T03:52:37.966Z", "_meta": { "created": "1995-03-20T04:39:00.111Z", "updated": "1954-05-25T20:37:40.167Z", "migrationVersion": 59946376 }, "email": "ea anim nulla aute" } ], "metrics": { "start_time": 3296698.1842206717, "progress": 0.29504762823600506, "end_time": 1815789.4847197682, "user": "Pronghorn", "owner": { "_id": "97958070efc18842b0b4f70f", "provenance": "cillum officia", "username": "incididunt", "firstname": "ullamco ex reprehenderit", "memberOf": [ { "groupId": "1dbb18480903080b15e7097c", "aaaManaged": true }, { "groupId": "4adc0aad937d254a53747dee", "aaaManaged": false }, { "groupId": "bc41b4fc18c612ff67c88ea0", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "do fugiat adipisicing amet" } ], "inactive": true, "lastLogin": "2022-10-22T19:49:29.407Z", "_meta": { "created": "1969-01-24T02:37:35.36Z", "updated": "2005-11-19T19:20:26.883Z", "migrationVersion": -70766511 }, "email": "exercitation" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }