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": "8606605ee5464ae6976c82ab", "font_size": -80038025, "type": "resource:action", "created": "1990-11-21T01:07:20.398Z", "last_updated": "1949-01-09T08:21:41.149Z", "createdVersion": "339.815339.0723970568", "lastUpdatedVersion": "7389394512.8291.713318845-5583.243848.9081.322", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": -72295872, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 93007987.42387259, "sla": -38307561.37866667, "decorators": [ { "type": "encryption", "pointer": "/~1/~0/~1/Q3n5gJg31/~0/~1/~1/H3XqQ" }, { "type": "encryption", "pointer": "/Gy6mMmzs/kju7-w0uyjq/OnaQFV-I/~1/a3/Da2usXjo61G" }, { "type": "encryption", "pointer": "/~1/~1/jQpn/LwNNLSs" }, { "type": "encryption", "pointer": "/~1/~1" } ], "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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName", "message": "Ut et dolor anim do" } ], "ancestors": null, "validationErrors": [ { "keyword": "sint minim do in", "dataPath": "culpa eiusmod aliquip", "schemaPath": "commodo", "message": "officia sint cillum in adipisicing" } ], "created_by": "c2ef862d70288060bacb2757", "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": -56325021.08139978, "y": 1852527.8488463312, "gridCoordinate": { "x": -58947182.68686545, "y": 4275365.124300644 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 94600302.73390698, "finish_state": "failure", "user": "2cc88cfc16faf52784c47cfe" }, "groups": [ "8ea409f2a82e74938e6e172d", "ea1293b98ef467ae61bbff60", "af7481d449933d18d712803e" ], "iterations": [ "FffD845F-Acc2-5d7c-CF63-3BaF0A498d90", "a5Cf33DB-c4e3-Dc3B-80D0-f2e511E34B8f" ] }, "workflow_end": { "x": 77828298.68105447, "y": 77231760.14582327, "gridCoordinate": { "x": -73679537.50488563, "y": -48368612.9935601 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end" ], "complete": [ "error_handler" ], "error": [ "workflow_end" ] }, "metrics": { "end_time": 39685081.20260742, "run_time": -93704213.18134068 }, "groups": [ { "_id": "6993bc6dcba77eeca27ca8d2", "provenance": "adipisicing reprehenderit", "name": "dolore laborum irure", "description": "Duis", "memberOf": [ { "groupId": "dc26ae29b0c355a56dc3adc7", "aaaManaged": false }, { "groupId": "32abafb546d0261ac738fec9", "aaaManaged": true }, { "groupId": "c1af8283882386498d82b86d", "aaaManaged": false }, { "groupId": "1d242c42056f64ca8d90cb5c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Lorem exercitation qui" }, { "roleId": "quis amet esse ea voluptate" } ], "inactive": true, "_meta": { "created": "1953-09-18T20:58:08.052Z", "updated": "2017-12-28T08:03:07.939Z", "migrationVersion": 8737124 } }, "3f9279dbba35fd0ca7f30eda", "4878d7d744509231a64a9077" ], "iterations": [ "6A432940-A6Bc-8dA0-Ded8-A36FCB198E55", "4cd7Cb5A-3aec-F5F9-ec1D-EC1E7B519E6A" ] }, "error_handler": { "x": -23462557.119954795, "y": -10530539.511731133, "gridCoordinate": { "x": 15232337.406072423, "y": 75751073.31104213 }, "name": "childJob", "location": "Application", "locationType": null, "app": "consectetur culpa", "canvasName": "Duis cillum aliqua incididunt", "displayName": "consequat sit", "summary": "ad eiusmod", "description": "minim qui anim pariatur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~1/~1/~0/fW0/VDWL/b8/CKcjhOH5/~1/Ped/x28wBfb0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "Excepteur adipisicing", "highlightString": "ad" }, { "key": "minim ullamco irure", "highlightString": "in" }, { "key": "ad", "highlightString": "sit nulla sint ut elit" } ], "status": "complete", "previous": { "incomplete": [ "workflow_start", "workflow_start", "error_handler", "e28f" ], "complete": [ "e28f", "workflow_start" ], "error": [ "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "e28f", "type": "loop" } ] }, "serverId": "laboris", "start_time": "1974-08-21T13:42:32.786Z", "end_time": -40729289.39292941, "finish_state": "error", "retrySettings": { "state": [ "error", "failure" ], "autoRetry": false, "limit": 62735684, "delay": 87892041, "count": 4911896, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ { "_id": "908d2843da94223feb92c56e", "provenance": "est minim culpa in cillum", "name": "tempor nulla incididunt magna nostrud", "description": "non ullamco ad officia consectetur", "memberOf": [ { "groupId": "01cf8d165897c1ce67a58443", "aaaManaged": true }, { "groupId": "30d41fca9f8a0612414f1575", "aaaManaged": false }, { "groupId": "fce9a00724afdd6d1fba69cf", "aaaManaged": false }, { "groupId": "8350ed0a554c5ed3d106fe2b", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ullamco pariatur fugiat" }, { "roleId": "non" } ], "inactive": true, "_meta": { "created": "2021-07-28T03:41:37.313Z", "updated": "2003-06-11T09:45:32.419Z", "migrationVersion": -8997315 } }, "d4c26aed228cbedf69d3783f", "7176b4f0f8b933872606a098" ], "iterations": [] }, "b9bf": { "actor": "job", "groups": [ "903ffdd5481606fa72461d79", "default", "default" ], "iterations": [ "Bb1CeF5B-C5E5-60cA-9d48-cA1ca8Ae4c7c" ], "x": 48557082.81032854, "y": 16470175.272675067, "gridCoordinate": { "x": -25192818.178785533, "y": -10245519.2694173 }, "name": "in laboris incididunt nostrud", "location": "Application", "locationType": null, "app": "deserunt est non occaecat", "canvasName": "aliqua", "displayName": "aute et veniam", "summary": "dolor sunt reprehenderit qui", "description": "reprehenderit nisi sed nulla Lorem", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/wC8/Sf/UD-L0tD8/~1/~1/~1/ddB/~0" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "esse nostrud aliquip ea ad", "highlightString": "ut occaecat sed ipsum elit" } ], "status": "paused", "previous": { "incomplete": [ "3a1f", "3a1f", "e28f" ], "complete": [ "workflow_start", "3a1f" ], "error": [ "e28f", "workflow_start", "workflow_end" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "3a1f", "type": "revert" }, { "task": "error_handler", "type": "loop" } ], "failure": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "sit cillum nulla adipisicing", "start_time": "1964-05-18T19:06:08.039Z", "end_time": 39653327.61902806, "finish_state": "success", "retrySettings": null, "type": "manual", "view": "aute consequat elit" } }, "parent": { "task": "do dolor id culpa est", "iteration": -283840.0467725247, "element": 36022541.7526848 }, "errorHandler": null, "groups": [ "e83d736c264333859866b100" ], "watchers": [ { "_id": "a1d6bef8ae7b7b3df0e51c3b", "provenance": "sint in dolor sed elit", "username": "dolor veniam enim minim", "firstname": "velit eu est Duis aliqua", "memberOf": [ { "groupId": "7cde4bb4ca209ad9546c0823", "aaaManaged": true }, { "groupId": "7a52e895026a8abb8dd32d63", "aaaManaged": false }, { "groupId": "9db809eb6bb867771ece4f79", "aaaManaged": true }, { "groupId": "2411e1a07495b71fb10b1d49", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "mollit eiusmod Ut" }, { "roleId": "voluptate reprehenderit Duis ad" }, { "roleId": "cillum deserunt nulla" }, { "roleId": "fugiat" } ], "inactive": false, "lastLogin": "2005-11-09T13:53:03.124Z", "_meta": { "created": "1997-12-21T09:43:03.137Z", "updated": "2014-04-01T21:38:27.087Z", "migrationVersion": 73456816 }, "email": "ullamco" }, { "_id": "12067acb4d9795987692a0c9", "provenance": "in cupidatat fugiat", "username": "labore do deserunt", "firstname": "ut", "memberOf": [ { "groupId": "6a6543b539f31273c3163114", "aaaManaged": false }, { "groupId": "381fd62a80938b492ef23679", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consectetur" }, { "roleId": "voluptate Duis laborum proident" } ], "inactive": false, "lastLogin": "2020-06-16T07:32:17.69Z", "_meta": { "created": "1972-10-03T09:40:24.13Z", "updated": "1982-12-28T22:33:45.528Z", "migrationVersion": -92053874 }, "email": "nostrud Excepteur ipsum Duis" }, null, null, "636dcce89fe981cc50a3b301" ], "metrics": { "start_time": 67226802.29767507, "progress": 0.6628569018580195, "end_time": -71724123.27893695, "user": "e45cabe8c6a54e8214a6084a", "owner": "dfc7fdc239ffd2991a243489" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }