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": "00e0796295e28083a5f840a4", "font_size": 87552408, "type": "resource:action", "created": "1995-01-21T12:53:12.55Z", "last_updated": "2004-12-08T22:04:53.336Z", "createdVersion": "59019602.1.9-4023.05397.2580", "lastUpdatedVersion": "40259111223.32738.3705176240-3468.50717.266507458", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": -14671831, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -39508708.209487155, "sla": -36645434.60667189, "decorators": [ { "type": "encryption", "pointer": "/k7ft5hmVC6J/YGh/CYUHmNDN/~1/h6cQQ/~0/~1/XLY5uYe/Z+XJ6-0V4/~1" }, { "type": "encryption", "pointer": "/amPvlL/~0/~0/~1/QUEpN/Wh2c/idqMk/~0/~1" }, { "type": "encryption", "pointer": "/uY8/~1/rA0aY85OE/~0/nbd/~1/cyF" } ], "status": "incomplete", "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_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "Excepteur nisi" } ], "ancestors": [ "6e9036210988fa73cfb32cbc", "bfbfce59cdacf73aba5c1d53" ], "validationErrors": [ { "keyword": "anim", "instancePath": "aute do", "schemaPath": "nulla", "message": "qui magna" }, { "keyword": "dolor", "instancePath": "sint ut occaecat aute laboris", "schemaPath": "dolor", "message": "est consectetur Lorem" }, { "keyword": "qui ipsum mollit", "instancePath": "cupidatat aliquip sint", "schemaPath": "aliquip Ut consectetur nisi sit", "message": "ea incididunt dolor cillum" }, { "keyword": "in dolore velit non", "instancePath": "consectetur ut eiusmod dolore laboris", "schemaPath": "Lorem aliqua", "message": "Lorem fugiat" } ], "created_by": "Pronghorn", "last_updated_by": "a1f6456d415344feb82dc62b", "tasks": { "workflow_start": { "x": 97125128.72459817, "y": -41725646.56679984, "gridCoordinate": { "x": -84469881.39770237, "y": 26197312.00582534 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 91112758.74385515, "finish_state": "failure", "user": { "_id": "13f8c312543ab6039ff3e0ca", "provenance": "sit", "username": "velit Excepteur voluptate id", "firstname": "cupidatat ad", "memberOf": [ { "groupId": "d3f85345bb85f923748a94bc", "aaaManaged": false }, { "groupId": "1087dc1b0e3f41380efd2896", "aaaManaged": false }, { "groupId": "617c6cda43e3b0a068f80b06", "aaaManaged": true }, { "groupId": "07a497ba2f4a4fecb74eb221", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut minim irure officia" }, { "roleId": "sit officia tempor" }, { "roleId": "eu pariatur est aliqua laborum" } ], "inactive": true, "lastLogin": "1992-09-23T12:46:01.429Z", "_meta": { "created": "1958-10-21T03:11:59.006Z", "updated": "2012-08-11T22:16:05.473Z", "migrationVersion": 68800582 }, "email": "sed" } }, "groups": [ { "_id": "be9457b0919257085e102979", "provenance": "minim dolore ex", "name": "sunt do ut veniam", "description": "tempor irure", "memberOf": [ { "groupId": "6b0fc6d2035cecaaae5d0de4", "aaaManaged": true }, { "groupId": "e76e23d7752cb0209436fc2c", "aaaManaged": false }, { "groupId": "9cbdc9c0412da700672c5fee", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "amet ex in" }, { "roleId": "mollit" }, { "roleId": "eu" }, { "roleId": "voluptate aute magna Ut" }, { "roleId": "dolor tempor do" } ], "inactive": false, "_meta": { "created": "1950-10-03T13:12:53.154Z", "updated": "1989-10-22T04:24:29.377Z", "migrationVersion": 90602457 } }, "d271c0a29e13016b6310a19d", "5b42eab852be6e59ae204942", "ba77126bc90a0d123cee1671", "default" ], "iterations": [ "4B0c433C-7e95-e8E7-802d-DD6CEBb2aBDa", "aea9f5c8-Ad02-0ebb-93ce-49711D28b134", "CF7daB4e-aCa2-fe81-F0ef-Ee902ceE2F74", "B934aCAb-3c85-fD5b-AC29-fBC32aF9aE9C" ] }, "workflow_end": { "x": 74696044.11675683, "y": -455384.8752029985, "gridCoordinate": { "x": 83610909.8094241, "y": 83851627.86751267 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "3a1f" ], "complete": [ "workflow_end", "workflow_start", "workflow_start" ], "error": [ "workflow_start" ] }, "metrics": { "end_time": 96504404.3157691, "run_time": -87121814.43613471 }, "groups": [ "52579ab8133d020a0eb657f5", "f309ece878072aca43d28e44", "default", "c2eb03e9fee06f02272e7743" ], "iterations": [ "bdCfEea3-1C56-A95b-7CF9-8AddDd9d9Fed", "6AEB9EE3-3003-1fc1-EdDd-EFD0cdA37678" ] }, "error_handler": { "x": -61016785.304923005, "y": -90181509.66549183, "gridCoordinate": { "x": -13027244.348087266, "y": -77837037.22169153 }, "name": "childJob", "location": "Adapter", "locationType": "ea exercitation irure", "app": "in", "canvasName": "id", "displayName": "ullamco", "summary": "in", "description": "quis consequat eu", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/wrvCLZKd/~0/~0/~0/qX/Lto9/mYzkGWf6/~0/~1/yc7KnLk" }, { "type": "encryption", "pointer": "/~0/Er/~1/SD03iqhrnk4/~0/AAu3EnH" }, { "type": "encryption", "pointer": "/~1/~1/hpxRy6RIP,/~0/Snh2MuF4yJ/E1D" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "deserunt laboris", "highlightString": "sed aliqua proident" }, { "key": "quis et amet", "highlightString": "sit est in id anim" }, { "key": "in consectetur amet", "highlightString": "culpa minim irure" }, { "key": "enim voluptate", "highlightString": "nostrud" }, { "key": "sunt cillum Excepteur velit non", "highlightString": "aliquip laborum ex dolor ullamco" } ], "status": "paused", "previous": { "incomplete": [ "3a1f", "workflow_end", "3a1f" ], "complete": [ "workflow_start" ], "error": [ "workflow_end" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "loop" } ] }, "serverId": "exercitation", "start_time": "1990-06-19T15:45:50.033Z", "end_time": 62217238.86285284, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "176021e5d63562e957875f5f", { "_id": "20fe7ca81164845187cc3279", "provenance": "amet ex proident id", "name": "fugiat", "description": "proident irure", "memberOf": [ { "groupId": "af6b6877b3bc4c1254afacc4", "aaaManaged": false }, { "groupId": "eee9b9a9eb697bfb16d6b48e", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "commodo amet" }, { "roleId": "aliqua reprehenderit" } ], "inactive": true, "_meta": { "created": "1950-06-01T01:05:10.021Z", "updated": "1988-12-04T00:37:51.794Z", "migrationVersion": -51551409 } } ], "iterations": [ "0Fd7AC6a-9954-DA0A-48C6-892cc47aF59f", "84719faE-Cb0e-5eE3-95d7-2d2ED49Aa5a8", "41a3D6d9-718a-4ECd-Ad38-dCBb6f3d14D1" ] }, "9b": { "actor": "801e3071acf5bb7913e75f1b", "groups": [ "default", "default", { "_id": "32849840f496ec25c45272cd", "provenance": "incididunt enim nostrud ad ullamco", "name": "ut culpa consequat", "description": "dolor velit minim", "memberOf": [ { "groupId": "5bf2e3b0b845678291e2e8d5", "aaaManaged": true }, { "groupId": "1a3a0d1fdb1a0c5fbb83e583", "aaaManaged": true }, { "groupId": "5e9326b7206e4bf14cbf81a9", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ad ea" }, { "roleId": "irure sunt" }, { "roleId": "consectetur aute sunt officia amet" } ], "inactive": false, "_meta": { "created": "1974-06-14T08:34:24.364Z", "updated": "1990-02-16T23:34:13.475Z", "migrationVersion": -8533831 } }, "default" ], "iterations": [ "b4Dcf60c-9B85-86fd-3cdf-aeda65AEAFC3", "1333fC8a-eCCf-5821-3Efa-06edA53fDC0D", "7d8C85c7-619b-60CE-0372-8002AFB9e18C" ], "x": -72883634.72667818, "y": 71335097.49776712, "gridCoordinate": { "x": -77656052.52988178, "y": 67575004.92789322 }, "name": "id culpa deserunt elit", "location": "Application", "locationType": "nulla Excepteur", "app": "aute in nostrud mollit", "canvasName": "eu et fugiat", "displayName": "adipisicing", "summary": "aliquip", "description": "ex", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/FM0y/~0/~1/PTi,7YiQJh/~1" }, { "type": "encryption", "pointer": "/uqfbQCx221u/MLrHLal8/UQqYX/~0/~1/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "pariatur sunt voluptate", "highlightString": "laborum ut ea irure" } ], "status": "failure", "previous": { "incomplete": [ "workflow_end", "e28f" ], "complete": [ "error_handler", "error_handler", "workflow_end" ], "error": [ "error_handler", "3a1f", "e28f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "3a1f", "type": "loop" }, { "task": "error_handler", "type": "revert" } ] }, "serverId": "magna", "start_time": "1997-09-04T00:37:54.282Z", "end_time": 63182873.11262551, "finish_state": "error", "retrySettings": null, "type": "manual", "view": "ut commodo aliquip Excepteur ipsum" } }, "parent": { "job": "aliqua Duis in non in", "task": "ipsum deserunt", "iteration": 42483045.35734326, "element": -47763845.2900857 }, "errorHandler": null, "groups": [ "e7b66a4d63440130c66b18c8" ], "watchers": [ { "_id": "16da51309347351599a7214a", "provenance": "exercitation sint voluptate", "username": "minim", "firstname": "nisi id", "memberOf": [ { "groupId": "531f7c9667758ea24a882471", "aaaManaged": false }, { "groupId": "879f920a06bb7cc03973a387", "aaaManaged": false }, { "groupId": "76edfd1330322905015c37d5", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "voluptate" } ], "inactive": false, "lastLogin": "1961-06-26T06:23:25.119Z", "_meta": { "created": "1983-03-18T11:48:56.532Z", "updated": "2021-05-25T06:13:45.867Z", "migrationVersion": -3712151 }, "email": "sed" }, { "_id": "196e03b4915f9cff6e3c87da", "provenance": "ex incididunt Duis ea velit", "username": "cupidatat Excepteur magna sit", "firstname": "qui", "memberOf": [ { "groupId": "7a2701f3af4db00454458921", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "non" }, { "roleId": "magna occaecat" } ], "inactive": false, "lastLogin": "1990-05-10T00:33:42.945Z", "_meta": { "created": "1963-12-27T13:50:44.09Z", "updated": "1961-02-13T21:27:14.404Z", "migrationVersion": -69782505 }, "email": "ex" }, null, { "_id": "8477ece4e846638ec54f58be", "provenance": "labore dolor reprehenderit", "username": "dolore veniam Ut", "firstname": "ut reprehenderit", "memberOf": [ { "groupId": "7a5b1b0a48835fad9c91c3fc", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "veniam consectetur quis Duis" }, { "roleId": "laborum" }, { "roleId": "labore consectetur cupidatat do" } ], "inactive": false, "lastLogin": "1965-10-07T23:57:36.311Z", "_meta": { "created": "1963-08-29T22:54:54.974Z", "updated": "1952-11-17T18:01:38.532Z", "migrationVersion": -79269240 }, "email": "dolor et" }, "d73a4f295b3beb3766821f14" ], "metrics": { "start_time": -64840083.176794305, "progress": 0.3618082716211941, "end_time": 91620372.67663056, "user": { "_id": "b3242027b91eb892df658251", "provenance": "ut sit id pariatur", "username": "dolor ipsum nostrud proident", "firstname": "aliqua Lorem", "memberOf": [ { "groupId": "01ec1bd7839df89d0c23f35e", "aaaManaged": false }, { "groupId": "39f8d1f4b0b60d66061dbd90", "aaaManaged": false }, { "groupId": "a68a564f74950b4f09eb89af", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consectetur cillum anim elit" }, { "roleId": "aute ipsum minim do" }, { "roleId": "dolor quis ut mollit" } ], "inactive": true, "lastLogin": "2021-04-15T23:19:30.861Z", "_meta": { "created": "1982-01-10T18:46:10.352Z", "updated": "2016-05-09T13:07:23.916Z", "migrationVersion": -24967033 }, "email": "qui ad" }, "owner": "7ec9d4cf4facd03de945dfd2" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }