Summary
Create Automation
Description
Create a new Automation.
Route
POST /operations-manager/automations
Roles
admin
apiwrite
engineering
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
automation |
object |
yes |
The details of the Automation document to be created. |
Copied to Clipboard
{
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": "workflows",
"gbac": {
"write": [
"3e360e6d921ca814842167b9",
"00f31cb94867b6f0478d749d",
"825f693e8abd2db2b957daf1",
"3573cd515d5bf36b59fd63c9",
"0d1a99ccaf5af91084ab2f5e"
],
"read": [
"fb46bb354e4b7fe36d3cc353"
]
},
"componentId": null
}
Return
DetailsExampleSchema
Name |
Type |
Description |
results |
object |
The result of the create operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": "workflows",
"createdBy": "541721664a878a88005abfde",
"created": "1982-08-31T11:38:40.59Z",
"lastUpdatedBy": "df6a45e9921bb315e38fa37a",
"lastUpdated": "1960-10-15T20:15:46.122Z",
"_id": "3aa52e7b519ee4d6c4b1440b",
"gbac": {
"write": [
"350a23e487c52f2e8f14f790",
"6cb497f80474224cc028109e",
"087d1450247c5711a3159994",
"ce9983a31b17303dc86411b4"
],
"read": [
"6aa4f5e66b8efd2e494027ce",
"7fbb867bbb0b3b1dc0f8de10",
"4e89b73fbe42760f62d1c7b8",
"7e2b1fc4c0a708a3c3e4c55a"
]
},
"componentId": "6ea0504b89bbc0c19b3c4e80"
}
}