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": "1918299d0393cf32ff9edba6", "font_size": 91729900, "type": "automation", "created": "1984-06-03T18:43:26.661Z", "last_updated": "1969-09-22T12:22:23.85Z", "createdVersion": "8.1.67667271040-6765.6.7501", "lastUpdatedVersion": "508671.430893.301", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": 98982378, "name": "myCoolDocumentName", "description": null, "preAutomationTime": 20759303.12243654, "sla": 40482094.640366435, "decorators": [ { "type": "encryption", "pointer": "/dY/~0/dzz86.MWKG/PSsoE6oS/~1/~1/~1/~0/ZtuPdVs/~1" }, { "type": "encryption", "pointer": "/~0/~0/~0" }, { "type": "encryption", "pointer": "/d0eryxU6" }, { "type": "encryption", "pointer": "/~0/~0/Jv5Z.h1/~1/~0" } ], "status": "canceled", "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": "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": "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": "error_handler", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName" } ], "ancestors": [ "3df3c2637678b50262730731", "f20d485f54f78af3865a4d7a", "dfa2c6a58fda625fcc814cb2" ], "validationErrors": [ { "keyword": "quis nisi", "dataPath": "reprehenderit incididunt Excepteur magna", "schemaPath": "occaecat dolor pariatur", "message": "officia" }, { "keyword": "proident sit", "dataPath": "labore", "schemaPath": "esse", "message": "aliquip deserunt voluptate" }, { "keyword": "ullamco sint amet veniam consectetur", "dataPath": "anim mollit exercitation deserunt consequat", "schemaPath": "dolore dolor deserunt id", "message": "in occaecat" }, { "keyword": "laboris", "dataPath": "dolore fugiat", "schemaPath": "do sint sit", "message": "laborum ut" }, { "keyword": "nisi Excepteur id", "dataPath": "ullamco magna non aliquip", "schemaPath": "sunt", "message": "aute" } ], "created_by": "Pronghorn", "last_updated_by": { "_id": "0e6d7fc4332fd38c26d7a45e", "provenance": "ut dolore tempor", "username": "proident", "firstname": "commodo nulla eu", "memberOf": [ { "groupId": "f71bf03dfa7f3db5224764de", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "fugiat commodo officia" }, { "roleId": "cillum deserunt sed" }, { "roleId": "fugiat amet magna adipisicing ad" } ], "inactive": false, "lastLogin": "1966-10-30T06:59:28.451Z", "_meta": { "created": "1972-06-12T06:45:35.747Z", "updated": "1951-12-22T18:36:44.252Z", "migrationVersion": -203067 }, "email": "Excepteur" }, "tasks": { "9953": { "actor": "9fcc56b368d64b5c0f981e17", "groups": [ "default", { "_id": "6ec7797f39db400edbc904fc", "provenance": "sunt ullamco culpa", "name": "dolor ut anim irure mollit", "description": "pariatur ullamco anim veniam", "memberOf": [ { "groupId": "08430309bc62a770026c6ad9", "aaaManaged": true }, { "groupId": "16ca3e71debb79cee25a04ba", "aaaManaged": true }, { "groupId": "f66f5acaaa410c8d62b65069", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "reprehenderit nostrud commodo nulla" }, { "roleId": "amet do" }, { "roleId": "tempor" }, { "roleId": "aliquip irure" }, { "roleId": "ea ut" } ], "inactive": true, "_meta": { "created": "1974-03-18T06:59:13.174Z", "updated": "2013-11-29T17:41:53.533Z", "migrationVersion": -35236342 } } ], "iterations": [], "x": -46392920.59067825, "y": 77393186.12231573, "gridCoordinate": { "x": -93478197.4719336, "y": -99464064.31252867 }, "name": "mollit consequat", "location": "Adapter", "locationType": null, "app": "amet ad aliquip", "canvasName": "Lorem esse", "displayName": "irure in consequat ipsum", "summary": "nisi", "description": "aute anim consectetur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/Aihlywx/cBKba6s+Q/~0/l/AA-t-/~0/auxEQRaH/buYFDLJ5" }, { "type": "encryption", "pointer": "/R/~0/~1/oQVuTF2F/~1/~1/TIET/~1" }, { "type": "encryption", "pointer": "/n2PD/~0/D/AML" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "nisi aliquip", "highlightString": "incididunt" }, { "key": "laboris qui culpa dolore", "highlightString": "laboris laborum enim" }, { "key": "ut", "highlightString": "Ut in labore proident" } ], "status": "failure", "previous": { "incomplete": [ "e28f" ], "complete": [ "e28f", "workflow_start" ], "error": [ "workflow_start", "3a1f", "workflow_end", "workflow_end" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_end", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "error_handler", "type": "revert" } ] }, "serverId": "sint", "start_time": "2021-09-01T14:33:22.469Z", "end_time": 7224000.537224427, "finish_state": "failure", "retrySettings": null, "type": "manual", "view": "aliqua eu nostrud mollit sed" }, "workflow_start": { "x": -39721893.08493967, "y": -6992412.3008122295, "gridCoordinate": { "x": -33661272.34888765, "y": 67999844.48270956 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -66822617.68409452, "finish_state": "failure", "user": "c3e166df70851b0dd7c63f12" }, "groups": [ "009db09f34a77fb6130cca1b", "default" ], "iterations": [ "D0D05eC1-Cb3A-bFC9-97ab-EBEa4D5d36b7" ] }, "workflow_end": { "x": -83408772.09713127, "y": 14687288.182457432, "gridCoordinate": { "x": -1623573.8924797326, "y": -10612614.756656185 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler", "3a1f" ], "complete": [ "workflow_start", "workflow_end", "workflow_start", "3a1f" ], "error": [ "e28f", "error_handler", "workflow_start", "workflow_end", "e28f" ] }, "metrics": { "end_time": -33368490.117425643, "run_time": -48123603.60512531 }, "groups": [ { "_id": "79fb8f5974ddbfdff366e3a5", "provenance": "et minim in", "name": "eiusmod ipsum aliquip veniam", "description": "ea amet dolor dolore ullamco", "memberOf": [ { "groupId": "7af415055f9ce862b06755df", "aaaManaged": false }, { "groupId": "8912a9c2b2b6e41f8212f4aa", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "pariatur dolore exercitation" }, { "roleId": "ut" }, { "roleId": "eiusmod ea ut" } ], "inactive": false, "_meta": { "created": "1957-01-06T06:13:08.967Z", "updated": "1955-02-25T23:27:38.797Z", "migrationVersion": 86551091 } }, "default", { "_id": "92c7e146ad8426cd5950c318", "provenance": "exercitation est", "name": "in", "description": "mollit Ut aliqua voluptate", "memberOf": [ { "groupId": "97df274389f630c783a8416b", "aaaManaged": true }, { "groupId": "9dce7454ac880fca6b169d1c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "est" }, { "roleId": "culpa nisi dolore mollit" } ], "inactive": false, "_meta": { "created": "2019-12-22T21:23:24.543Z", "updated": "2008-12-17T15:52:54.864Z", "migrationVersion": 18143929 } } ], "iterations": [ "b504C9F8-343C-49bb-fAd4-3ed3f2D42Ce1", "9AFf5C04-Ab7E-a34C-Fcfc-c4a7c2E8E429" ] }, "error_handler": { "x": 82436213.74684292, "y": -29214030.333561018, "gridCoordinate": { "x": 46399224.12237728, "y": -24388003.83896455 }, "name": "childJob", "location": "Broker", "locationType": "Duis dolor qui esse est", "app": "commodo", "canvasName": "amet do occaecat", "displayName": "culpa dolor officia", "summary": "veniam laborum commodo", "description": "eu voluptate dolor", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/tzF.gvHbS/SUYt9Y0VM/~1/~0/nejqr5bT4/~1/~1/~0/BS" }, { "type": "encryption", "pointer": "/j.X" }, { "type": "encryption", "pointer": "/~1/~0/Zlga/A,RsA/mLkq7cq9s/S/745Pp" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "ipsum elit voluptate", "highlightString": "eu culpa non sit consequat" }, { "key": "ad elit anim amet enim", "highlightString": "velit in ea amet" }, { "key": "aliqua", "highlightString": "dolor elit Excepteur" } ], "status": "error", "previous": { "incomplete": [ "3a1f", "workflow_start", "workflow_end" ], "complete": [ "workflow_start", "workflow_end", "workflow_start", "workflow_start" ], "error": [ "e28f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "3a1f", "type": "revert" }, { "task": "error_handler", "type": "revert" } ] }, "serverId": "dolor Excepteur Duis non sint", "start_time": "1991-06-02T00:12:55.426Z", "end_time": 82431453.4908706, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "default", "c1585263ce7ace31bcfefb11" ], "iterations": [ "07368CA1-faFD-e2F5-81fC-aaB4dada3D92", "67c374D5-0a05-A4fa-b368-de52567fB6D0", "d9213b9f-D4Ff-4614-7737-2ea7a3baAa2D" ] } }, "parent": { "job": "tempor sed Duis ut", "task": "in aute laborum ipsum eiusmod", "iteration": 44306046.02472004, "element": -89075224.50468713 }, "errorHandler": { "actor": "fd9b370307960eda1ddd48eb", "groups": [ { "_id": "11833889e0a23cf91e357b2c", "provenance": "incididunt eiusmod mollit aliquip", "name": "sit velit ut ad", "description": "esse aliquip est", "memberOf": [ { "groupId": "3491dd47e2bde8f7ad254b17", "aaaManaged": false }, { "groupId": "299a8e24a90acd1cc9884d59", "aaaManaged": true }, { "groupId": "17ee58d172dcca4df389b330", "aaaManaged": true }, { "groupId": "fd9d569f0df7007b2883d80c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "voluptate id proident quis Excepteur" }, { "roleId": "reprehenderit Lorem" }, { "roleId": "fugiat sed tempor" }, { "roleId": "dolor" }, { "roleId": "quis culpa" } ], "inactive": true, "_meta": { "created": "1955-06-28T17:50:39.183Z", "updated": "2013-07-22T13:53:28.621Z", "migrationVersion": 26993068 } } ], "iterations": [ "7EBc3F4B-46Af-C7e5-cD19-f41d8adEcFDF", "BA5FB81b-Cf40-Ada6-6073-FBBdceab823E", "0cB8EFbe-b3d7-1020-ed67-cA77B2279F33" ], "x": 35514036.855685025, "y": 98514976.53491697, "gridCoordinate": { "x": 69562323.53524792, "y": 17918773.878263876 }, "name": "aliquip", "location": "Broker", "locationType": "sed", "app": "tempor sint mollit officia", "canvasName": "sunt exercitation", "displayName": "pariatur amet in officia ea", "summary": "consequat nisi", "description": "ad qui dolor aliqua", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/~0/GHt5qIoW9F2/gy299K/Tzn3pKc/MJzRtgtib/~1/Evi85W6/~0/~1/~0/xUuE" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "fugiat ex veniam in", "highlightString": "dolore anim eiusmod incididunt" }, { "key": "labore", "highlightString": "non enim Ut eiusmod nulla" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start", "workflow_start", "workflow_end" ], "complete": [ "workflow_end", "e28f", "error_handler", "3a1f" ], "error": [ "3a1f", "error_handler", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "e28f", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "id esse incididunt enim amet", "start_time": "2017-02-13T13:37:46.667Z", "end_time": -38073579.74094074, "finish_state": "success", "retrySettings": { "state": [ "failure", "error", "failure" ], "autoRetry": true, "limit": 83078649, "delay": 63988432, "count": 68123524, "finishedRetrying": false }, "type": "manual", "view": "id anim consectetur consequat Excepteur" }, "groups": [ "17e59763882963a80831334f", { "_id": "dd2d4149bc51e217e755ab53", "provenance": "minim voluptate", "name": "quis", "description": "aliquip", "memberOf": [ { "groupId": "641928d0f6447e4d07103da7", "aaaManaged": true }, { "groupId": "0cd7fef28cd0672d83c395dc", "aaaManaged": false }, { "groupId": "3621285aa87875a90a587275", "aaaManaged": false }, { "groupId": "f23dfee10f800e80dfd6ce8e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "esse sunt proident" }, { "roleId": "in enim sed Excepteur" }, { "roleId": "esse sint" }, { "roleId": "eiusmod in cillum" } ], "inactive": true, "_meta": { "created": "1972-04-06T11:58:29.984Z", "updated": "2013-12-10T06:30:24.565Z", "migrationVersion": -39898040 } }, "6f3859af7f61bd05d74d1fcc", "51dc7a120b9587a729d4da59", { "_id": "d57151fa4bbbce5aaa94bce4", "provenance": "tempor dolor non in dolore", "name": "anim", "description": "do amet laborum", "memberOf": [ { "groupId": "9c31a009ba9b18acc4b92e67", "aaaManaged": false }, { "groupId": "449cf37f7ceabf8b8b6b2dc6", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consectetur anim" }, { "roleId": "esse consectetur dolor veniam" } ], "inactive": false, "_meta": { "created": "2013-10-30T19:35:59.87Z", "updated": "1953-02-28T22:45:42.421Z", "migrationVersion": 51872921 } } ], "watchers": [ null, null ], "metrics": { "start_time": 85151635.44410172, "progress": 0.23845298063891796, "end_time": -59252414.94501665, "user": "Pronghorn", "owner": null } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }