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": "85cba2491d811fdc45b43697", "uuid": "689c0edf-7643-45d6-1f2a-5a566e31fa96", "font_size": 28545102, "type": "resource:action", "created": "1950-09-25T18:50:28.247Z", "last_updated": "1971-03-13T23:55:17.391Z", "createdVersion": "6.8973.931883792-5711.25457438780.5.0", "lastUpdatedVersion": "20791681265.338325203.44406978-9472.4160.346703965", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": -93118444, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -58290449.59852841, "sla": 38318870.817337245, "decorators": [ { "type": "encryption", "pointer": "/F3ws1tmSj/vcn.85/~1/~1/Y85/tIgx,V./~0/HPZg-w7jo/~1/~0" }, { "type": "encryption", "pointer": "/n8nFJ64HG7F/yuP0HNiChyn/~1/~0/ej17yk8TK9/~0/k3pduHfXTJ/~0/~1" } ], "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": "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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName", "message": "ex qui est amet dolore" }, { "task": "e28f", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "elit" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "occaecat ex dolore" }, { "task": "error_handler", "name": "myCoolDocumentName" } ], "ancestors": [ "e54af0636e8e82aebc030390", "36d4a64c33db0e07767616f4", "4529da32fc1f45d2ced425d4" ], "validationErrors": [ { "keyword": "dolore cillum mollit", "instancePath": "consequat", "schemaPath": "velit", "message": "amet proident" }, { "keyword": "sint do sed eu exercitation", "instancePath": "nostrud consectetur reprehenderit ut cillum", "schemaPath": "Ut elit est", "message": "in" } ], "created_by": null, "last_updated_by": { "_id": "abc37234edfa43b978370861", "provenance": "ex velit tempor consequat proident", "username": "tempor", "firstname": "in", "memberOf": [ { "groupId": "34a5c562298d96e6685c9a63", "aaaManaged": false }, { "groupId": "a9b8fd56d9893a791fdfbb1d", "aaaManaged": true }, { "groupId": "e7a0df0e96555cfb77ae9be8", "aaaManaged": true }, { "groupId": "a614a637a455e84dfd6618f4", "aaaManaged": false }, { "groupId": "45b51b21f16b0eb17ec9fd43", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "magna dolore voluptate minim laboris" }, { "roleId": "dolore in deserunt aute" }, { "roleId": "in voluptate sunt esse" }, { "roleId": "non pariatur labore irure nisi" } ], "inactive": false, "lastLogin": "2026-02-15T03:27:09.135Z", "_meta": { "created": "1980-10-23T15:03:06.49Z", "updated": "1985-10-27T19:20:05.709Z", "migrationVersion": 8166471 }, "email": "nisi laborum" }, "tasks": { "workflow_start": { "x": 84906075.9636358, "y": -67328091.17655809, "gridCoordinate": { "x": -52866838.82300154, "y": -33357133.48801752 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -7627573.194277823, "finish_state": "success", "user": "Pronghorn" }, "groups": [ "default", "5ab4d0b1fc1712bb4c7ec713", "default", "default", { "_id": "746d74e2093552d53b311265", "provenance": "in dolor proident in Excepteur", "name": "deserunt", "description": "laboris", "memberOf": [ { "groupId": "9b2cf8ef7c07a989ba14e95c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolor ut" }, { "roleId": "ut adipisicing" } ], "inactive": false, "_meta": { "created": "1948-07-02T03:53:04.804Z", "updated": "1988-02-22T13:44:46.324Z", "migrationVersion": -3033781 } } ], "iterations": [] }, "workflow_end": { "x": -21617569.31056793, "y": -32659068.86245063, "gridCoordinate": { "x": 65766473.76308057, "y": 22038678.290885687 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start" ], "complete": [ "workflow_start", "3a1f", "workflow_start", "error_handler", "workflow_end" ], "error": [ "workflow_start", "workflow_start", "e28f", "workflow_end" ] }, "metrics": { "end_time": 55519851.58990416, "run_time": 59304499.700612426 }, "groups": [ "default", "default", { "_id": "51f7a0e826c45c46513e37d2", "provenance": "ut sint sit", "name": "dolor exercitation ipsum deserunt cupidatat", "description": "Excepteur Ut nostrud adipisicing consequat", "memberOf": [ { "groupId": "b80245176c4b607c1b7c9380", "aaaManaged": true }, { "groupId": "f5c3cb936c5e8b850f6f491c", "aaaManaged": true }, { "groupId": "e6ba51f8c7d7a360295ee6cc", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "deserunt" }, { "roleId": "adipisicing pariatur anim et" }, { "roleId": "laborum sint" }, { "roleId": "ut nisi" } ], "inactive": true, "_meta": { "created": "1960-06-22T12:54:07.496Z", "updated": "1952-08-17T04:46:59.389Z", "migrationVersion": -83679553 } }, { "_id": "701a281c56d29db0bc502156", "provenance": "Excepteur culpa ut eiusmod nisi", "name": "esse dolore aliqua cupidatat elit", "description": "cillum", "memberOf": [ { "groupId": "4c277fe724b406e5430d5cb5", "aaaManaged": false }, { "groupId": "c9f134a15729617a69b3f255", "aaaManaged": true }, { "groupId": "3104e58f333d2866698887f8", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ut id laboris in" }, { "roleId": "cillum" }, { "roleId": "magna nulla laborum nisi" } ], "inactive": false, "_meta": { "created": "1950-12-31T21:27:42.561Z", "updated": "1999-05-31T18:40:57.324Z", "migrationVersion": -846199 } } ], "iterations": [] }, "error_handler": { "x": 27254061.36805688, "y": 39638802.42399043, "gridCoordinate": { "x": -72238563.21152243, "y": 62471916.54235557 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "est", "canvasName": "in", "displayName": "Ut labore amet", "summary": "laboris quis voluptate nisi", "description": "minim mollit in", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/U+VyeBTM/w5f3Q5.R/mu/~1/~1" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "aute eiusmod ut", "highlightString": "tempor" } ], "status": "paused", "previous": { "incomplete": [ "e28f", "3a1f", "workflow_end", "workflow_start", "e28f" ], "complete": [ "3a1f" ], "error": [ "workflow_start", "workflow_start" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "standard" } ], "error": [ { "task": "workflow_end", "type": "loop" } ] }, "serverId": "deserunt sunt", "start_time": "1977-01-29T12:34:35.951Z", "end_time": 91636127.61472386, "finish_state": "success", "retrySettings": { "state": [ "success", "failure" ], "autoRetry": true, "limit": 11988546, "delay": 72782865, "count": 5165239, "finishedRetrying": false }, "type": "operation", "actor": "job", "groups": [ "default", "80fbc45741c861a75f8572a5", "default", "default" ], "iterations": [] }, "e5": { "x": -7882021.551408336, "y": 47500364.59489712, "gridCoordinate": { "x": -77244552.96060997, "y": -77224510.70626293 }, "name": "incididunt", "location": "Application", "locationType": "reprehenderit dolore Duis", "app": "in", "canvasName": "dolore consequat", "displayName": "qui sint aliqua", "summary": "velit ullamco pariatur", "description": "reprehenderit Duis", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/zljeZOD" }, { "type": "encryption", "pointer": "/~1/~0/w94/vLHUI06/jFrvH/Lb/~1/BER3Z" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "reprehenderit", "highlightString": "eu voluptate dolore Lorem" }, { "key": "magna eiusmod quis", "highlightString": "est proident commodo sint enim" }, { "key": "anim", "highlightString": "voluptate tempor mollit laborum in" }, { "key": "irure consectetur", "highlightString": "irure" }, { "key": "laboris sunt", "highlightString": "anim et" } ], "status": "paused", "previous": { "incomplete": [ "workflow_start" ], "complete": [ "workflow_start", "workflow_start", "error_handler" ], "error": [ "e28f" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "workflow_end", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "revert" } ], "error": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "standard" } ] }, "serverId": "eu aliqua magna ex", "start_time": "1993-08-27T14:54:32.012Z", "end_time": -91391207.94945614, "finish_state": "error", "retrySettings": { "state": [ "failure", "failure", "success" ], "autoRetry": true, "limit": 79575757, "delay": 86172697, "count": 27070323, "finishedRetrying": true }, "type": "operation", "actor": null, "groups": [ "default" ], "iterations": [ "1d6aaB56-aB94-5AbE-BeEb-61aaBaAA6d47" ] } }, "parent": { "task": "id qui deserunt", "iteration": -84092400.32210779, "element": 49582837.564115554 }, "errorHandler": null, "groups": [ "4cc6a0fc55e681a9c61ed939", "d576d41be730c7d9aad7289d", { "_id": "9bafec45abc47b147f1351f3", "provenance": "dolor", "name": "labore cupidatat", "description": "magna officia", "memberOf": [ { "groupId": "e5a6ad2c7a0d4a2ec093f8a4", "aaaManaged": true }, { "groupId": "df973a5c9486b53eb7bc59a8", "aaaManaged": false }, { "groupId": "13c66978bae052457f474f84", "aaaManaged": true }, { "groupId": "078ecec4a948231fff336dd5", "aaaManaged": false }, { "groupId": "99395b8ed92934e15459eea0", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "magna Duis ad mollit" } ], "inactive": true, "_meta": { "created": "1990-03-26T15:08:35.139Z", "updated": "2010-10-08T06:43:27.023Z", "migrationVersion": -39146279 } } ], "watchers": [ null ], "metrics": { "start_time": -36591678.94213833, "progress": 0.08065875456831484, "end_time": 26206204.669397205, "user": { "_id": "7cd0b6cdbad7df7a2e5ec51e", "provenance": "enim Lorem veniam id ut", "username": "laboris pariatur sint adipisicing", "firstname": "occaecat", "memberOf": [ { "groupId": "2f043e0eef47445a71a49ddc", "aaaManaged": true }, { "groupId": "59ca1a8d211c91a510306adc", "aaaManaged": true }, { "groupId": "177e68b7fd9cf444e476a4fb", "aaaManaged": false }, { "groupId": "2d267da1d414380097827614", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ad esse voluptate aliquip" }, { "roleId": "laborum do Ut qui est" }, { "roleId": "id nostrud pariatur officia sunt" }, { "roleId": "sit culpa in nostrud esse" }, { "roleId": "reprehenderit mollit" } ], "inactive": true, "lastLogin": "2010-10-16T11:50:18.279Z", "_meta": { "created": "1966-10-24T17:23:24.437Z", "updated": "1985-03-14T04:54:22.252Z", "migrationVersion": 20755497 }, "email": "in Lorem" }, "owner": "Pronghorn" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }