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": "7e10a1cdb8ca8da30279de3f", "font_size": 70127247, "type": "resource:action", "created": "1967-02-13T05:51:02.851Z", "last_updated": "1959-09-23T08:17:40.717Z", "createdVersion": "96800.9469741990.297471740-3703.78702853425.4.70", "lastUpdatedVersion": "641005.873505517.5143-1794.0.237206598.00", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": 38301315, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 15401458.785997286, "sla": -29996883.264006734, "decorators": [ { "type": "encryption", "pointer": "/y,/~0/~0/vU42a/w+1B91O9e/~0/~1" }, { "type": "encryption", "pointer": "/kxZ/RnTE/e/~1/G3XAiV,I/~0/~1/bm/g/ZRL1gtK" } ], "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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName", "message": "irure nisi" } ], "ancestors": [ "f156581d85a2e63fe3c6e604", "56e2db5522747ab099a5ab6f", "d212a3e63026757a112c68ff", "dfe5768f6bed1e91d9bc9a03" ], "validationErrors": [ { "keyword": "et dolore do ad", "instancePath": "mollit commodo culpa ex", "schemaPath": "adipisicing Ut magna et", "message": "sint" }, { "keyword": "proident nisi commodo", "instancePath": "elit mollit exercitation", "schemaPath": "in cupidatat Excepteur consequat reprehenderit", "message": "officia cillum ut proident" } ], "created_by": null, "last_updated_by": "0bf0b93e77a573885e2704b1", "tasks": { "workflow_start": { "x": 88023185.22161335, "y": -36154890.61622221, "gridCoordinate": { "x": 41405641.07495698, "y": -10504285.847430676 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 71312281.27566934, "finish_state": "error", "user": null }, "groups": [ "default", "ad177e84aef744fe24ddc647", "a50f989f1d844885035b98d6", "54a54ebeb7b380e2239f02a8" ], "iterations": [ "b2ad9EBE-0EFE-fEDa-cB6e-F8D213f3e4dB" ] }, "workflow_end": { "x": -52302949.473332115, "y": -33054641.14066825, "gridCoordinate": { "x": 44700161.08598283, "y": 61012639.73690513 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "e28f", "error_handler" ], "complete": [ "workflow_start", "error_handler" ], "error": [ "e28f", "workflow_end", "workflow_start" ] }, "metrics": { "end_time": -63647032.764346845, "run_time": -58623563.10134365 }, "groups": [ { "_id": "de2af35fd871dc3e8f865278", "provenance": "laboris exercitation sed", "name": "ullamco quis id", "description": "Excepteur ut", "memberOf": [ { "groupId": "eacbf75e91fcb40188af5adf", "aaaManaged": true }, { "groupId": "9d65bffafae36cac0be48aca", "aaaManaged": false }, { "groupId": "1aace689b88198ba46937af9", "aaaManaged": false }, { "groupId": "096db5744efe3e3f3e717622", "aaaManaged": false }, { "groupId": "f6d6ca260c51d99103b54e12", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "officia dolor id" }, { "roleId": "eiusmod consequat consectetur est cupidatat" }, { "roleId": "aute do cillum reprehenderit cupidatat" }, { "roleId": "nostrud do velit exercitation dolore" } ], "inactive": false, "_meta": { "created": "1957-07-25T23:29:36.425Z", "updated": "1958-05-04T06:45:24.791Z", "migrationVersion": -90747949 } }, "088a100b059e290ffe6efc23", "56905e88b33037548d82b620" ], "iterations": [ "E2BaeFaC-3a73-a8d1-856D-446D5814E144", "d10ea20a-0Aba-4dec-4bbF-744b2B508Afb" ] }, "error_handler": { "x": 16937045.30377294, "y": 22520659.10010028, "gridCoordinate": { "x": -5176060.480730087, "y": 89728622.70483825 }, "name": "childJob", "location": "Adapter", "locationType": "est in", "app": "sint voluptate pariatur magna", "canvasName": "labore laborum", "displayName": "Lorem", "summary": "commodo", "description": "officia nisi", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/JTDuzebKX/~0/~1/~1" }, { "type": "encryption", "pointer": "/ZXbrWe/KCrTeT/My5vFjtnHi,/~0/cef/~1/Cg95vwwyV/~1/O0/ea,Ye" }, { "type": "encryption", "pointer": "/aKqwIX-LDYh/cNFi/~0" }, { "type": "encryption", "pointer": "/~0/M/QAF4bw9/Yoe/~0/p4M3OGB.//IIZ8YWmewy/M" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "aliquip magna qui", "highlightString": "nostrud proident dolor id" }, { "key": "ipsum est", "highlightString": "officia" }, { "key": "in anim ipsum veniam", "highlightString": "nisi est ut nostrud commodo" } ], "status": "running", "previous": { "incomplete": [ "3a1f", "workflow_start", "error_handler", "error_handler", "workflow_start" ], "complete": [ "3a1f" ], "error": [ "e28f" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "loop" } ], "failure": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "3a1f", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "revert" } ] }, "serverId": "in dolore laboris do", "start_time": "1986-10-03T21:45:12.939Z", "end_time": -43917925.1777511, "finish_state": "error", "retrySettings": { "state": [ "failure", "error" ], "autoRetry": false, "limit": 31066607, "delay": 5307125, "count": 91475597, "finishedRetrying": false }, "type": "operation", "actor": "86d5c40b2ed106cf3dd65362", "groups": [ "189629acbc1afeb9feebe8bd" ], "iterations": [ "f2ec14AB-A056-e10f-Efd5-f41cD77C17FB", "6a47aAFD-aADA-D0DD-0e8e-79d3Ffc3AdFc", "2D30cBCe-a13D-2203-4CD1-943DDd6beE0f" ] }, "a139": { "actor": "job", "groups": [ "9e358d34c27ae331be3982f9", "5e49d37b4658d62754901c17", { "_id": "fcc56b9ca7d5d13057fbcca2", "provenance": "velit in ea cillum", "name": "aliquip", "description": "dolor culpa", "memberOf": [ { "groupId": "ff8573432884f56e471d06af", "aaaManaged": true }, { "groupId": "5e4416db82cd1550b1e5343a", "aaaManaged": false }, { "groupId": "4c59ef9762cd73014543b2d2", "aaaManaged": true }, { "groupId": "591daf5afcaebb4df78d807a", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nostrud ut in qui anim" } ], "inactive": false, "_meta": { "created": "1994-08-04T21:58:14.639Z", "updated": "2000-08-21T02:19:45.922Z", "migrationVersion": -18538010 } }, "default" ], "iterations": [], "x": -65121260.3509435, "y": 65590715.92667243, "gridCoordinate": { "x": 36490301.15379283, "y": 29966361.337612167 }, "name": "deserunt", "location": "Adapter", "locationType": null, "app": "Duis", "canvasName": "exercitation dolore laboris reprehenderit magna", "displayName": "ut Lorem nulla ea exercitation", "summary": "ex", "description": "ut esse eu reprehenderit nostrud", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/ggEiq/CuDqdD/~1" }, { "type": "encryption", "pointer": "/dKnEjt6i/~1" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "in id", "highlightString": "reprehenderit nulla quis" }, { "key": "velit dolor", "highlightString": "cupidatat eu anim pariatur" }, { "key": "Duis mollit do esse ea", "highlightString": "sed anim officia ea" }, { "key": "adipisicing", "highlightString": "ut" } ], "status": "scheduled", "previous": { "incomplete": [ "error_handler", "3a1f", "e28f", "error_handler" ], "complete": [ "workflow_start" ], "error": [ "3a1f", "3a1f", "workflow_end", "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "loop" }, { "task": "error_handler", "type": "standard" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "standard" } ] }, "serverId": "tempor", "start_time": "1963-04-18T23:12:30.938Z", "end_time": 43167097.9025172, "finish_state": "success", "retrySettings": { "state": [ "success", "failure", "error" ], "autoRetry": true, "limit": 46900000, "delay": 3688237, "count": 29256992, "finishedRetrying": true }, "type": "manual", "view": "dolore occaecat" } }, "parent": { "task": "in voluptate dolore aliqua reprehenderit", "iteration": -41507647.53603724, "element": 66009.703370139 }, "errorHandler": null, "groups": [ "ec64955148d522a05df838e5", "66d25a4de58e71f8fab9c0a7", { "_id": "53b923014634213ffa88f695", "provenance": "officia cillum ut", "name": "non consectetur", "description": "aute Excepteur esse", "memberOf": [ { "groupId": "71daa44cb0e1aa89d86d2a39", "aaaManaged": true }, { "groupId": "74e6d9a86dbe28663d30729b", "aaaManaged": true }, { "groupId": "c9b7ae60e2ed3757234de988", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "officia nulla consequat dolor" }, { "roleId": "quis nisi reprehenderit dolore nostrud" }, { "roleId": "reprehenderit ad cupidatat elit pariatur" }, { "roleId": "enim labore" } ], "inactive": false, "_meta": { "created": "1969-12-31T22:37:30.438Z", "updated": "2016-03-24T23:01:47.245Z", "migrationVersion": 29929305 } }, "default", "default" ], "watchers": [ "Pronghorn" ], "metrics": { "start_time": -28884234.82031341, "progress": 0.6887038477405394, "end_time": -72124413.9356243, "user": { "_id": "6d1ce70f24d1a7d946d79ece", "provenance": "in sed elit ut occaecat", "username": "ut amet et exercitation officia", "firstname": "magna fugiat anim non irure", "memberOf": [ { "groupId": "018a81b87bbcb080ef405df9", "aaaManaged": true }, { "groupId": "091f75b928a68e7dcaef1b90", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "veniam dolore do" }, { "roleId": "magna quis dolor nulla exercitation" }, { "roleId": "cupidatat officia nulla Excepteur" }, { "roleId": "ut aliqua" } ], "inactive": false, "lastLogin": "1992-01-27T18:54:18.636Z", "_meta": { "created": "1951-05-14T06:23:42.605Z", "updated": "1995-09-01T17:09:42.231Z", "migrationVersion": -16296369 }, "email": "consequat irure dolor dolor sunt" }, "owner": "Pronghorn" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }