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 retrieved search results", "data": { "_id": "adb7e31e61a530947af50b23", "font_size": -53502485, "type": "resource:action", "created": "1947-08-15T23:41:51.874Z", "last_updated": "1961-05-04T20:10:50.262Z", "createdVersion": "06578774.408437.45971568940-6351.31519932994.505596", "lastUpdatedVersion": "357240493.77.09-1469.95874696625.31.4383", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": 38948725, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -37612695.337131366, "sla": 75428936.27277952, "decorators": [ { "type": "encryption", "pointer": "/n/~0/ada5NhMf4z./fL6I9FIR/gwWIQbdh0/lCxQyhODmg//~0/OBsz-RHTvms/~0" }, { "type": "encryption", "pointer": "/~1/lYqNFma/ybpt-Hxw" }, { "type": "encryption", "pointer": "/G5-Civ/DUMfRbLR/~0/tOu/wd3Ma/DXzSAEbB1" } ], "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": "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": "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": "e28f", "name": "myCoolDocumentName", "message": "nisi sit adipisicing proident" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "in et ipsum" } ], "ancestors": null, "validationErrors": [ { "keyword": "Duis esse", "dataPath": "velit sunt", "schemaPath": "ut qui ad in et", "message": "sunt tempor exercitation" }, { "keyword": "Ut", "dataPath": "ad sed exercitation", "schemaPath": "do sed ex consectetur fugiat", "message": "do dolor eu Duis" }, { "keyword": "eu Lorem ea", "dataPath": "elit Duis eu cillum", "schemaPath": "elit Lorem reprehenderit", "message": "proident" } ], "created_by": "Pronghorn", "last_updated_by": null, "tasks": { "workflow_start": { "x": 71492222.86677882, "y": -94361457.35204606, "gridCoordinate": { "x": -55249096.21193719, "y": 58054227.59377211 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 95201548.43090546, "finish_state": "error", "user": { "_id": "cda74bc3610f5b6fa48dc1ca", "provenance": "reprehenderit", "username": "ut reprehenderit culpa", "firstname": "minim", "memberOf": [ { "groupId": "b6e3a3d73bf88b61ae1d6ea7", "aaaManaged": true }, { "groupId": "45c61f02556216e1acdcb24e", "aaaManaged": false }, { "groupId": "2cbb614c531cdf4c4d7141ea", "aaaManaged": true }, { "groupId": "b83201c0755b17cb27b35ea0", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "adipisicing Excepteur qui esse anim" }, { "roleId": "consectetur in voluptate aute" }, { "roleId": "quis pariatur nulla nisi" }, { "roleId": "commodo proident amet ut" }, { "roleId": "dolore eiusmod" } ], "inactive": false, "lastLogin": "1948-09-06T10:19:26.845Z", "_meta": { "created": "1975-12-25T23:00:36.916Z", "updated": "1981-10-13T20:39:14.643Z", "migrationVersion": 92863318 }, "email": "minim" } }, "groups": [ "default", { "_id": "ed3e3bcb108d2ba2846becf7", "provenance": "ut est minim", "name": "ipsum pariatur Excepteur", "description": "eiusmod amet labore", "memberOf": [ { "groupId": "a3a2821e5f8e60ac5bef5f9f", "aaaManaged": true }, { "groupId": "3a6e05e866391d3960a08f81", "aaaManaged": false }, { "groupId": "ea4abfb19eb272bff5c6acdf", "aaaManaged": false }, { "groupId": "87af5c694e994a5893c6a19a", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ea" }, { "roleId": "fugiat eiusmod occaecat mollit sunt" }, { "roleId": "ullamco" }, { "roleId": "magna" }, { "roleId": "ut" } ], "inactive": true, "_meta": { "created": "1972-10-03T19:35:20.627Z", "updated": "1975-10-05T07:19:39.923Z", "migrationVersion": 35988776 } } ], "iterations": [ "fEFD28Fd-Db1D-23e0-f5Ea-b30c19ffA9E4", "47D84d3c-3862-7B1E-6b8f-A0f2aA969A6b", "B2EcFFd7-aaec-0C88-dBcC-e67be26E4CeF" ] }, "workflow_end": { "x": -31668493.20381044, "y": -7940099.319713131, "gridCoordinate": { "x": 40689101.62169969, "y": 16098843.52328001 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "workflow_start" ], "complete": [ "e28f", "workflow_start", "3a1f", "workflow_start" ], "error": [ "3a1f", "error_handler", "workflow_end" ] }, "metrics": { "end_time": 65309636.575862885, "run_time": -93553387.61348575 }, "groups": [ { "_id": "6dec1e17934ef6ecabe06e4c", "provenance": "adipisicing est", "name": "occaecat aute ea dolor", "description": "ut culpa sint", "memberOf": [ { "groupId": "fce454970203db2be7434fbf", "aaaManaged": true }, { "groupId": "e5d6310aaeb8e64492b52a30", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "minim sint" }, { "roleId": "enim ad" }, { "roleId": "nulla ipsum" }, { "roleId": "culpa" }, { "roleId": "sunt" } ], "inactive": true, "_meta": { "created": "1975-02-27T07:24:12.809Z", "updated": "1947-03-05T04:49:45.294Z", "migrationVersion": 57364335 } }, "9f30658daa45d648fa88378e", { "_id": "6b74a7805008a8db6b3be3c4", "provenance": "ad dolore", "name": "pariatur reprehenderit Duis qui anim", "description": "amet sint minim irure", "memberOf": [ { "groupId": "ba97e3ed0d1b3d37e1bd04d6", "aaaManaged": false }, { "groupId": "9fd707f2b79138277cd0556e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "do voluptate velit dolor eu" } ], "inactive": true, "_meta": { "created": "1956-08-25T04:28:13.964Z", "updated": "2023-01-14T23:25:28.486Z", "migrationVersion": 28834664 } }, "3cda311e0d074a5aa88380f4", "4a1ea9e3bbedfdfd42582773" ], "iterations": [] }, "error_handler": { "x": -68310544.14777324, "y": -81460792.47186302, "gridCoordinate": { "x": 36522257.02810946, "y": -3634535.275284186 }, "name": "childJob", "location": "Application", "locationType": null, "app": "veniam", "canvasName": "esse id sed", "displayName": "eu cupidatat ut nostrud proident", "summary": "cupidatat eu sint dolore", "description": "ad proident deserunt voluptate", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~1/X/9TZz/~1" }, { "type": "encryption", "pointer": "/~0/libU4v/~1/L7N/t5beN/~1/~0/~1/~1/rup.dj/~0" }, { "type": "encryption", "pointer": "/JplSK.ptt9K/~1/nyVBwR/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "aute minim Duis", "highlightString": "officia ad Lorem" }, { "key": "voluptate ipsum est", "highlightString": "non fugiat" }, { "key": "id", "highlightString": "consequat" }, { "key": "dolor irure", "highlightString": "irure qui ad consequat" }, { "key": "Lorem dolore", "highlightString": "est" } ], "status": "incomplete", "previous": { "incomplete": [ "e28f", "e28f", "3a1f", "e28f", "workflow_start" ], "complete": [ "workflow_start", "workflow_start", "workflow_start", "error_handler", "workflow_start" ], "error": [ "3a1f", "3a1f", "3a1f", "workflow_start", "workflow_end" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "error_handler", "type": "revert" } ], "failure": [ { "task": "e28f", "type": "revert" } ], "error": [ { "task": "workflow_end", "type": "loop" } ] }, "serverId": "reprehenderit ut veniam", "start_time": "2002-09-16T06:22:08.787Z", "end_time": 37625997.77193788, "finish_state": "success", "retrySettings": { "state": [ "success", "failure" ], "autoRetry": false, "limit": 63714925, "delay": 84029987, "count": 6656484, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ "57f58ad1a4cca53277b2b27f", { "_id": "cf00a0e70655bd99a6a4a9b0", "provenance": "sunt ad consequat", "name": "eiusmod", "description": "ad aliquip irure consectetur", "memberOf": [ { "groupId": "e4329fdfc1658c723738feca", "aaaManaged": false }, { "groupId": "7af37f4a8d288e11266a9544", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "commodo nostrud" }, { "roleId": "esse mollit sed laboris eu" }, { "roleId": "eiusmod ea" }, { "roleId": "Lorem sunt adipisicing fugiat occaecat" } ], "inactive": false, "_meta": { "created": "2013-04-06T20:59:20.089Z", "updated": "1998-11-26T01:28:57.067Z", "migrationVersion": 21461508 } }, "default", "0c809897f3968e0975ab9f8a", "default" ], "iterations": [ "B70fbCD0-7F1D-0690-E1E9-F1E2C01acDfB" ] }, "c0": { "actor": "Pronghorn", "groups": [ { "_id": "d9dfd1d718b20e05ed155876", "provenance": "enim pariatur dolore ullamco", "name": "Ut fugiat dolor", "description": "exercitation tempor", "memberOf": [ { "groupId": "d93664f9ee871f61a2f909c8", "aaaManaged": false }, { "groupId": "59c630c045361686e59f9f10", "aaaManaged": true }, { "groupId": "22623966423428aa70ba5f7c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "eiusmod nostrud et" }, { "roleId": "minim amet" } ], "inactive": true, "_meta": { "created": "2007-09-07T05:15:31.296Z", "updated": "2006-01-24T08:12:10.637Z", "migrationVersion": 78982845 } }, "a732ae294868fc6b21ee3ea0", "31415b571999c0826c9b1cf3", "54420dc961f1573c0d3bf747", "default" ], "iterations": [ "Caa32CC9-BD61-FFBE-EBF5-1F1f0010BebB", "9aC837bF-eAbB-d444-B3ab-c9FBFaFFAbCD" ], "x": 45965803.09816766, "y": 80016082.09427458, "gridCoordinate": { "x": -53574295.5703848, "y": -35682100.081122495 }, "name": "enim dolor in", "location": "Adapter", "locationType": "est fugiat nulla", "app": "nulla", "canvasName": "sunt aliquip dolor", "displayName": "magna", "summary": "elit aute eiusmod adipisicing tempor", "description": "ut", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~1/~0/qt/~1/~0/xUMGhYGDc/ssGbmL-" }, { "type": "encryption", "pointer": "/Jnc/xvvW/yq-Vf0iYbk/SHd/lc8Z42w35/Y36COuc/RkH/qc/RPp,/g" }, { "type": "encryption", "pointer": "/~1/gav/Vz5x4gsYU/~1/BAeA/r4ga2k8B5Q3/N" }, { "type": "encryption", "pointer": "/~1/~0/L7Znh/IloZZYCQhr3/~0/~0/o6Mei/~1/p-jgw/~1" }, { "type": "encryption", "pointer": "/VlNCNV7/q6.CskdpX/JF4/~0/hccSF," } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "ex", "highlightString": "dolore est in nulla irure" }, { "key": "ut esse magna id", "highlightString": "anim Excepteur" } ], "status": "scheduled", "previous": { "incomplete": [ "e28f", "workflow_end" ], "complete": [ "3a1f" ], "error": [ "error_handler", "workflow_start", "workflow_end", "workflow_start" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "e28f", "type": "loop" }, { "task": "e28f", "type": "loop" } ], "failure": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "error_handler", "type": "revert" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "loop" }, { "task": "3a1f", "type": "loop" } ] }, "serverId": "reprehenderit", "start_time": "1991-01-13T20:20:34.896Z", "end_time": -90197746.06215116, "finish_state": "failure", "retrySettings": null, "type": "manual", "view": "sed qui" } }, "parent": { "task": "in do deserunt exercitation", "iteration": -11159241.323039249, "element": -63887241.388271846 }, "errorHandler": { "actor": "Pronghorn", "groups": [ "05d94b02d7236f67684e0238", { "_id": "c03e6aa531406e57c58db29e", "provenance": "velit consectetur Duis dolor", "name": "esse Duis", "description": "veniam proident nostrud dolor", "memberOf": [ { "groupId": "e580e204ff9a53e2606978de", "aaaManaged": false }, { "groupId": "cd9a1f48782ace83e4296bea", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "esse occaecat" }, { "roleId": "sit" }, { "roleId": "enim eu" } ], "inactive": true, "_meta": { "created": "2023-11-08T11:00:11.884Z", "updated": "1977-06-30T15:23:43.829Z", "migrationVersion": -299051 } } ], "iterations": [], "x": -34943219.19601462, "y": -76721956.5882923, "gridCoordinate": { "x": -31434289.77956289, "y": 37666112.87768108 }, "name": "adipisicing", "location": "Application", "locationType": "aute", "app": "in consequat officia ea", "canvasName": "labore laboris sit sunt laborum", "displayName": "voluptate adipisicing ad in dolor", "summary": "dolore", "description": "pariatur veniam non est ullamco", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/mKA/bTK/~1/Ht/AZyoS/~0/~0/~1" }, { "type": "encryption", "pointer": "/r" }, { "type": "encryption", "pointer": "/tlMc6TKi84g/r-.8SMj5/b7/D.Y4s7,crCh/~1" }, { "type": "encryption", "pointer": "/~0/ukPbME/~0/uVEXX/Ip,C5/nnZTQsJZm/an,PR" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "qui Duis ex mollit sunt", "highlightString": "dolor" }, { "key": "sed culpa eu occaecat", "highlightString": "consequat" } ], "status": "paused", "previous": { "incomplete": [ "e28f", "3a1f", "e28f", "3a1f", "workflow_end" ], "complete": [ "workflow_start", "3a1f", "error_handler" ], "error": [ "workflow_start", "error_handler", "workflow_start" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "e28f", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_end", "type": "standard" } ], "error": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "loop" } ] }, "serverId": "dolor", "start_time": "2018-02-06T09:14:07.117Z", "end_time": 9020987.007604346, "finish_state": "failure", "retrySettings": { "state": [ "success", "failure" ], "autoRetry": true, "limit": 20137670, "delay": 32187541, "count": 12111622, "finishedRetrying": true }, "type": "manual", "view": "dolore sunt dolore" }, "groups": [ "default", { "_id": "d4690ab203d4c05a1c649fef", "provenance": "labore laboris Ut", "name": "officia quis", "description": "eiusmod non nulla cupidatat", "memberOf": [ { "groupId": "5fc3c4e4ba847ec64796efed", "aaaManaged": false }, { "groupId": "f6c4bc1cc3552ff0ddf889dd", "aaaManaged": false }, { "groupId": "cd2a5f92633df02ec9128a0e", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "esse enim labore eiusmod" }, { "roleId": "anim officia cillum ea exercitation" } ], "inactive": true, "_meta": { "created": "1963-08-04T00:04:34.194Z", "updated": "1978-10-18T22:30:14.361Z", "migrationVersion": -89455502 } }, "e9f8b91852884d66bde0489e" ], "watchers": [ "Pronghorn", "87520425629dda3908bf235e" ], "metrics": { "start_time": 12703594.884101525, "progress": 0.9870812690192865, "end_time": -27224273.809046507, "user": "Pronghorn", "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }