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 retrieved search results", "data": { "_id": "c657e8c0a9e5d0e3bfedb2aa", "font_size": -61503597, "type": "resource:action", "created": "2015-05-17T03:41:05.229Z", "last_updated": "1972-11-17T10:13:06.878Z", "createdVersion": "689038.794329852.839-6854.46.391523383", "lastUpdatedVersion": "3132481012.5057176.94-9791.74933402936.44.9750108223", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": 81269745, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 38829538.72154653, "sla": 3404528.405398816, "decorators": [ { "type": "encryption", "pointer": "/~1/~0/LFvFVqg/~0/~0/~1/cDEFWBw9pKm/~0/fsJ1FRpC4J,/JxGW,R" }, { "type": "encryption", "pointer": "/~1/bQ" }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/H-/l0j+j6TdMc/JHEbQx/~0/~0/Z/Fe/e-GH/fyJWzK/EmM/~0/s0iYp" } ], "status": "error", "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 }, { "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 } ], "warnings": [ { "task": "workflow_end", "name": "myCoolDocumentName", "message": "consectetur" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "ullamco dolore officia" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "fugiat in sint" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName" } ], "ancestors": [ "ca56d07e3a6add48a708d5fc", "cb2b247ec94ba4e24c066773", "a56daf75b319117e0676e409" ], "validationErrors": [ { "keyword": "Lorem", "dataPath": "Lorem minim adipisicing pariatur", "schemaPath": "laborum officia", "message": "laboris ea dolor" }, { "keyword": "deserunt", "dataPath": "veniam laborum aliquip", "schemaPath": "officia", "message": "ipsum nulla sunt exercitation in" }, { "keyword": "do", "dataPath": "aliquip eiusmod ut", "schemaPath": "proident", "message": "non sunt id eiusmod commodo" }, { "keyword": "Duis", "dataPath": "dolor in consectetur do eiusmod", "schemaPath": "magna commodo", "message": "veniam proident voluptate consequat" }, { "keyword": "reprehenderit aute irure Duis", "dataPath": "ad", "schemaPath": "proident cupidatat", "message": "deserunt esse Duis do" } ], "created_by": "Pronghorn", "last_updated_by": "955aaf76c7ba929eb916e264", "tasks": { "7476": { "x": 27005783.824201584, "y": -13462555.100335598, "gridCoordinate": { "x": 46599653.82593408, "y": 50904397.255988 }, "name": "Duis enim proident exercitation", "location": "Adapter", "locationType": "esse enim proident amet dolore", "app": "amet ea", "canvasName": "consequat", "displayName": "laborum in officia aute", "summary": "sit voluptate mollit ad", "description": "veniam aliquip proident fugiat Excepteur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/A/vgu" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "fugiat anim ex Ut proident", "highlightString": "tempor" }, { "key": "ad", "highlightString": "ea commodo pariatur reprehenderit" } ], "status": "error", "previous": { "incomplete": [ "e28f", "workflow_start" ], "complete": [ "3a1f", "e28f", "e28f" ], "error": [ "workflow_start" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "e28f", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "error_handler", "type": "loop" } ], "failure": [ { "task": "workflow_end", "type": "standard" } ], "error": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "standard" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "qui Ut", "start_time": "1956-04-25T09:09:05.297Z", "end_time": 7736552.536757112, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": null, "groups": [ "c1f54a7baca4deb36e23a438", "1407056afbf36119839af10f" ], "iterations": [ "5c51DcdA-cF9e-0aB3-6Cd3-02bb8B7CBAf9", "aC5efEE2-BAfA-25d0-C5ee-f76E86eBda6d" ] }, "workflow_start": { "x": 60420808.75650942, "y": -8224857.552423254, "gridCoordinate": { "x": -3313576.3609805703, "y": 81573012.67940205 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -77137332.41618223, "finish_state": "success", "user": "7de533cb16c4eb6c2ac30756" }, "groups": [ "default" ], "iterations": [] }, "workflow_end": { "x": 23772520.530492887, "y": -13814854.910289615, "gridCoordinate": { "x": -69698014.35712238, "y": -97897559.0495272 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_start", "workflow_end", "workflow_start", "error_handler" ], "complete": [ "e28f" ], "error": [ "workflow_start", "error_handler" ] }, "metrics": { "end_time": -31418220.473856762, "run_time": -39588090.19502358 }, "groups": [ "7b111d8cae7a638449e86e91", { "_id": "75289623837b396048109464", "provenance": "labore pariatur elit consectetur", "name": "cupidatat reprehenderit", "description": "ea sint veniam incididunt", "memberOf": [ { "groupId": "4a4c12f4bc975fbead3841c0", "aaaManaged": true }, { "groupId": "f0979c14ecba00c34c2d070f", "aaaManaged": true }, { "groupId": "11f73f7d8eee4e2da489e497", "aaaManaged": false }, { "groupId": "33c6ac77d6db9d220412e9fb", "aaaManaged": true }, { "groupId": "ae53ba111ff381d4ce2fc093", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "magna" }, { "roleId": "proident" }, { "roleId": "pariatur ea sit fugiat ullamco" } ], "inactive": false, "_meta": { "created": "2017-10-23T11:17:38.096Z", "updated": "1969-04-03T09:29:24.75Z", "migrationVersion": 30945540 } }, "188a0ac1520cd331314b5135", "b3d3f80d34e5c9d5fe0c6522" ], "iterations": [ "965F5aC0-98B3-438a-FA59-B6a83216EAb7", "b16dCa81-91Aa-2cA4-Db33-4134FE2dBEA8", "BB7aEb9c-Ff6E-0ca7-7DDc-3E4aFd8fC31B", "1dAcDD16-8fe6-50d2-0DD2-b9eaa264395C", "8cfEbD39-bFBE-BfEb-6A16-dC305EC2c944" ] }, "error_handler": { "x": 84530086.26307458, "y": -36682389.11151427, "gridCoordinate": { "x": 87803344.45299256, "y": 16829434.341876984 }, "name": "childJob", "location": "Broker", "locationType": "sed aliquip pariatur in", "app": "dolore incididunt officia et", "canvasName": "pariatur in", "displayName": "deserunt exercitation", "summary": "elit incididunt quis dolore deserunt", "description": "eu fugiat qui commodo exercitation", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/k./fCohqPT0omt/~0/kaqeubnr/~0/~0/p" }, { "type": "encryption", "pointer": "/~0/el+V0iP/dN9xS/3/hqKd6UbrSx/KhJA+" }, { "type": "encryption", "pointer": "/sgWqE/~1" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "irure cillum Excepteur fugiat nisi", "highlightString": "reprehenderit dolore" } ], "status": "incomplete", "previous": { "incomplete": [ "3a1f", "3a1f", "e28f", "3a1f" ], "complete": [ "workflow_end" ], "error": [ "e28f", "error_handler" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "loop" } ], "failure": [ { "task": "workflow_end", "type": "revert" }, { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "loop" } ], "error": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "qui ad do aute cupidatat", "start_time": "2022-09-25T13:52:11.67Z", "end_time": 71627211.87215656, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": null, "groups": [ { "_id": "6020338b9792ced7a6f34eeb", "provenance": "mollit non", "name": "aliquip veniam", "description": "Lorem", "memberOf": [ { "groupId": "1df1f2a74d0bf5ea19d1d2ae", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ipsum culpa tempor est" }, { "roleId": "dolore amet" }, { "roleId": "laboris irure labore" } ], "inactive": true, "_meta": { "created": "1986-08-11T20:18:38.542Z", "updated": "2005-05-10T21:35:55.594Z", "migrationVersion": 84708961 } } ], "iterations": [] } }, "parent": { "task": "ad", "iteration": -94639343.42198117, "element": 2551430.3442550004 }, "errorHandler": null, "groups": [ "default", "default", "default", "default", "default" ], "watchers": [ "ce6f64ce2eff02e6ba9215d8", null ], "metrics": { "start_time": -11351766.073066428, "progress": 0.39609453505485415, "end_time": 48478286.10739103, "user": { "_id": "39071478c58d0b52d70337bd", "provenance": "magna pariatur voluptate", "username": "adipisicing velit quis nulla do", "firstname": "nulla exercitation laboris officia sit", "memberOf": [ { "groupId": "46535b3d1093a795d6e5c758", "aaaManaged": true }, { "groupId": "073b427f06bfed9441dddb14", "aaaManaged": true }, { "groupId": "871e035bd284fb05d73ba9b1", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "reprehenderit Ut laborum enim occaecat" }, { "roleId": "exercitation velit aliquip Ut nulla" } ], "inactive": false, "lastLogin": "1955-02-19T01:15:26.553Z", "_meta": { "created": "1970-11-20T21:15:14.829Z", "updated": "1963-01-27T16:54:20.144Z", "migrationVersion": 89960244 }, "email": "veniam id est" }, "owner": { "_id": "beddb59b67dff0a6eca9a42f", "provenance": "sunt eu", "username": "nulla Duis", "firstname": "anim qui irure laborum", "memberOf": [ { "groupId": "a7635f03202fb891491ef981", "aaaManaged": false }, { "groupId": "557cd194782f80d5032587d9", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "nulla tempor" } ], "inactive": true, "lastLogin": "2003-01-02T21:06:06.541Z", "_meta": { "created": "2016-09-13T16:44:25.034Z", "updated": "2020-02-10T19:40:53.44Z", "migrationVersion": -46233408 }, "email": "sunt quis adipisicing" } } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }