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": "16989389189634d972abf6eb", "font_size": -91173559, "type": "resource:compliance", "created": "2024-08-18T07:15:06.017Z", "last_updated": "1968-04-19T23:30:40.209Z", "createdVersion": "094.19838.465787618-7108.7.332.968999", "lastUpdatedVersion": "5535.979154618.319227038", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": 75901558, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -38529375.65026924, "sla": 83306585.08203092, "decorators": [ { "type": "encryption", "pointer": "/~0/~1/~0/jqy-GdmWqmz/~1/~0/i/~1/~0" }, { "type": "encryption", "pointer": "/QgPr0Zk3H/fCCQ3SLHbf2/B/v.-4-/~0/~0/~1/~0/Z+6vidzbO/~1/~1" }, { "type": "encryption", "pointer": "/~0/~0/RhGUa/p3/~1" } ], "status": "canceled", "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 } ], "warnings": [ { "task": "workflow_end", "name": "myCoolDocumentName", "message": "qui eu dolore Lorem" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "fugiat esse laboris" }, { "task": "workflow_start", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "ex sed enim minim in", "instancePath": "exercitation Excepteur non", "schemaPath": "deserunt minim", "message": "veniam reprehenderit" }, { "keyword": "ut voluptate cillum", "instancePath": "ut Lorem quis", "schemaPath": "sint tempor ad", "message": "sit cupidatat occaecat" }, { "keyword": "sed tempor consequat", "instancePath": "anim ex", "schemaPath": "exercitation Excepteur", "message": "id veniam ea laborum nulla" }, { "keyword": "velit dolore sed in", "instancePath": "nostrud", "schemaPath": "dolore dolor", "message": "proident dolore" } ], "created_by": "2b4480e58fcb525866eaedb7", "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": 70773720.79189423, "y": -55358951.54590773, "gridCoordinate": { "x": 68874878.74613306, "y": -27782765.123546407 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 20885961.15806882, "finish_state": "success", "user": null }, "groups": [ "2951ad3cf3de51be0d484967", { "_id": "14c8d6b0470e7ae03b897d5a", "provenance": "quis", "name": "quis", "description": "nisi laboris ipsum", "memberOf": [ { "groupId": "2e66c55bfc6e365d90524cf1", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "in mollit sit Lorem nostrud" }, { "roleId": "dolore nostrud exercitation" }, { "roleId": "dolore nisi" }, { "roleId": "nostrud nulla et ut" } ], "inactive": false, "_meta": { "created": "1976-11-13T02:11:27.419Z", "updated": "1970-07-16T05:36:35.896Z", "migrationVersion": 49053590 } }, { "_id": "f90b329b09711dcb9a10292c", "provenance": "aute ex", "name": "consectetur", "description": "amet ut do et ullamco", "memberOf": [ { "groupId": "229d7c5730e128db4ab24dd2", "aaaManaged": false }, { "groupId": "039c4072ee8da16b8065b5a6", "aaaManaged": true }, { "groupId": "a3b5591cbc04506795fb7ee2", "aaaManaged": false }, { "groupId": "87af1f4a57a900e0cd3d97b5", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "laboris enim sint" } ], "inactive": true, "_meta": { "created": "2024-01-01T15:28:39.878Z", "updated": "1989-03-04T10:46:39.14Z", "migrationVersion": 18826889 } } ], "iterations": [ "3df5bF9A-B63e-eBf1-5bF9-6ff8c69BAd54", "9ecF3aF4-d655-CEab-F085-0442ED2aB1Bb", "E1A96Beb-FB8C-7F74-c561-ab337B9fdE65" ] }, "workflow_end": { "x": -54532631.3368522, "y": -46265651.03789533, "gridCoordinate": { "x": -78656652.46363002, "y": -80486923.2631534 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "workflow_start", "e28f", "workflow_start" ], "complete": [ "workflow_start", "workflow_start", "error_handler" ], "error": [ "error_handler", "workflow_start", "3a1f" ] }, "metrics": { "end_time": 88604143.28130236, "run_time": -44156663.05687198 }, "groups": [ "default" ], "iterations": [ "29ACe1Ad-Fa27-a44E-982f-6D830b9c675D", "6CE3Fdf4-A0D8-2e5d-27d1-DCCb8DEECd95", "4FAdA87F-d551-5c86-dB6B-5AAb6C9a14Bd" ] }, "error_handler": { "x": -74627802.39567044, "y": 18092713.09736249, "gridCoordinate": { "x": 1910648.0118949264, "y": -18024231.594554514 }, "name": "childJob", "location": "Broker", "locationType": "dolor", "app": "Ut", "canvasName": "Duis", "displayName": "veniam ea", "summary": "non deserunt labore pariatur esse", "description": "laboris", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~0/lTPR62b/~1/rbC+9dOM/j5ssWj5E6qg/P7syuMrbA" }, { "type": "encryption", "pointer": "/~0/~0/~0/~0/f,,7/d/~1" }, { "type": "encryption", "pointer": "/K/yLliddMm-/Kq1rJWlixl/~1/~1/nZ/~1/PWkV3/~0" }, { "type": "encryption", "pointer": "/zG/~1/~0/~1/M8q/c6JzN/~1/~0" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "laborum eu exercitation", "highlightString": "adipisicing Ut reprehenderit non cillum" } ], "status": "paused", "previous": { "incomplete": [ "workflow_start", "workflow_start" ], "complete": [ "workflow_start", "workflow_start", "e28f", "workflow_start" ], "error": [ "e28f", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "revert" } ], "failure": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "loop" } ] }, "serverId": "aute sunt aliquip", "start_time": "1952-12-02T03:49:53.266Z", "end_time": -6905085.363935545, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "default", { "_id": "87188e62ba78b5783b3ee30d", "provenance": "sit magna cillum Lorem", "name": "mollit in id esse minim", "description": "non", "memberOf": [ { "groupId": "25a3298dbf346f8e632c483e", "aaaManaged": false }, { "groupId": "7961889d725931c6293bd136", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "culpa ad" }, { "roleId": "dolore aliqua sint" }, { "roleId": "magna pariatur" } ], "inactive": false, "_meta": { "created": "1950-10-06T14:22:56.105Z", "updated": "1945-07-13T07:59:14.379Z", "migrationVersion": -41368799 } } ], "iterations": [ "F5DA48B5-6bAd-30ae-B865-9D2Fccdb5734" ] }, "f": { "actor": "job", "groups": [ { "_id": "27a22ce0c89d5cda75ff3afe", "provenance": "ipsum laborum ut et", "name": "anim do ipsum aute sint", "description": "commodo Lorem Excepteur", "memberOf": [ { "groupId": "983407f4e15e2a6a9ee63f1f", "aaaManaged": false }, { "groupId": "1df58667d496a62e4f329cbf", "aaaManaged": false }, { "groupId": "de30eed5d79d2361c1d66e08", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "proident commodo Duis tempor" }, { "roleId": "aute proident consequat id" } ], "inactive": true, "_meta": { "created": "2004-02-28T15:37:14.441Z", "updated": "2015-12-19T22:23:28.068Z", "migrationVersion": -93099063 } }, "2c541064ec28d8ddf9d767cd" ], "iterations": [ "969B63E0-eC68-3B1d-E1Bb-59CC57bE1FD7", "eB0dA879-5DEF-EDbd-A44e-A6C3d88ac1ab", "A7a93A36-f8bf-c580-EBBA-04e68C3C6Cd9", "286F25c8-27dD-872F-0cD3-09FAC410F928" ], "x": 25960049.49695927, "y": 7327251.596172601, "gridCoordinate": { "x": 76708959.73206854, "y": 1696405.2874693274 }, "name": "anim et do fugiat ullamco", "location": "Application", "locationType": "esse sint sunt", "app": "proident dolore exercitation labore est", "canvasName": "mollit amet incididunt", "displayName": "non irure eu pariatur", "summary": "in Duis", "description": "irure", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/JhZrtr/Qqgia" }, { "type": "encryption", "pointer": "/hD2jNhZZ//~0/~0/rTZaJ2/~1/~1/gJz" }, { "type": "encryption", "pointer": "/aFsaawDfi" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "in", "highlightString": "ut adipisicing" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_start", "workflow_end", "workflow_start", "workflow_end", "workflow_start" ], "complete": [ "workflow_start", "error_handler", "3a1f" ], "error": [ "workflow_end", "error_handler", "e28f", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "3a1f", "type": "revert" }, { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "workflow_end", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "revert" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "ipsum Excepteur dolor esse", "start_time": "1985-07-19T02:09:22.089Z", "end_time": -11557448.820880055, "finish_state": "error", "retrySettings": { "state": [ "failure", "error" ], "autoRetry": true, "limit": 40450990, "delay": 35530911, "count": 85910951, "finishedRetrying": false }, "type": "manual", "view": "nostrud" } }, "parent": { "job": "dolor in anim Duis", "task": "enim Duis ut cillum mollit", "iteration": 26529115.964087516, "element": 37304157.27987203 }, "errorHandler": null, "groups": [ { "_id": "0224d0573834bc713ce65cc9", "provenance": "exercitation aliqua do ut minim", "name": "labore cillum", "description": "in anim aute", "memberOf": [ { "groupId": "f725304d4daa01fd6f4e0146", "aaaManaged": false }, { "groupId": "8bd7968e42135369c99e8e6a", "aaaManaged": true }, { "groupId": "3d4e5e3b3a5e0f7ca1e804bd", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "velit sit aliqua laborum" }, { "roleId": "commodo veniam" }, { "roleId": "proident cillum magna quis minim" }, { "roleId": "irure consectetur" } ], "inactive": true, "_meta": { "created": "1981-01-18T15:02:58.657Z", "updated": "1993-06-11T22:19:31.49Z", "migrationVersion": -51472149 } }, { "_id": "4af499f733d4a4b46a67abca", "provenance": "Excepteur", "name": "eu", "description": "Excepteur", "memberOf": [ { "groupId": "5156ed64fd15665315bbfa29", "aaaManaged": true }, { "groupId": "ff5299979afcebd219ef3625", "aaaManaged": true }, { "groupId": "5b17f24491fbd25264bdae81", "aaaManaged": false }, { "groupId": "2306acabbe8bc544497cc4e6", "aaaManaged": true }, { "groupId": "7292f0e062cc897314dc5e34", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consequat sit dolor et tempor" }, { "roleId": "ipsum eiusmod" }, { "roleId": "sed exercitation" }, { "roleId": "quis minim" } ], "inactive": false, "_meta": { "created": "1957-07-23T02:33:10.557Z", "updated": "1975-07-26T22:40:26.351Z", "migrationVersion": -2610891 } }, "335172bbcc37a801d9bb61eb" ], "watchers": [ "50aacfc144ed8469bff11026", { "_id": "3258963f1cd1a56f68123264", "provenance": "est ea", "username": "sunt officia", "firstname": "cillum ea aliquip in", "memberOf": [ { "groupId": "bddebb9e282399abc2d50e93", "aaaManaged": false }, { "groupId": "c8e3cea0a999f572d58ff09d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sit non labore" }, { "roleId": "aliqua" } ], "inactive": false, "lastLogin": "2023-06-18T15:47:36.522Z", "_meta": { "created": "2003-11-12T04:50:50.969Z", "updated": "1971-10-03T00:39:46.698Z", "migrationVersion": 38376514 }, "email": "laborum aliqua ipsum eiusmod" }, "Pronghorn", "be6fe66271b9bfd73a15faad" ], "metrics": { "start_time": -27461644.595748737, "progress": 0.6967562540463765, "end_time": 2820968.281164944, "user": null, "owner": { "_id": "c5570c9f957ba727073aa532", "provenance": "tempor nostrud eu esse", "username": "magna in", "firstname": "ex", "memberOf": [ { "groupId": "9112438073525681b4d151ad", "aaaManaged": false }, { "groupId": "e184b36017fff0bfc84b8c1f", "aaaManaged": false }, { "groupId": "3aa00ca6796899966a3125c3", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Excepteur nisi sit commodo fugiat" }, { "roleId": "ut voluptate do" }, { "roleId": "id" }, { "roleId": "occaecat ad Duis proident" } ], "inactive": false, "lastLogin": "1979-01-09T20:16:29.436Z", "_meta": { "created": "2018-08-09T21:33:38.204Z", "updated": "2024-08-08T22:24:25.408Z", "migrationVersion": -18370973 }, "email": "dolore" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }