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": "0e9e51fbb3bd3f3480d33e95", "font_size": 34581922, "type": "resource:action", "created": "1980-06-25T11:07:43.232Z", "last_updated": "2005-07-03T17:16:12.225Z", "createdVersion": "36348841.3232.9718091", "lastUpdatedVersion": "7.988213241.5374164051", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": 12207901, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 64572329.73233542, "sla": -47643394.16374956, "decorators": [ { "type": "encryption", "pointer": "/LF/h-3k9LmK1l/vIlR6/k+K/~1/wV/~1/CP6limIr5Ip/~1/Cz/~1" }, { "type": "encryption", "pointer": "/QbUp4H7aah/djh,lomYBU/~0" }, { "type": "encryption", "pointer": "/GGGo2ny7/~0/~0/~1/~1/DPibS/vAXuVH6Dx" } ], "status": "paused", "tags": [], "error": [ { "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": "error_handler", "name": "myCoolDocumentName", "message": "consequat" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "culpa proident occaecat non" }, { "task": "3a1f", "name": "myCoolDocumentName" } ], "ancestors": [ "b5a1881a17ad02bdcca77908", "04bf2ebd89f0e8aafdcddeb1", "160dd6efa91076d23c3d6718", "9d2ce2a8eac4910d1253d8b0", "aac27d748d1a16dd20cedfed" ], "validationErrors": [ { "keyword": "culpa labore dolor Excepteur", "instancePath": "pariatur Duis non", "schemaPath": "irure dolor sunt", "message": "labore Ut in laboris aliqua" }, { "keyword": "dolore", "instancePath": "ullamco velit laborum", "schemaPath": "in ad dolore minim", "message": "in aliquip deserunt" } ], "created_by": "Pronghorn", "last_updated_by": null, "tasks": { "workflow_start": { "x": 86383790.70657152, "y": 63783758.5990468, "gridCoordinate": { "x": 63493494.35495189, "y": 2066566.2037128806 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 96162247.28594887, "finish_state": "error", "user": "d1796e209069718d29945993" }, "groups": [ { "_id": "40079b89b097bc3fb856f19f", "provenance": "aliqua et laborum ut", "name": "sunt eu quis", "description": "mollit deserunt sint nisi", "memberOf": [ { "groupId": "0031522dddb0c8ea81422223", "aaaManaged": true }, { "groupId": "61fd56e17021c783b83793d7", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nostrud" }, { "roleId": "cillum commodo minim pariatur" } ], "inactive": false, "_meta": { "created": "1983-11-20T17:44:17.995Z", "updated": "1990-03-06T06:21:43.191Z", "migrationVersion": -35968247 } }, "default", { "_id": "27c421439c55bd8e455053a5", "provenance": "laboris ut velit laborum", "name": "culpa enim Lorem", "description": "in", "memberOf": [ { "groupId": "a7963d8b991f1c0f4ae15cb8", "aaaManaged": false }, { "groupId": "638f83724014480884705b2f", "aaaManaged": true }, { "groupId": "3eab34e5c308179933fdf8fd", "aaaManaged": true }, { "groupId": "00e3e947be9bef049005305b", "aaaManaged": false }, { "groupId": "3eff4f5cf6a6d56aa94e062c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ipsum" }, { "roleId": "et aute" }, { "roleId": "adipisicing dolor nulla ipsum nostrud" } ], "inactive": true, "_meta": { "created": "2021-07-06T05:28:06.067Z", "updated": "1969-04-13T15:49:18.773Z", "migrationVersion": -173792 } }, "default" ], "iterations": [ "BD235DD7-5DaE-7194-5beB-4e8Ffb6ae18f", "B82ec2fE-fFaA-Edb1-4ca4-144CCFd8cBfD", "08D9f70e-9FCD-DcFA-21bf-2cbC71F39976" ] }, "workflow_end": { "x": 84172223.53139532, "y": 83940677.363035, "gridCoordinate": { "x": 55583299.807234704, "y": 23130661.60559401 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "error_handler" ], "complete": [ "error_handler", "workflow_start", "workflow_end" ], "error": [ "error_handler", "error_handler", "3a1f", "workflow_end", "e28f" ] }, "metrics": { "end_time": 99901683.30769452, "run_time": 3294169.863690093 }, "groups": [ { "_id": "01829841de075d83d0e991e4", "provenance": "sed do nulla mollit incididunt", "name": "elit aliqua cupidatat est", "description": "reprehenderit", "memberOf": [ { "groupId": "50c3b9eb2895e2b0ca894514", "aaaManaged": true }, { "groupId": "19c36c1376559aebf55eeead", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "esse ut culpa dolor" }, { "roleId": "amet in deserunt cillum ut" } ], "inactive": true, "_meta": { "created": "1946-03-26T03:59:54.284Z", "updated": "1962-12-22T13:46:53.4Z", "migrationVersion": -45008673 } }, "238afb33953c2894cd5743e9", "default", { "_id": "ff42a3ccd1f8130cae0ada08", "provenance": "est ea", "name": "pariatur quis enim", "description": "amet ullamco irure sunt", "memberOf": [ { "groupId": "85c80b0bb5e8cccadc39209e", "aaaManaged": false }, { "groupId": "ced8f45547e5adf1fa52b275", "aaaManaged": true }, { "groupId": "fea2f42c9f20fdb0cbcc1252", "aaaManaged": true }, { "groupId": "fa43f29fd06f4394e6778186", "aaaManaged": false }, { "groupId": "b99aa62f8b755634e05a0b73", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "elit" }, { "roleId": "eiusmod quis culpa cillum" } ], "inactive": true, "_meta": { "created": "2002-01-04T01:44:23.725Z", "updated": "1951-07-15T21:06:34.418Z", "migrationVersion": 91550561 } } ], "iterations": [] }, "error_handler": { "x": -17293077.249401405, "y": -62334764.432474144, "gridCoordinate": { "x": 32946697.24171588, "y": -70131597.47933884 }, "name": "childJob", "location": "Broker", "locationType": "culpa dolor velit esse", "app": "ullamco Duis", "canvasName": "id", "displayName": "laborum exercitation ullamco mollit", "summary": "culpa tempor commodo do", "description": "anim sint aliquip cupidatat pariatur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/jxBl-/~1/~0" }, { "type": "encryption", "pointer": "/fu/LR5gU/~1/~0" }, { "type": "encryption", "pointer": "/~0/~0" }, { "type": "encryption", "pointer": "/ir3M-YQlz.x/jWvwg2,/sHB/KgPxRFgB/~1/OC5riZ/W,XmD2/~0" }, { "type": "encryption", "pointer": "/Br-/It+" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "sunt eu", "highlightString": "non" }, { "key": "minim exercitation cillum aliqua", "highlightString": "Duis laboris eiusmod" }, { "key": "esse exercitation velit ad", "highlightString": "dolore Excepteur" }, { "key": "officia", "highlightString": "dolore ullamco" } ], "status": "error", "previous": { "incomplete": [ "e28f" ], "complete": [ "workflow_end", "workflow_start" ], "error": [ "e28f", "3a1f", "e28f", "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "loop" }, { "task": "error_handler", "type": "standard" } ] }, "serverId": "aliquip in ipsum incididunt ut", "start_time": "2018-02-20T20:58:24.84Z", "end_time": 80988241.13045141, "finish_state": "failure", "retrySettings": { "state": [ "failure", "failure", "failure" ], "autoRetry": true, "limit": 73812374, "delay": 81328902, "count": 57779998, "finishedRetrying": true }, "type": "operation", "actor": "Pronghorn", "groups": [ { "_id": "3d6de6e785aa8f017c9057fe", "provenance": "culpa dolore ut ea", "name": "ea do esse", "description": "pariatur consectetur labore deserunt aliquip", "memberOf": [ { "groupId": "0104a8334a81ae5f90c181ef", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aliqua voluptate quis Ut ullamco" }, { "roleId": "labore voluptate" }, { "roleId": "non aliquip ullamco pariatur sint" }, { "roleId": "irure ex enim cillum" }, { "roleId": "in" } ], "inactive": true, "_meta": { "created": "1962-04-01T11:43:20.506Z", "updated": "1976-09-03T18:30:03.033Z", "migrationVersion": 40473438 } }, "default", "default", { "_id": "5c9bc48a3148b3139a62f7fe", "provenance": "sint culpa commodo", "name": "labore in ut laborum et", "description": "id dolor consequat cillum", "memberOf": [ { "groupId": "bee9c354d9bb06c99bdb5128", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolore esse quis" }, { "roleId": "ad esse irure" } ], "inactive": false, "_meta": { "created": "2005-01-26T03:02:54.382Z", "updated": "2005-12-26T11:13:40.396Z", "migrationVersion": 37026199 } } ], "iterations": [ "8E4f372F-FEbE-6cA5-6baE-8e3eD75D6CFa" ] }, "c85": { "actor": "Pronghorn", "groups": [ "0057e9b302ea155679f16711" ], "iterations": [ "AF09afF8-8CBF-918f-bE30-Daf63d2De9D9", "96341fA3-98F6-5C76-3632-88F0DF2831c8", "fDF4c05c-fa13-f5A2-2fCB-0de6121c2CE5" ], "x": -62545928.92399864, "y": -11728820.854147062, "gridCoordinate": { "x": -18361928.23986104, "y": 94131572.97880992 }, "name": "proident Duis anim fugiat eiusmod", "location": "Broker", "locationType": "mollit cillum reprehenderit aute laborum", "app": "eu occaecat dolore", "canvasName": "in", "displayName": "est", "summary": "in id laboris in", "description": "nisi", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/YknUc/B/~1/~0/~1/S69-1uix/y4yvQ6v/Y/./~1/~1/~1/ZMiMLivlIWo" }, { "type": "encryption", "pointer": "/~0/~0/~1/~0/oTJos5,/~1/DFrczSh" }, { "type": "encryption", "pointer": "/FJ-VXFP56" }, { "type": "encryption", "pointer": "/~1/DMk788bszu2/~1/~0/~1" }, { "type": "encryption", "pointer": "/~1/LgN.H9/T4aT/~0/~1/~0/eH.QAC8J/dgzvikU/~0" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "nulla veniam in pariatur commodo", "highlightString": "nulla pariatur" } ], "status": "paused", "previous": { "incomplete": [ "workflow_end", "workflow_start", "3a1f" ], "complete": [ "workflow_end", "workflow_start", "e28f" ], "error": [ "workflow_start", "workflow_start", "workflow_end", "workflow_start" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "3a1f", "type": "revert" }, { "task": "error_handler", "type": "loop" } ], "failure": [ { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "e28f", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "revert" } ] }, "serverId": "et qui Duis", "start_time": "1962-10-19T07:44:49.017Z", "end_time": -52973088.87240155, "finish_state": "success", "retrySettings": { "state": [ "error", "error", "error" ], "autoRetry": true, "limit": 57145983, "delay": 3101515, "count": 7234244, "finishedRetrying": true }, "type": "automatic" } }, "parent": { "job": "do in", "task": "adipisicing dolor ea cupidatat", "iteration": -94825350.81877238, "element": 65399536.841449976 }, "errorHandler": { "actor": "job", "groups": [ "ce7ed56047ff940751b04dc6", "2dfc3f8b3d2b21d088dfc00c", "0627dc04755e3537f4b5fb55" ], "iterations": [ "3eFF3BcB-F159-aFEd-CfB7-D5eC88deDc3a", "cbd02c7C-a59D-94CB-F491-0f28bbbfE74D", "3A8abcdc-66cd-aE48-b8F6-227DCC08E1f6" ], "x": -57571436.33244253, "y": 43110096.50036493, "gridCoordinate": { "x": 23462079.795663908, "y": -46650589.84273158 }, "name": "commodo", "location": "Adapter", "locationType": "in", "app": "in qui dolor cupidatat", "canvasName": "Duis sunt veniam", "displayName": "laboris incididunt Ut", "summary": "pariatur magna et Lorem", "description": "qui ad exercitation", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/M/~0/N,/~0/x,tGrzOQBc0/m-MoyjNLX7" }, { "type": "encryption", "pointer": "/~0/EZXIq/T/ANPT" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "laboris magna dolor", "highlightString": "qui" }, { "key": "ex adipisicing exercitation sint", "highlightString": "incididunt non cupidatat pariatur" } ], "status": "incomplete", "previous": { "incomplete": [ "error_handler", "workflow_start", "e28f", "workflow_start", "3a1f" ], "complete": [ "3a1f", "workflow_start" ], "error": [ "workflow_end", "3a1f", "e28f", "3a1f" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_end", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "revert" } ], "failure": [ { "task": "e28f", "type": "standard" } ], "error": [ { "task": "workflow_end", "type": "loop" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "quis", "start_time": "2013-08-23T23:45:44.877Z", "end_time": 45533788.603247404, "finish_state": "failure", "retrySettings": { "state": [ "failure", "failure", "success", "success", "success" ], "autoRetry": true, "limit": 49343349, "delay": 83403254, "count": 48669793, "finishedRetrying": true }, "type": "automatic" }, "groups": [ "default", "14edb03bcc9620f4102f1b5d", { "_id": "5f5b76a5745b4e5663b7e82e", "provenance": "reprehenderit sint dolore occaecat", "name": "mollit ex magna", "description": "labore tempor qui", "memberOf": [ { "groupId": "4f50bc438d829d2baf5f129e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "anim velit tempor" }, { "roleId": "laboris" }, { "roleId": "sunt sint" } ], "inactive": true, "_meta": { "created": "1993-08-23T11:20:46.645Z", "updated": "1954-09-27T17:57:39.631Z", "migrationVersion": -4739166 } } ], "watchers": [ "bed1bb4f4f9129a3f4f7d96e", null ], "metrics": { "start_time": 44909878.18059459, "progress": 0.5291709075632676, "end_time": -77653391.39121985, "user": "Pronghorn", "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }