Summary
Create Trigger
Description
Create a Trigger document
Route
POST /operations-manager/triggers
Roles
admin
apiwrite
engineering
operations
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
trigger |
object |
yes |
the trigger document to create |
Copied to Clipboard
{
"trigger": {
"name": "My document",
"type": "eventSystem",
"enabled": false,
"actionType": "automations",
"actionId": "5cb7b531d06cceb89fd21b1c",
"source": "@itential/app-workflow_engine",
"topic": "jobCancel",
"_id": "4321abcdef694aa79dae47ad",
"created": "2019-04-16T00:43:22.038Z",
"createdBy": "4321abcdef694aa79dae47ad",
"lastUpdated": "2019-04-16T00:43:22.038Z",
"lastUpdatedBy": "Pronghorn",
"jst": null,
"schema": null
}
}
Return
DetailsExampleSchema
Name |
Type |
Description |
createdTigger |
object |
the created trigger document |
Copied to Clipboard
{
"name": -22714618.76453471,
"type": false,
"enabled": true,
"actionType": 22693366.69753778,
"actionId": "aliquip dolore commodo ut in",
"firstRunAt": -33626457.58762408,
"processMissedRuns": 4311297
}