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": "27859808dd98a7cdbb954011", "font_size": 19848910, "type": "resource:compliance", "created": "1980-04-20T09:46:53.226Z", "last_updated": "1974-03-07T05:59:43.794Z", "createdVersion": "38.6.864064-8475.085498.9781933.84", "lastUpdatedVersion": "43488289523.922.24839817-8088.91620.10967716736", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": -58918936, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -91690959.55389492, "sla": 57453087.46715447, "decorators": [ { "type": "encryption", "pointer": "/pU0Bj/~1/FoL5C99Rq" }, { "type": "encryption", "pointer": "/~0/~1" }, { "type": "encryption", "pointer": "/bRm-/~1/WWKI9Uj/dLaJ7UmI-/~0/~0/h/~0/y28cd2Fil5/WI" }, { "type": "encryption", "pointer": "/IT4zx6s6/TH/~1" }, { "type": "encryption", "pointer": "/~0/~1/~1/~1/lgukfRdgx/RWLB08h/~1/pr/~1/nn0jWY" } ], "status": "running", "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": "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", "message": "Excepteur" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "pariatur" }, { "task": "workflow_end", "name": "myCoolDocumentName" } ], "ancestors": [ "d11f3e165dbb931ba3e204e3", "08223468d03bff3b9d1ca679", "021974bd5a6585de9e112079", "6e1ea90ab2b37099bb0a11f7" ], "validationErrors": [ { "keyword": "laborum in anim in do", "instancePath": "consectetur", "schemaPath": "consectetur", "message": "id fugiat velit elit dolore" }, { "keyword": "irure minim in", "instancePath": "consectetur ipsum culpa", "schemaPath": "ipsum do nulla incididunt elit", "message": "tempor Ut ut quis" }, { "keyword": "et commodo nisi fugiat", "instancePath": "deserunt sint cupidatat sit", "schemaPath": "tempor voluptate", "message": "sed labore nisi ut mollit" } ], "created_by": { "_id": "8ed5368c5f0ba8a1b3fca688", "provenance": "pariatur nostrud", "username": "in ut Ut", "firstname": "do in velit", "memberOf": [ { "groupId": "25a881df88ed975e4050d15c", "aaaManaged": false }, { "groupId": "943d334757bc2de115388ab2", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ad adipisicing veniam laboris" }, { "roleId": "do ex ullamco culpa occaecat" }, { "roleId": "officia consequat cillum reprehenderit" }, { "roleId": "qui nostrud reprehenderit" }, { "roleId": "Duis enim" } ], "inactive": true, "lastLogin": "1969-12-08T19:41:35.594Z", "_meta": { "created": "2001-02-17T16:39:15.046Z", "updated": "1981-01-06T23:32:42.782Z", "migrationVersion": -57414745 }, "email": "magna" }, "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": 64422651.22964561, "y": 86347723.47831875, "gridCoordinate": { "x": -72590647.98770592, "y": -67519642.35211387 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -98189325.62573034, "finish_state": "success", "user": "407427f6d251b0c0dabd976f" }, "groups": [ "default", "9a6ab77c15e2548fd2759b8e", "default", "c988c31bb6d56c121db61f94" ], "iterations": [ "BEbA7a1D-aBdA-EBfB-BE5a-4adBAc47856e", "DdCbf48c-deF1-A9ad-BcdF-9D2cc337B6BC" ] }, "workflow_end": { "x": 44593989.05415252, "y": 82920850.33116013, "gridCoordinate": { "x": -40116964.850243874, "y": -30285897.738210738 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_start", "error_handler" ], "complete": [ "workflow_start", "error_handler" ], "error": [ "workflow_start", "error_handler", "3a1f", "workflow_end", "error_handler" ] }, "metrics": { "end_time": -68230294.57943095, "run_time": 43043383.05365175 }, "groups": [ { "_id": "ca99f3d66da654c9a3258b67", "provenance": "irure sunt anim", "name": "veniam in dolor dolore", "description": "id nisi", "memberOf": [ { "groupId": "ab33c039f96ca75481be95c6", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ad laboris sunt" }, { "roleId": "magna" }, { "roleId": "culpa" }, { "roleId": "laboris ut" } ], "inactive": false, "_meta": { "created": "1977-05-10T15:34:23.713Z", "updated": "2005-02-22T18:00:18.45Z", "migrationVersion": -41783277 } }, { "_id": "a62763d9cfe04ca85c2e854c", "provenance": "ut Ut cupidatat commodo deserunt", "name": "velit", "description": "incididunt enim elit cillum consequat", "memberOf": [ { "groupId": "08e7c23d71551f34b1486430", "aaaManaged": true }, { "groupId": "93f517dfd2e8e8e703cf8066", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ut" }, { "roleId": "velit ea amet" }, { "roleId": "consequat tempor nostrud nisi" }, { "roleId": "ut qui" } ], "inactive": true, "_meta": { "created": "1949-05-03T01:56:32.309Z", "updated": "1954-08-07T11:58:32.29Z", "migrationVersion": -46024199 } }, "default" ], "iterations": [] }, "error_handler": { "x": 36354366.303607315, "y": -80300716.51073425, "gridCoordinate": { "x": 46549599.47220734, "y": 19249591.705547437 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "nostrud occaecat in sint dolor", "canvasName": "minim", "displayName": "aliquip", "summary": "eiusmod dolor ut", "description": "reprehenderit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~1/~1/nicAO2YpE" }, { "type": "encryption", "pointer": "/~1/~0/K+yrgATb/~1/~0" }, { "type": "encryption", "pointer": "/~1/nedEJz8ov/~0/~1" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "nulla", "highlightString": "commodo officia dolor veniam consectetur" } ], "status": "complete", "previous": { "incomplete": [ "error_handler", "workflow_end" ], "complete": [ "workflow_end" ], "error": [ "3a1f" ] }, "taskId": "workflow_end", "transitions": { "success": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "error_handler", "type": "loop" }, { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "error_handler", "type": "standard" } ] }, "serverId": "dolor", "start_time": "1944-07-09T12:35:20.962Z", "end_time": -93806729.69128181, "finish_state": "success", "retrySettings": { "state": [ "error", "error", "success", "success" ], "autoRetry": false, "limit": 81961264, "delay": 13959433, "count": 84964821, "finishedRetrying": false }, "type": "operation", "actor": "job", "groups": [ "216fa7b6e0ed7f9e2f000b4f", { "_id": "62a6ce8bc9680995d1bb7f16", "provenance": "fugiat deserunt consectetur", "name": "nostrud proident irure elit deserunt", "description": "nulla amet sit sunt", "memberOf": [ { "groupId": "601cf860c71ebe09e9ca1a17", "aaaManaged": true }, { "groupId": "df1f803c83d890269444c138", "aaaManaged": true }, { "groupId": "8f4a97570de5e42480f03db1", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "reprehenderit" }, { "roleId": "tempor" } ], "inactive": true, "_meta": { "created": "2001-04-09T10:29:41.126Z", "updated": "2007-08-08T23:39:13.768Z", "migrationVersion": 23187920 } }, "042d921f292abebb33bb0ca9", { "_id": "f8ee5ce36fe6ca289814acc8", "provenance": "sed deserunt nostrud", "name": "anim sunt laboris tempor deserunt", "description": "pariatur fugiat", "memberOf": [ { "groupId": "a7e11b8dbc899263c878f53d", "aaaManaged": true }, { "groupId": "106e08db83b0c36e4be665ec", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "dolore commodo" }, { "roleId": "culpa quis voluptate sit non" }, { "roleId": "Lorem exercitation anim et sint" }, { "roleId": "minim incididunt" }, { "roleId": "culpa anim in" } ], "inactive": true, "_meta": { "created": "1971-01-28T10:15:55.7Z", "updated": "1985-07-10T11:08:44.561Z", "migrationVersion": 44501021 } } ], "iterations": [ "bdfb0Ea0-A0a1-c968-6C69-Fd5EFc23cE6F" ] }, "c7": { "actor": null, "groups": [ "19f0718c9c0a10cf8a90fb35", "default", { "_id": "64c2dcc257efa36d07a86127", "provenance": "in voluptate reprehenderit elit non", "name": "officia est cillum veniam laborum", "description": "consequat ipsum do dolor voluptate", "memberOf": [ { "groupId": "343cf88104e637f9fdbdad44", "aaaManaged": true }, { "groupId": "d2eb67a686569a5c842e1807", "aaaManaged": true }, { "groupId": "d971940c9a117126f16c4c6f", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "irure velit" }, { "roleId": "Ut quis velit fugiat" } ], "inactive": true, "_meta": { "created": "1956-07-05T11:15:37.024Z", "updated": "1949-01-28T09:03:24.127Z", "migrationVersion": -15063505 } } ], "iterations": [ "804dABaa-771a-EFa8-A6fE-ac08B5Fe54A4", "10d6FbEa-9DED-DBE0-FE9f-dB060c11D4AD" ], "x": -44120745.19985154, "y": -15803947.080853626, "gridCoordinate": { "x": 43178722.792259365, "y": 57551553.18982133 }, "name": "officia magna culpa amet labore", "location": "Adapter", "locationType": "eiusmod eu", "app": "quis amet eu minim in", "canvasName": "childJob", "displayName": "officia culpa pariatur", "summary": "consectetur aute qui", "description": "in", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/m/pFXd/sUoS/~0/~1/yio6x/~0/~1" }, { "type": "encryption", "pointer": "/~0/~1/XdNHR/~0/~0/ATg,lA7n/a" }, { "type": "encryption", "pointer": "/Q/v0HmV" }, { "type": "encryption", "pointer": "/~1" }, { "type": "encryption", "pointer": "/~0/~1/qmjkQTKlr/~0/o6tiSB77/~0/~0/~1/d,iW/XWS/~1" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "magna id", "highlightString": "aliquip ut" }, { "key": "proident in pariatur", "highlightString": "est quis" }, { "key": "do minim anim eiusmod in", "highlightString": "deserunt mollit Duis cillum incididunt" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start", "workflow_start", "workflow_start" ], "complete": [ "error_handler", "workflow_end", "workflow_end" ], "error": [ "e28f", "workflow_end", "3a1f" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "revert" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "loop" } ] }, "serverId": "tempor", "start_time": "2017-08-18T13:37:04.055Z", "end_time": 99032126.37865919, "finish_state": "success", "retrySettings": null, "loop": { "atLeastOneComplete": true, "finishedCount": -99561817.48377202, "outgoing": [ null, "Excepteur elit do", "est", null, null ] }, "childJobs": [ { "_id": "non ut labore velit", "name": "officia esse minim ullamco deserunt", "iteration": -48751868.322210744 }, { "_id": "non consectetur", "name": "tempor", "iteration": -89545423.22754434 }, { "_id": "anim", "name": "in in tempor sit", "iteration": 37641641.84575817 }, { "_id": "deserunt aute Duis eiusmod pariatur", "name": "laboris culpa exercitation", "iteration": 83135588.73731491 }, { "_id": "do", "name": "dolor dolore sunt ad", "iteration": 59454571.372887045 } ] } }, "parent": { "task": "dolore exercitation", "iteration": -7899243.453733444, "element": -56485414.1493154 }, "errorHandler": null, "groups": [ { "_id": "83b5dc3efdd1b826c5a05d45", "provenance": "nulla dolore", "name": "tempor consequat occaecat ea", "description": "culpa sit ut do", "memberOf": [ { "groupId": "e3bf4ac007ec116e99f63950", "aaaManaged": false }, { "groupId": "e167a9b8c42e401ed22120f6", "aaaManaged": false }, { "groupId": "73116e07601a7c4c363e420b", "aaaManaged": true }, { "groupId": "a83f6cb42c211ca8b92597c1", "aaaManaged": false }, { "groupId": "34c6782fed3619326fa0d91b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "eu culpa" }, { "roleId": "proident dolor officia deserunt" }, { "roleId": "labore sint est Lorem" }, { "roleId": "sunt" } ], "inactive": false, "_meta": { "created": "2003-12-07T01:21:41.305Z", "updated": "1987-08-14T13:38:39.587Z", "migrationVersion": -21292039 } }, "default", { "_id": "2be53e7ce760eeb61646d814", "provenance": "cupidatat est ullamco ipsum officia", "name": "veniam", "description": "pariatur magna dolore", "memberOf": [ { "groupId": "044f977db263ee425adeebb5", "aaaManaged": true }, { "groupId": "dd2ec2cde9808f986a0ddeb1", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "labore aliquip" }, { "roleId": "esse et aute" } ], "inactive": true, "_meta": { "created": "2006-03-30T16:41:39.762Z", "updated": "2005-04-30T09:12:31.501Z", "migrationVersion": -69257287 } }, "fa6ae3e97cacdd59ea6adc36", "default" ], "watchers": [ null, "Pronghorn", "Pronghorn", null, "Pronghorn" ], "metrics": { "start_time": -45274266.13469778, "progress": 0.5694009722691589, "end_time": -39613771.22780836, "user": null, "owner": "Pronghorn" } } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }