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": [
"19f7805bf3313acc488e0c88"
],
"read": [
"b21a6d71ccd44a2f306900a6",
"16842db64c7610cc97b57ee0",
"c680f92308058eff112f25b9",
"993fffebe6a1108dee822caa",
"96193ec8e049a779300ffe24"
]
},
"componentId": ""
}
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": "Pronghorn",
"created": "2015-11-29T14:08:12.914Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2008-10-18T21:40:38.933Z",
"_id": "3182cf1af7135185ee75066d",
"gbac": {
"write": [
"3239f52f2932c93ffa28fd7b"
],
"read": [
"69e7041e490a2830ba1267c6",
"b48d0cd16f349c86cf6ea2bf",
"4315ca64651d8f8ff90c9609",
"bd4fd9d0e88b3a0139812b3f",
"e62e884e446eaf1f983ad839"
]
},
"componentId": "6c61faddca1e24135325b958"
}
}