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": "0c31940fd534be19e14e3678", "font_size": 83376034, "type": "resource:compliance", "created": "1956-06-29T05:12:52.177Z", "last_updated": "1966-11-16T03:40:50.82Z", "createdVersion": "55084015.72676.8044485658-4480.697274.89822348.81321732", "lastUpdatedVersion": "371217990.02465.13546034320-6508.4496.839652.655814", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": 87135605, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 94844838.50597969, "sla": 83303747.79497585, "decorators": [ { "type": "encryption", "pointer": "/FZtN9QmyKu./~1/lgHPYp4B" } ], "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": "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": "Ut laborum et magna in" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "aliqua consequat voluptate" } ], "ancestors": [ "caf67d2e40d67e556d88db04" ], "validationErrors": [ { "keyword": "laboris", "instancePath": "amet voluptate aliquip et", "schemaPath": "enim occaecat est", "message": "commodo" } ], "created_by": null, "last_updated_by": null, "tasks": { "workflow_start": { "x": 2630747.061299935, "y": -44515596.63114146, "gridCoordinate": { "x": 52619547.04573947, "y": 93483174.39082274 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 64317101.36386672, "finish_state": "success", "user": "6f694aea30a0771582a75302" }, "groups": [ { "_id": "aa1a35b618e9569bf4d21347", "provenance": "nostrud nisi dolore ex laboris", "name": "Duis pariatur", "description": "et sunt Ut dolore", "memberOf": [ { "groupId": "2229c0259972b9d74e525c84", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "labore est" }, { "roleId": "laboris adipisicing quis dolor" }, { "roleId": "dolore sint in" }, { "roleId": "ad in irure consequat" }, { "roleId": "nulla dolore do" } ], "inactive": false, "_meta": { "created": "1974-05-06T22:05:25.538Z", "updated": "2015-12-21T10:31:54.566Z", "migrationVersion": -22287502 } }, "8f33b9da4adfe89c4e39299e", "default", "default", { "_id": "7d63ce33c411e8be8433778e", "provenance": "ea", "name": "reprehenderit est", "description": "pariatur irure ipsum laboris dolor", "memberOf": [ { "groupId": "e1f0949e76151b254d024604", "aaaManaged": false }, { "groupId": "b1f953a77d08f2a8a7fd1721", "aaaManaged": false }, { "groupId": "d5dbc8086bb0038577110c22", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Ut eu exercitation ipsum" }, { "roleId": "Ut" } ], "inactive": false, "_meta": { "created": "2001-06-14T19:02:37.041Z", "updated": "1964-12-04T15:25:30.061Z", "migrationVersion": 49582081 } } ], "iterations": [] }, "workflow_end": { "x": 11461762.359912917, "y": 4472188.632165879, "gridCoordinate": { "x": 43928854.272355705, "y": -12597679.703423023 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler", "workflow_start", "3a1f", "workflow_start", "e28f" ], "complete": [ "workflow_start" ], "error": [ "e28f", "e28f", "workflow_start" ] }, "metrics": { "end_time": -30024615.869040623, "run_time": -10396542.315356731 }, "groups": [ { "_id": "79bbf9e4e3a364249cf8d5ea", "provenance": "Ut anim", "name": "tempor eiusmod sint", "description": "fugiat proident Excepteur nulla dolor", "memberOf": [ { "groupId": "f0d4ce6c067600116a6192d0", "aaaManaged": true }, { "groupId": "04b724f2e0a4d37088337c8e", "aaaManaged": true }, { "groupId": "7fd6c5629e3444de398473b0", "aaaManaged": false }, { "groupId": "fe9b3394db4ee6c632043481", "aaaManaged": true }, { "groupId": "7c5e840dc14e821ee1a89235", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "amet" } ], "inactive": false, "_meta": { "created": "2007-03-25T13:45:31.205Z", "updated": "1984-04-21T10:31:20.886Z", "migrationVersion": -91702456 } }, "default" ], "iterations": [ "5E3b0D7A-4e4e-8dEE-9F04-51E2ecBfCfFA" ] }, "error_handler": { "x": -86300326.40286629, "y": -33062874.301783383, "gridCoordinate": { "x": -12122435.409576625, "y": 83414989.9579168 }, "name": "childJob", "location": "Broker", "locationType": "do sed", "app": "elit", "canvasName": "anim cillum quis", "displayName": "elit exercitation labore aute", "summary": "quis exercitation dolore", "description": "aliqua qui sit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~0/~0/~1/U9h-M8.3Z2D/f/~0/Dys7cXn2L/~0" }, { "type": "encryption", "pointer": "/~0/~0/~0/~0/Iw/JTE/a7Ovg5cP9/ub2o2Pk/7" }, { "type": "encryption", "pointer": "/~1/~0/JiM.6i35WmG" }, { "type": "encryption", "pointer": "/~1/~1/~0/XQ0igy/~1/~0/~0/Ba/ZQqQb.,buRS/~0/~0" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "do laboris", "highlightString": "sunt" } ], "status": "running", "previous": { "incomplete": [ "workflow_start", "error_handler", "workflow_end", "workflow_end" ], "complete": [ "3a1f", "workflow_end" ], "error": [ "error_handler", "e28f", "workflow_start", "workflow_start" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_end", "type": "revert" }, { "task": "error_handler", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "ut dolor anim est commodo", "start_time": "1957-03-27T02:33:27.562Z", "end_time": 47493830.72236517, "finish_state": "failure", "retrySettings": { "state": [ "error", "error", "error", "success", "error" ], "autoRetry": false, "limit": 19968997, "delay": 35005741, "count": 55973045, "finishedRetrying": true }, "type": "operation", "actor": "0dbac601a65149ebd5faa28d", "groups": [ "27db857f63aad1d0642252dd", { "_id": "a24b84380a1e1d3466cd58f0", "provenance": "adipisicing ullamco ad qui", "name": "nisi et consequat nulla", "description": "velit cillum aliquip quis", "memberOf": [ { "groupId": "cb5ed7f5af770b50ba64d83c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "in sint nostrud" }, { "roleId": "Lorem proident" }, { "roleId": "ut Lorem in irure" }, { "roleId": "ea" }, { "roleId": "deserunt sunt" } ], "inactive": true, "_meta": { "created": "2024-01-28T19:48:49.253Z", "updated": "2020-08-08T22:22:19.319Z", "migrationVersion": -67987737 } }, "default", { "_id": "eb4bdd5566ce63a7fc3e3930", "provenance": "cillum nulla eiusmod velit Lorem", "name": "enim sit proident Excepteur", "description": "anim eiusmod Ut", "memberOf": [ { "groupId": "decd62672d81a90def0e2df3", "aaaManaged": true }, { "groupId": "b520e717c797874d11f7af95", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "irure labore culpa cillum laborum" }, { "roleId": "sunt" }, { "roleId": "anim sed" } ], "inactive": false, "_meta": { "created": "2013-03-30T13:41:08.325Z", "updated": "2016-05-06T09:38:13.303Z", "migrationVersion": -82114533 } } ], "iterations": [ "3ff9cf3a-CbFE-E8Bb-EC6F-0c8FECd82EA4", "5DF6d8fC-2aCc-c27B-4878-11F7aB394A9E", "53eeaedd-0B2C-fB3b-BA9D-97cC67b4A7F0", "C20f89bc-E487-eDff-4233-9EcBEDFcafeA" ] }, "a418": { "x": -89422516.45489639, "y": 71904974.8437424, "gridCoordinate": { "x": 4659784.461412773, "y": -91424554.66422597 }, "name": "dolore aliquip consequat ea", "location": "Broker", "locationType": null, "app": "Excepteur minim", "canvasName": "eu amet deserunt ut consequat", "displayName": "eiusmod", "summary": "anim ex velit", "description": "Ut laborum do deserunt labore", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/ds/RFUT+uW/~0/qOPTX9W/~1/~1/~0" }, { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/~0/~0/~1/uFM26XQP/um/dhWPkCN/hwCGJj/VQU81/OXmuVrbA./~0/P1IxXu9E-T" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "ut magna", "highlightString": "culpa aliquip qui nostrud" } ], "status": "scheduled", "previous": { "incomplete": [ "error_handler" ], "complete": [ "workflow_start", "workflow_start", "e28f", "3a1f", "e28f" ], "error": [ "e28f", "workflow_end", "workflow_end", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "error_handler", "type": "revert" } ] }, "serverId": "esse", "start_time": "1984-10-27T06:15:15.798Z", "end_time": -65898207.84055842, "finish_state": "failure", "retrySettings": { "state": [ "failure" ], "autoRetry": true, "limit": 37780347, "delay": 28651093, "count": 75570045, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ "c229cb1a004a4cd091bf9a9b", "default", "default", "b040209cc54ef215062bdde7", { "_id": "355c3b3953400aca87cb1e65", "provenance": "Excepteur pariatur", "name": "veniam qui proident in ut", "description": "magna dolor", "memberOf": [ { "groupId": "763c56a6bb98db88c36bdfe8", "aaaManaged": true }, { "groupId": "61c1a14791955243af76a45a", "aaaManaged": true }, { "groupId": "6d7deefae592524e4b76bbad", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "anim pariatur laborum voluptate id" }, { "roleId": "dolor culpa commodo" } ], "inactive": false, "_meta": { "created": "1954-04-25T04:24:13.505Z", "updated": "1959-01-17T05:34:23.02Z", "migrationVersion": -81482027 } } ], "iterations": [] } }, "parent": { "job": "consectetur Excepteur dolore", "task": "in Lorem", "iteration": -27443005.368452728, "element": -65313118.54909121 }, "errorHandler": null, "groups": [ "default", { "_id": "c011cad58c20fed366668936", "provenance": "enim deserunt eiusmod", "name": "aute id adipisicing", "description": "commodo enim", "memberOf": [ { "groupId": "8dadf1af32c4a5a57f842fd6", "aaaManaged": true }, { "groupId": "aa9480246a3303ef0724e0d4", "aaaManaged": false }, { "groupId": "60e1548b28ecd2d718035452", "aaaManaged": true }, { "groupId": "7fcb6dbed8f09272e97b5950", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "irure laboris Duis" } ], "inactive": true, "_meta": { "created": "1960-05-30T12:36:35.413Z", "updated": "2007-11-07T17:03:52.509Z", "migrationVersion": -98309198 } }, "default", { "_id": "79fe955987affdedb6b89999", "provenance": "cillum amet dolore consequat", "name": "ipsum adipisicing occaecat", "description": "dolore officia sint ea occaecat", "memberOf": [ { "groupId": "2426342209866df17461e11a", "aaaManaged": false }, { "groupId": "59345e8469a4584fe911d1fe", "aaaManaged": false }, { "groupId": "9850bcb478ae1fb15b67e921", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "proident" }, { "roleId": "enim" }, { "roleId": "ea" }, { "roleId": "elit aliquip eu amet" }, { "roleId": "Ut laborum sunt" } ], "inactive": false, "_meta": { "created": "1983-08-23T02:38:25.893Z", "updated": "1955-12-15T22:11:57.77Z", "migrationVersion": 34176939 } }, { "_id": "a9f6afb1c41fc4ce0d5b3af4", "provenance": "minim commodo consequat", "name": "labore", "description": "labore", "memberOf": [ { "groupId": "7a01b175b2f620b0651cca16", "aaaManaged": true }, { "groupId": "267050bf3c7ca89f23acea3d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "est aliqua" }, { "roleId": "officia" }, { "roleId": "sed aute commodo occaecat pariatur" } ], "inactive": true, "_meta": { "created": "1986-10-31T01:57:09.39Z", "updated": "1974-02-14T21:42:33.632Z", "migrationVersion": -5167093 } } ], "watchers": [ "f76609b9ae593085fd64ddf5" ], "metrics": { "start_time": 61685438.852950186, "progress": 0.3033384410551858, "end_time": -66092856.19431593, "user": { "_id": "22f5321f027093a078b6e1e0", "provenance": "irure qui", "username": "aliqua ut magna in", "firstname": "adipisicing proident", "memberOf": [ { "groupId": "c42b9d5f2f49f55e1b4c8fb9", "aaaManaged": true }, { "groupId": "cf503ca79abe8ecf25d8c248", "aaaManaged": true }, { "groupId": "aca943a262d0f1e25de5a5d1", "aaaManaged": false }, { "groupId": "592ad1fa4a507a57a8cbfc11", "aaaManaged": true }, { "groupId": "c0576d54be6f67e0d9babcb9", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "magna" }, { "roleId": "consequat anim dolor" } ], "inactive": false, "lastLogin": "1977-01-17T10:12:06.472Z", "_meta": { "created": "2011-09-04T12:17:36.385Z", "updated": "1945-12-26T16:13:49.415Z", "migrationVersion": 4580050 }, "email": "et laborum" }, "owner": "955e908f4424c6e7352dd2b6" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }