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": "e972757b4364a5c6a16f7b1e", "font_size": 9412378, "type": "resource:action", "created": "1977-04-13T04:56:23.505Z", "last_updated": "2024-01-16T21:34:41.999Z", "createdVersion": "16454.2582227.936098118", "lastUpdatedVersion": "64756943.20618148592.28", "canvasVersion": 3, "encodingVersion": 1, "migrationVersion": 25200847, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 21909039.674860954, "sla": 7205523.948359042, "decorators": [ { "type": "encryption", "pointer": "/~1/~0/RgSuAmP8km/UYH,xhSC" }, { "type": "encryption", "pointer": "/CSnI,z/N+uU./E" }, { "type": "encryption", "pointer": "/~1/~1/wwFe,/~1" }, { "type": "encryption", "pointer": "/LmL,w.BpAJV/~1/~1/fBxZb5BO/~0/~0/TBJPsz/R,w7/EN/oRZS1XjLA" }, { "type": "encryption", "pointer": "/~0/~1" } ], "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 }, { "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": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" } ], "ancestors": [ "e0187b8d7c6cef024312e14d", "b489c07701b1ae3077c38df3", "d3cbf28eb7d6ebe0b20661fd", "e0d0ccc7b3a6bebf4895b58d", "712b8f57400e2a8ab427d65b" ], "validationErrors": [ { "keyword": "do minim occaecat est", "instancePath": "incididunt nisi", "schemaPath": "aliqua consequat cillum", "message": "ut aute" }, { "keyword": "pariatur qui id Ut", "instancePath": "irure anim exercitation laborum dolore", "schemaPath": "dolore amet ut est", "message": "sint sed quis dolore aliqua" } ], "created_by": { "_id": "4e8a10d1d123864c53268fb1", "provenance": "deserunt", "username": "dolor Ut", "firstname": "nostrud veniam enim", "memberOf": [ { "groupId": "5b2464ea717dde84593c2e53", "aaaManaged": true }, { "groupId": "4205007cd75ae75f47455c6b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "aliquip sed cupidatat esse" }, { "roleId": "exercitation ea" }, { "roleId": "in est culpa sunt" } ], "inactive": true, "lastLogin": "2018-07-21T06:58:26.904Z", "_meta": { "created": "1950-01-02T23:30:24.098Z", "updated": "1950-08-31T22:15:43.767Z", "migrationVersion": -73411898 }, "email": "laboris" }, "last_updated_by": "b840f64211949f0b821e43c0", "tasks": { "7": { "actor": "job", "groups": [ "58cc681b4fcaf18cb619c386", { "_id": "f4d71dac1513c8d38f07acaf", "provenance": "ex occaecat voluptate nostrud cillum", "name": "non veniam", "description": "laborum voluptate dolore", "memberOf": [ { "groupId": "781c2d7633ad2420081653fa", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sit" }, { "roleId": "et labore do sit laborum" }, { "roleId": "occaecat sint" }, { "roleId": "Duis reprehenderit" }, { "roleId": "dolore laborum labore ullamco magna" } ], "inactive": true, "_meta": { "created": "2012-08-27T01:57:47.495Z", "updated": "2005-01-11T10:07:26.049Z", "migrationVersion": 73476786 } }, "default" ], "iterations": [ "B6FC8333-8f77-aC5e-1Dac-027DcbBEDd62" ], "x": 5163746.465693414, "y": 20126149.747264683, "gridCoordinate": { "x": -8899874.666577026, "y": 12355289.253064066 }, "name": "pending", "summary": "aliquip pariatur proident do", "description": "sunt id dolore quis" }, "workflow_start": { "x": -55524073.343580715, "y": 17205011.490053132, "gridCoordinate": { "x": 23024493.22402391, "y": 63367836.715581626 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 7917780.191464052, "finish_state": "success", "user": "Pronghorn" }, "groups": [ "6f742b92cedab055ef86e6eb", "default" ], "iterations": [] }, "workflow_end": { "x": -55612278.79183779, "y": -2838610.306221366, "gridCoordinate": { "x": 31645659.715944946, "y": -66622787.304047115 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_end", "e28f", "error_handler", "workflow_start" ], "complete": [ "error_handler" ], "error": [ "e28f", "workflow_start", "workflow_start", "error_handler" ] }, "metrics": { "end_time": -19544643.435179234, "run_time": -88582837.69318835 }, "groups": [ "default", "default", "default", { "_id": "167ad2e23b1a833db1e506bd", "provenance": "quis Ut", "name": "Duis", "description": "veniam", "memberOf": [ { "groupId": "788d2d18ab8d52cc686a3b71", "aaaManaged": false }, { "groupId": "9345d8652341c8e95ee17a49", "aaaManaged": true }, { "groupId": "e4e00bcd44f7284aacd68e5d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliqua dolore" }, { "roleId": "voluptate sunt anim nisi" }, { "roleId": "elit id" }, { "roleId": "consectetur adipisicing et" } ], "inactive": false, "_meta": { "created": "1967-05-13T16:13:54.786Z", "updated": "1945-12-07T04:30:34.24Z", "migrationVersion": 82793817 } }, { "_id": "77b16fbd479c3a69298a81ef", "provenance": "ut reprehenderit", "name": "nisi", "description": "occaecat", "memberOf": [ { "groupId": "87718c3e358be0c6fee72dd5", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "quis labore ut fugiat" }, { "roleId": "veniam" }, { "roleId": "proident qui eiusmod aute aliqua" } ], "inactive": false, "_meta": { "created": "1968-08-19T05:19:56.791Z", "updated": "1959-11-11T00:26:30.804Z", "migrationVersion": 93603942 } } ], "iterations": [ "BCccC44A-af3e-dC0D-Ad7E-5192FbfE3Ffd" ] }, "error_handler": { "x": -65680531.95879151, "y": 22432151.645116255, "gridCoordinate": { "x": -7695018.9319752455, "y": 65562035.67795524 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "mollit est cillum nostrud fugiat", "canvasName": "Ut", "displayName": "consectetur minim exercitation officia", "summary": "ea culpa", "description": "quis", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/kZxT9DV3,/ne/kFklPqhEH/~1/~0/~1/~1/y-5" }, { "type": "encryption", "pointer": "/~0/~0/~0/p/C/~0" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "id sunt officia mollit proident", "highlightString": "laboris amet" }, { "key": "in in", "highlightString": "ad" }, { "key": "ea nisi esse enim nostrud", "highlightString": "reprehenderit nulla consequat in sit" }, { "key": "velit Excepteur minim fugiat", "highlightString": "ea labore enim" }, { "key": "cillum", "highlightString": "mollit et id proident" } ], "status": "complete", "previous": { "incomplete": [ "workflow_start", "workflow_end", "workflow_start", "workflow_end" ], "complete": [ "3a1f" ], "error": [ "workflow_start" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_end", "type": "loop" }, { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "e28f", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "3a1f", "type": "loop" } ] }, "serverId": "adipisicing nostrud ad dolor commodo", "start_time": "1953-04-01T06:41:58.887Z", "end_time": 87730387.43371367, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "6f631dbe6789e3da2d83c523", "provenance": "consectetur", "name": "dolore Duis labore in est", "description": "pariatur id sit veniam incididunt", "memberOf": [ { "groupId": "c4f637472a782b2764cbd74c", "aaaManaged": true }, { "groupId": "1885fa23cd994ae4ecd552cf", "aaaManaged": false }, { "groupId": "8a024111ec27177e1caa72d5", "aaaManaged": true }, { "groupId": "4d8afff0ebb487d9a4cf0f73", "aaaManaged": true }, { "groupId": "28d4151ca2f0db4cd416c1bc", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "minim cillum sit Excepteur" }, { "roleId": "sit exercitation" }, { "roleId": "minim culpa est" }, { "roleId": "esse sed tempor ullamco" }, { "roleId": "ut" } ], "inactive": true, "_meta": { "created": "2002-01-05T08:09:26.025Z", "updated": "1983-12-27T17:17:35.625Z", "migrationVersion": 22498623 } } ], "iterations": [] } }, "parent": { "task": "ut anim aliqua", "iteration": -10194447.861962706, "element": -22053162.30251637 }, "errorHandler": { "actor": null, "groups": [ "8b5e07ebae263f781a626612", { "_id": "e1d64d5afb582bb71b71a622", "provenance": "id Excepteur", "name": "officia", "description": "incididunt est voluptate", "memberOf": [ { "groupId": "5ba4faea0576b0fe064cf1ad", "aaaManaged": false }, { "groupId": "0ecb1679cf64009bf0d5f79e", "aaaManaged": false }, { "groupId": "45e8785d7eab655d847280ac", "aaaManaged": true }, { "groupId": "6e14ac0649fdf8c82d6827da", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolor" }, { "roleId": "labore occaecat non ut" }, { "roleId": "Duis ipsum" }, { "roleId": "elit minim" } ], "inactive": false, "_meta": { "created": "2015-10-29T14:20:03.852Z", "updated": "1968-12-11T06:54:47.678Z", "migrationVersion": -14687924 } } ], "iterations": [ "1b71d9a7-78AF-12Fa-f8BA-CC9F5b5FEE3C", "149f6C1E-FFA2-769f-Fc5f-fcD74C1DA2FC", "da4d53aF-fE8C-F644-2ECC-c37F5d909a15" ], "x": -94005807.54271303, "y": -65551029.90684674, "gridCoordinate": { "x": 38649509.12819135, "y": 79779898.21003783 }, "name": "pending", "summary": "culpa", "description": "anim consectetur" }, "groups": [ "default" ], "watchers": [ null, { "_id": "f8f7cc3e04e34a9e51287732", "provenance": "culpa minim mollit esse veniam", "username": "velit anim sed in", "firstname": "esse dolor", "memberOf": [ { "groupId": "4c2bb51659c7030afbfb4466", "aaaManaged": true }, { "groupId": "076c185c1a60249dd62393b2", "aaaManaged": true }, { "groupId": "d5415e57398fa4dd7d1fee4d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "enim irure" } ], "inactive": false, "lastLogin": "1962-05-28T01:40:24.908Z", "_meta": { "created": "1951-08-04T15:17:10.982Z", "updated": "1987-07-10T00:42:47.358Z", "migrationVersion": -18428394 }, "email": "exercitation aliqua" }, { "_id": "95fc2ce6ad2eb2b4d1ebd8ac", "provenance": "dolore cupidatat", "username": "esse sunt voluptate reprehenderit", "firstname": "magna cillum nisi sunt", "memberOf": [ { "groupId": "7ff8f36f230f29a6a82c3d49", "aaaManaged": true }, { "groupId": "99b94cce395a48dad2809e37", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "amet anim aliqua" }, { "roleId": "ut" }, { "roleId": "nulla" } ], "inactive": false, "lastLogin": "1983-07-23T00:16:55.678Z", "_meta": { "created": "1998-02-28T14:23:32.169Z", "updated": "1949-05-03T08:56:20.762Z", "migrationVersion": -40296956 }, "email": "occaecat pariatur Duis" }, { "_id": "9e002325a8044a7734c54091", "provenance": "voluptate deserunt et", "username": "laboris quis", "firstname": "aliqua", "memberOf": [ { "groupId": "e0621d9198467444b618e771", "aaaManaged": false }, { "groupId": "23b2e68336d7d108d096ad2d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "quis dolor incididunt" } ], "inactive": false, "lastLogin": "2014-05-17T14:45:00.277Z", "_meta": { "created": "1989-09-25T16:58:48.381Z", "updated": "2019-12-07T11:54:03.242Z", "migrationVersion": 77334899 }, "email": "est voluptate ut" }, null ], "metrics": { "start_time": -68700279.55482079, "progress": 0.18720336937526216, "end_time": -98390649.90874986, "user": { "_id": "5e64e6f1b0f588f59e558f8d", "provenance": "id elit", "username": "pariatur tempor ut", "firstname": "laboris cillum", "memberOf": [ { "groupId": "e60dfb6fbd957de06768bd81", "aaaManaged": true }, { "groupId": "c8aafdbf36dd4fc1623c59df", "aaaManaged": true }, { "groupId": "be712e7164c79f67b13cd971", "aaaManaged": true }, { "groupId": "f9ce098efd91bb64bc9b98ff", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolor nostrud id" }, { "roleId": "fugiat mollit officia sunt" } ], "inactive": false, "lastLogin": "1948-10-16T00:11:04.16Z", "_meta": { "created": "1959-11-03T07:22:53.74Z", "updated": "1995-04-19T07:49:05.847Z", "migrationVersion": -81869329 }, "email": "elit sint sunt" }, "owner": "Pronghorn" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }