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": "b7dc732b25c6c92f809ddd83", "font_size": 59584533, "type": "resource:action", "created": "1997-07-04T08:41:19.568Z", "last_updated": "2019-12-18T06:50:32.958Z", "createdVersion": "0967.26543.17449714688", "lastUpdatedVersion": "9282495277.2498.257-7122.3301.598.835352426", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -99129148, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -27332549.86109808, "sla": -83437880.93023829, "decorators": [ { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/~1/FOvPvx/~0/eB.FySkS./~0/~1/WDA4/AKWPnp/~0/X" } ], "status": "error", "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 }, { "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_end", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "Excepteur sint" }, { "task": "workflow_end", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "velit nulla id aliqua laborum" } ], "ancestors": null, "validationErrors": [ { "keyword": "fugiat", "dataPath": "quis ut pariatur esse", "schemaPath": "qui sit ipsum laborum sint", "message": "officia" } ], "created_by": { "_id": "710f1450eba2e3991dcccae7", "provenance": "mollit", "username": "deserunt dolor nostrud", "firstname": "Duis voluptate incididunt commodo sunt", "memberOf": [ { "groupId": "9493e40db7a2b45b23bdd79c", "aaaManaged": true }, { "groupId": "a236c7e0fa8daafbcc1b4e4f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "magna anim dolor" }, { "roleId": "reprehenderit aliquip nisi irure" }, { "roleId": "quis" }, { "roleId": "elit" } ], "inactive": true, "lastLogin": "2008-11-20T21:10:04.526Z", "_meta": { "created": "2003-05-08T19:48:32.863Z", "updated": "1978-02-03T09:17:43.479Z", "migrationVersion": 45270334 }, "email": "velit esse aliquip nostrud" }, "last_updated_by": "5a78cbb5521b0b8432896f84", "tasks": { "workflow_start": { "x": -11804404.881849304, "y": 34038340.99814817, "gridCoordinate": { "x": 8642493.007495672, "y": 65513784.81133196 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 70442448.42043477, "finish_state": "success", "user": null }, "groups": [ { "_id": "dafbedec2df51bb68b80d1d1", "provenance": "minim elit", "name": "cillum qui", "description": "incididunt do nisi magna eu", "memberOf": [ { "groupId": "bc2e8d7e4e8b66307516de35", "aaaManaged": true }, { "groupId": "e4a9b7853fad767fa7da8e57", "aaaManaged": true }, { "groupId": "4f64427fd347135486d3ec67", "aaaManaged": false }, { "groupId": "06a9eec4d6ecd3818a0e51e2", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "officia" }, { "roleId": "esse dolore enim laborum ullamco" }, { "roleId": "in ut laborum" } ], "inactive": false, "_meta": { "created": "1954-05-21T18:06:31.598Z", "updated": "2020-02-01T06:41:10.77Z", "migrationVersion": 46377523 } }, "2d0ed6097315af115fe33383", "default" ], "iterations": [ "8AE3D37b-0eca-554C-C717-CACD6c7f7C34", "1EcD85D3-15E0-2bdc-A0fC-70fCebAe38b5", "Fa00F260-0C3C-c294-DBeF-E7DBD4Ec37E6" ] }, "workflow_end": { "x": -73386798.14834265, "y": -28119972.0686156, "gridCoordinate": { "x": 77847589.24715734, "y": 47125701.57430452 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler" ], "complete": [ "workflow_start", "e28f" ], "error": [ "error_handler", "3a1f", "workflow_start" ] }, "metrics": { "end_time": -76906555.88988563, "run_time": 1949255.6873246282 }, "groups": [ "default", "default" ], "iterations": [ "C1cCE8d9-2f82-3792-c50C-5eaA4bAEC83a" ] }, "error_handler": { "x": -42667980.01539729, "y": 27070586.851976052, "gridCoordinate": { "x": -80793621.58733377, "y": -57012349.60769268 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "voluptate Ut anim tempor aute", "canvasName": "ea ex nostrud", "displayName": "Duis ut reprehenderit aliquip", "summary": "est velit nisi", "description": "adipisicing aute veniam fugiat dolore", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/OJN/XmX/HgX/pg0h/zbPnScX.bPe/D6TJ5v/rbWw9W0/oSpM/S/eKoVjk-1ZtO/au6z4VW3HJ" }, { "type": "encryption", "pointer": "/uskAdy/hPZYdZhPe0F/~0/uxEBB,okd/6/McrF6pj/~1" }, { "type": "encryption", "pointer": "/~0/o0Ne/GO3i/~0/H9orJMoVD2/t8nSExM4.bF/f" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "nisi incididunt sunt in", "highlightString": "proident fugiat tempor sed" }, { "key": "occaecat magna dolore", "highlightString": "cupidatat aliqua do et" } ], "status": "paused", "previous": { "incomplete": [ "workflow_end", "workflow_start", "error_handler", "error_handler" ], "complete": [ "error_handler", "error_handler", "workflow_end", "e28f", "workflow_end" ], "error": [ "workflow_start", "e28f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "3a1f", "type": "standard" } ] }, "serverId": "quis cupidatat", "start_time": "2022-07-25T23:54:10.501Z", "end_time": 80043808.2452716, "finish_state": "success", "retrySettings": { "state": [ "failure", "error" ], "autoRetry": true, "limit": 5293458, "delay": 36821934, "count": 55458699, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ "default", { "_id": "669bd6616687bbdea5ccc24f", "provenance": "proident dolore et fugiat tempor", "name": "Duis ut", "description": "nostrud proident qui nisi in", "memberOf": [ { "groupId": "924843bd238ff332a315ccc7", "aaaManaged": false }, { "groupId": "13d4d4f416daadbbc82fb719", "aaaManaged": false }, { "groupId": "84a5dc5947c4bac4ca7aefe2", "aaaManaged": false }, { "groupId": "a679fbf4faa9b795443871a7", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ut consequat" }, { "roleId": "incididunt Duis enim" } ], "inactive": true, "_meta": { "created": "1949-04-08T11:55:22.495Z", "updated": "1979-10-28T23:11:26.725Z", "migrationVersion": -10326050 } }, "c9f80ae423b628287f8b93d9", { "_id": "eebe75c771c247bdfb7b6ee2", "provenance": "Duis ut", "name": "dolore ex exercitation veniam", "description": "fugiat", "memberOf": [ { "groupId": "0a4c1c0e2cf471b9314bcce9", "aaaManaged": true }, { "groupId": "1fa0094fdaec5489b854b4df", "aaaManaged": false }, { "groupId": "de580f7d98a904d75c9f86ed", "aaaManaged": false }, { "groupId": "0182436b6cca0bbcf0e06dd0", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "in ea Lorem occaecat" }, { "roleId": "sunt eu commodo fugiat est" } ], "inactive": false, "_meta": { "created": "2021-03-07T10:17:46.857Z", "updated": "2005-05-26T13:17:42.862Z", "migrationVersion": -24365182 } } ], "iterations": [] }, "cb3": { "actor": "$var.11d1.pXz", "groups": [ "default", "eb5dd0f470028cfba523d8e4", "default", "9a4ba70cbda1e4163793b7db" ], "iterations": [ "4f14020e-81ff-ccf6-d839-bb6eFA8541bD", "1C6CBe96-25fd-9184-Af36-cE32F2417e84", "f6eaA1b0-0Fa4-7DcB-bDD9-10E8Dd0a4abb", "7b3Bc04f-91DA-e57a-EcC0-3b4def80ef8e" ], "x": -54684162.72054788, "y": 14900542.283344984, "gridCoordinate": { "x": 96862817.35010293, "y": 7222164.106602952 }, "name": "consequat dolore ipsum non", "location": "Application", "locationType": null, "app": "nostrud magna ut mollit", "canvasName": "non ipsum", "displayName": "irure do esse in", "summary": "reprehenderit aliquip", "description": "do quis irure occaecat", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/RM07/YT1bkg,U/D.lrRv/QTgDEhnFYkr/pWC-v,0+A/f9c/PHoK7" }, { "type": "encryption", "pointer": "/IYpuSR--9/~0/n,k" }, { "type": "encryption", "pointer": "/VOMBg,LVU/Z7/~0/Nybi/~1/~0/rY-9/HUVdR8-W4F-/~1/Q/FpP41dd-Qn8" }, { "type": "encryption", "pointer": "/~0/yFE,hrzW1B/~1/~1/~0/~1/z-zG/~0/ui/qY49ET" }, { "type": "encryption", "pointer": "/~0/~1/q4xZo" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "in reprehenderit dolor Duis sed", "highlightString": "elit ex ut qui in" }, { "key": "ad commodo elit", "highlightString": "nulla enim" }, { "key": "nulla adipisicing minim", "highlightString": "in consequat exercitation proident sed" }, { "key": "eiusmod", "highlightString": "ipsum voluptate nulla aliquip" }, { "key": "anim ullamco consectetur nostrud elit", "highlightString": "irure anim voluptate non" } ], "status": "running", "previous": { "incomplete": [ "workflow_start", "workflow_end", "3a1f", "e28f" ], "complete": [ "3a1f", "3a1f", "workflow_start" ], "error": [ "workflow_start", "3a1f", "workflow_start", "workflow_end" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "e28f", "type": "loop" } ], "failure": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "workflow_end", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "revert" } ] }, "serverId": "ullamco ex velit", "start_time": "2006-10-27T03:43:16.218Z", "end_time": -39523934.39750206, "finish_state": "failure", "retrySettings": { "state": [ "failure", "success", "success" ], "autoRetry": true, "limit": 27432246, "delay": 34591399, "count": 54883308, "finishedRetrying": false }, "type": "automatic" } }, "parent": { "task": "occaecat eiusmod consequat in", "iteration": -32397637.170550108, "element": -48927564.74636104 }, "errorHandler": null, "groups": [ "c1c83e78f2b94cb121b3da19", "318e7b8ac561e14b02795f1f", { "_id": "2c67f6eab3224d6b3cca920a", "provenance": "ut ex sunt aliqua Lorem", "name": "laboris dolore aliqua dolor", "description": "voluptate et elit sit mollit", "memberOf": [ { "groupId": "922f58a2e7fe613940ae2a73", "aaaManaged": false }, { "groupId": "01a56f9c1601ad8ece9dbd0d", "aaaManaged": true }, { "groupId": "13ed43934a8caeb338efd724", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "minim aliquip veniam" } ], "inactive": false, "_meta": { "created": "1978-05-16T10:54:24.674Z", "updated": "1969-12-23T00:38:17.435Z", "migrationVersion": -95465967 } } ], "watchers": [ null ], "metrics": { "start_time": 86411382.8131372, "progress": 0.39903907293963137, "end_time": 44524149.62062886, "user": null, "owner": "ac7e1c6a4449c83842990076" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }