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": "schedule",
"enabled": false,
"actionType": "automations",
"actionId": "5cb7b531d06cceb89fd21b1c",
"firstRunAt": 52962252,
"processMissedRuns": "none",
"repeatUnit": "hour",
"_id": "4321abcdef694aa79dae47ad",
"created": "2019-04-16T00:43:22.038Z",
"createdBy": "Pronghorn",
"lastUpdated": "2019-04-16T00:43:22.038Z",
"lastUpdatedBy": "Pronghorn",
"formId": "5cb7b531d06cceb89fd21b1c",
"formData": null,
"lastExecuted": null,
"nextRunAt": null,
"repeatInterval": 6555368,
"waitFlag": false,
"repeatEnd": null
}
}
Return
DetailsExampleSchema
Name |
Type |
Description |
createdTigger |
object |
the created trigger document |
Copied to Clipboard
{
"createdTigger": true
}