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": null,
"gbac": {
"write": [
"b7359c6b34e4ecadea828804"
],
"read": [
"a3f3c60a416cf5d14dc2502d"
]
},
"componentId": "b48752060f49845e2cb1e036"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
results |
object |
The result of the create operation. |
Copied to Clipboard
{
"message": "Successfully imported 3 of 4 documents",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": null,
"createdBy": "76743b32696ac494dd83d08c",
"created": "1981-03-16T14:22:15.315Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2016-06-07T01:14:04.299Z",
"_id": "a3ae333c483208f0522e1a9a",
"gbac": {
"write": [
"4452eb72902bb65832767e51"
],
"read": [
"34923a3802a8848e8670ea0f",
"f8e7b50a6419edc474f22a5f",
"487eb4d6e79c81ce690c86f8",
"5ca85f626f208ca02db9f9dc",
"c4d34321a4fdf635dd54438f"
]
},
"componentId": ""
}
}