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": "6a7ae461672786ef8c3475be", "font_size": 23848236, "type": "resource:action", "created": "1989-06-14T03:36:20.811Z", "last_updated": "1966-04-17T17:36:58.06Z", "createdVersion": "6349.59365.8-6717.214.923022", "lastUpdatedVersion": "23789831204.823454.339-2226.9.79244922418", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": -43238387, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 16314771.564520836, "sla": -77488499.78363231, "decorators": [ { "type": "encryption", "pointer": "/v/~1/~1/Cul7W/~0/~1/RXAs+3h8R8b/u7V/A," }, { "type": "encryption", "pointer": "/KwW/~1/~1/c8/~1/~1/~0/avR/ymygF/yrG7Or/~1" }, { "type": "encryption", "pointer": "/~1/~0/wf/Ie6.HEws/RzvbXLlJHo/~1/~1/CVZQw/BiKZ6Bw/ey/i/~1/~0" } ], "status": "paused", "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": "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": "error_handler", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "Excepteur ullamco quis consequat" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" } ], "ancestors": [ "816a754ffeea5904ec17052a" ], "validationErrors": [ { "keyword": "nulla ullamco", "instancePath": "fugiat in dolore", "schemaPath": "sunt nisi ipsum ut consequat", "message": "mollit culpa ex" }, { "keyword": "Excepteur aute in sint", "instancePath": "adipisicing nulla non ea", "schemaPath": "ut in eu", "message": "ut ut" }, { "keyword": "veniam pariatur exercitation sit", "instancePath": "consequat voluptate", "schemaPath": "in elit non", "message": "quis dolore est ea labore" }, { "keyword": "aliquip Excepteur", "instancePath": "amet", "schemaPath": "nostrud", "message": "sit sunt" }, { "keyword": "ex ad proident ullamco", "instancePath": "exercitation irure", "schemaPath": "sed irure nostrud non", "message": "laboris deserunt Excepteur sit non" } ], "created_by": "9ecea2fe2dc586a40573b69c", "last_updated_by": { "_id": "9db14c0fe275199000ddd55f", "provenance": "nisi Duis quis", "username": "eu", "firstname": "adipisicing aliquip enim nisi ipsum", "memberOf": [ { "groupId": "0b7271d282fb563c84d7f898", "aaaManaged": false }, { "groupId": "8a8bec0127d0be267dc1872c", "aaaManaged": true }, { "groupId": "6930075f3659456c376eea13", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "in ullamco aute cupidatat" } ], "inactive": true, "lastLogin": "1987-05-20T05:49:05.152Z", "_meta": { "created": "1994-01-22T02:22:18.611Z", "updated": "1995-03-23T22:03:58.847Z", "migrationVersion": -88299462 }, "email": "Ut" }, "tasks": { "workflow_start": { "x": -5437892.485445112, "y": -36204657.5366231, "gridCoordinate": { "x": 50805457.621004194, "y": 47867499.67316365 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -63890173.84030904, "finish_state": "error", "user": "dae671f3969ca20b824d261c" }, "groups": [ "1b10200454064f3e07e45f54" ], "iterations": [ "5F2dA086-EcD8-0eb7-eC7b-16DDB5d01CB7", "c6558801-7962-010b-C44b-EcAba4eb82eA" ] }, "workflow_end": { "x": -50782966.12501068, "y": -10415618.701039225, "gridCoordinate": { "x": 12303711.147668615, "y": -74150067.2818019 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "3a1f", "workflow_end", "e28f" ], "complete": [ "workflow_end", "workflow_start", "workflow_start", "workflow_start", "workflow_end" ], "error": [ "3a1f", "workflow_start", "workflow_start", "e28f" ] }, "metrics": { "end_time": 38951661.965996206, "run_time": -97329786.09694962 }, "groups": [ { "_id": "0029af3c092015f2ff69dfc7", "provenance": "nisi in officia pariatur in", "name": "ullamco irure voluptate proident", "description": "est occaecat ad ipsum Excepteur", "memberOf": [ { "groupId": "47b428840c4282df7bf78ced", "aaaManaged": true }, { "groupId": "257b3e5f5c5e034b997737e3", "aaaManaged": false }, { "groupId": "38c1648ea2a084a7b3b5084c", "aaaManaged": false }, { "groupId": "4eb5405752d8cf01b8ae1ed9", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "fugiat minim in aliqua cillum" } ], "inactive": true, "_meta": { "created": "1988-01-08T04:23:42.521Z", "updated": "1966-12-13T13:17:54.72Z", "migrationVersion": 82244584 } }, { "_id": "dced31dbc932358ebe9a3ec9", "provenance": "est", "name": "ullamco nisi", "description": "anim Duis ullamco irure Ut", "memberOf": [ { "groupId": "0c3fbeb85eb53cc38f9efd22", "aaaManaged": false }, { "groupId": "e69de500983e1e39ca0c2ad7", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "proident" }, { "roleId": "irure ea culpa velit" }, { "roleId": "qui commodo nostrud voluptate" } ], "inactive": false, "_meta": { "created": "1951-05-11T13:53:46.575Z", "updated": "1984-12-17T11:53:15.772Z", "migrationVersion": 85629217 } }, "default", "default" ], "iterations": [ "b7C518bE-Ecd6-BFA6-224A-Bc448F7E14CF", "4287E31C-DBd5-aF27-5Cd9-AEB84bFC14AF" ] }, "error_handler": { "x": -44026986.15008704, "y": 22122992.632244334, "gridCoordinate": { "x": 95028889.62990311, "y": -94839941.41831298 }, "name": "childJob", "location": "Application", "locationType": "deserunt", "app": "quis officia", "canvasName": "cupidatat ea ut magna culpa", "displayName": "Ut amet Duis", "summary": "nostrud et sit est minim", "description": "ea et", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/j99Zyel0j+j/~1/~1/~1" }, { "type": "encryption", "pointer": "/u0/b7I4op+m/~0/~0/Mw/~0/oXCXRl83X/" }, { "type": "encryption", "pointer": "/~0/woJuJMlJ/v/~0/~0/~1/hB/cAWWlhbW5sc/~1/~1" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "consectetur in sed Lorem", "highlightString": "sunt voluptate cupidatat" } ], "status": "error", "previous": { "incomplete": [ "e28f", "3a1f" ], "complete": [ "workflow_end", "3a1f", "error_handler" ], "error": [ "3a1f", "workflow_end", "workflow_start" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "error_handler", "type": "loop" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "minim mollit", "start_time": "1987-01-12T16:08:27.676Z", "end_time": 199692.67895407975, "finish_state": "failure", "retrySettings": { "state": [ "success" ], "autoRetry": true, "limit": 73100517, "delay": 61186502, "count": 47820015, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ "default", "d3c59f9833ca81b23a35c83d", "default", "default", "5173c81bf9d61562da9a1a17" ], "iterations": [ "C7D4bF0E-0b3f-dD53-Ffe9-fDC1bA77aBbA", "95FAaaA2-6BE4-B869-c8b4-4F3edb147feC", "fDBF17fF-BeBe-A4A0-A7Ff-CFaAB0Ea32b8" ] }, "6d34": { "actor": "job", "groups": [ { "_id": "617245f15dd8a2b96ce58189", "provenance": "exercitation commodo nulla", "name": "aute dolor in", "description": "nulla", "memberOf": [ { "groupId": "385400b89552c7f1d42b2242", "aaaManaged": true }, { "groupId": "4b00f6e62f2498d84c703f0b", "aaaManaged": true }, { "groupId": "74061a9d373e4148dafc5f43", "aaaManaged": false }, { "groupId": "c904ee965a071ec387670370", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "esse amet" }, { "roleId": "voluptate" }, { "roleId": "aliqua aute ullamco eiusmod" }, { "roleId": "ullamco dolor ipsum in" } ], "inactive": false, "_meta": { "created": "1951-03-31T03:22:48.891Z", "updated": "2005-03-09T14:32:39.364Z", "migrationVersion": 6872244 } }, "bab394fc29bc282716088a45", "default" ], "iterations": [ "6bbEA884-F79C-6e80-c4EF-2c7c5fbE3DfE" ], "x": 23416935.937128797, "y": 97463493.65300468, "gridCoordinate": { "x": -35433999.67845247, "y": -39249182.149147585 }, "name": "reprehenderit officia aute", "location": "Adapter", "locationType": "et culpa", "app": "magna sunt", "canvasName": "childJob", "displayName": "cupidatat minim officia proident aliquip", "summary": "ut ut qui aliquip", "description": "in ullamco", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/OkTzw/~1" }, { "type": "encryption", "pointer": "/Kxp/Kq/~0" }, { "type": "encryption", "pointer": "/~1/~1/~0" }, { "type": "encryption", "pointer": "/~1/~1/Umu/j-c/v3/Uro9O6DxBd+/p+Xo.rw6/c/~0" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "non voluptate ad", "highlightString": "qui sunt amet" }, { "key": "dolor cupidatat dolor ipsum sint", "highlightString": "nisi culpa anim et sed" }, { "key": "in est", "highlightString": "Duis in et ex irure" }, { "key": "in in eu reprehenderit", "highlightString": "mollit cillum Ut adipisicing" }, { "key": "enim ea et cillum", "highlightString": "laboris ea Duis magna sed" } ], "status": "incomplete", "previous": { "incomplete": [ "error_handler", "workflow_start", "workflow_start", "e28f" ], "complete": [ "workflow_start", "workflow_start", "e28f" ], "error": [ "e28f", "workflow_start", "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "revert" } ], "error": [ { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "revert" } ] }, "serverId": "ipsum Lorem labore elit laborum", "start_time": "1967-05-25T14:08:13.145Z", "end_time": 49629077.45700562, "finish_state": "failure", "retrySettings": null, "loop": { "atLeastOneComplete": false, "finishedCount": 21184609.751064315, "outgoing": [ "veniam amet adipisicing tempor in", "deserunt in", null, "dolor ut aute sed eiusmod" ] }, "childJobs": [ { "_id": "aliquip ex cupidatat", "name": "quis", "iteration": -68556487.48876742 }, { "_id": "incididunt minim", "name": "veniam eu nostrud", "iteration": -18269665.31588234 }, { "_id": "in deserunt aliquip", "name": "Excepteur pariatur labore aliquip est", "iteration": 18807032.15196991 }, { "_id": "ea Ut commodo", "name": "elit ullamco sit do", "iteration": 92772887.58210605 } ] } }, "parent": { "job": "laborum elit magna", "task": "nulla in sit", "iteration": 46705353.70287299, "element": -1563045.0976794362 }, "errorHandler": null, "groups": [ { "_id": "d9682e38d8fcdac9b8714f11", "provenance": "nulla aliqua voluptate", "name": "veniam ipsum laborum nostrud Excepteur", "description": "consequat", "memberOf": [ { "groupId": "a6d2bf398c10e5ea385c4ae1", "aaaManaged": true }, { "groupId": "24e36ecc5697776a8be6344e", "aaaManaged": true }, { "groupId": "f1e00f5e791bea5b0b811a00", "aaaManaged": false }, { "groupId": "427119bf55adc254a9cfc867", "aaaManaged": true }, { "groupId": "ca922069ac1e36e24962b4ca", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ipsum aute laborum velit" } ], "inactive": true, "_meta": { "created": "1959-02-07T04:33:26.289Z", "updated": "1990-03-12T16:15:17.859Z", "migrationVersion": -23667568 } }, "default" ], "watchers": [ { "_id": "63b67a5052fcdd19d7aa6467", "provenance": "est", "username": "deserunt", "firstname": "ullamco sunt ut", "memberOf": [ { "groupId": "458bd62c610f07df7d542666", "aaaManaged": false }, { "groupId": "ab79611816feec4b030bc946", "aaaManaged": true }, { "groupId": "a77384f4a5dc4842a03e24f6", "aaaManaged": true }, { "groupId": "5f4ed703a300a741ebed63d5", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sed Lorem in ex nostrud" } ], "inactive": false, "lastLogin": "1956-07-29T11:21:50.122Z", "_meta": { "created": "1990-06-01T17:00:19.614Z", "updated": "1990-09-29T21:47:11.924Z", "migrationVersion": -8940329 }, "email": "Excepteur dolor ullamco" }, { "_id": "495d3e39dfdd5c6623e56def", "provenance": "minim cillum", "username": "eu elit", "firstname": "aliquip Lorem proident culpa voluptate", "memberOf": [ { "groupId": "323389e92f1d0338d3152bf1", "aaaManaged": true }, { "groupId": "aff354c2c08fccd4a4a16d4b", "aaaManaged": true }, { "groupId": "bb5393f6a9b51ddbba694162", "aaaManaged": false }, { "groupId": "bd72c169d6b85dc4ea581a9a", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ullamco in aliquip dolore" }, { "roleId": "consectetur elit cupidatat eu" } ], "inactive": false, "lastLogin": "1995-04-12T21:10:49.837Z", "_meta": { "created": "2006-08-09T12:27:43.878Z", "updated": "1977-02-02T15:45:49.95Z", "migrationVersion": -20661714 }, "email": "ad" }, "Pronghorn", "Pronghorn" ], "metrics": { "start_time": 43520728.814490676, "progress": 0.971178787407617, "end_time": -73686483.54587469, "user": { "_id": "8fd8d7e3fd7990eeb67ec441", "provenance": "ex", "username": "aute dolor amet ullamco", "firstname": "aliquip consequat labore dolore", "memberOf": [ { "groupId": "2e59e29a8ef503aa089fe4fb", "aaaManaged": true }, { "groupId": "895071c5c36baaa6005b2868", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "enim laborum nostrud do" }, { "roleId": "eu dolor velit" } ], "inactive": true, "lastLogin": "2018-08-11T01:57:58.792Z", "_meta": { "created": "2004-04-02T19:33:52.811Z", "updated": "1972-09-02T04:01:49.402Z", "migrationVersion": -12113501 }, "email": "in" }, "owner": { "_id": "6d464d5fd436793943b469fd", "provenance": "nostrud dolore", "username": "amet laboris enim officia", "firstname": "nulla", "memberOf": [ { "groupId": "6993b997ba454c056d05ef2d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sit Duis minim nostrud ullamco" }, { "roleId": "aliquip Ut adipisicing" }, { "roleId": "anim incididunt" }, { "roleId": "ut dolor pariatur officia dolore" }, { "roleId": "aute Lorem nostrud dolor" } ], "inactive": false, "lastLogin": "1984-12-23T19:37:41.187Z", "_meta": { "created": "1947-10-28T22:42:59.059Z", "updated": "1972-09-16T04:52:19.902Z", "migrationVersion": -30872330 }, "email": "aliquip mollit esse id et" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }