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": "ucm_compliance_plans",
"gbac": {
"write": [
"4e8fa28cab1187c3dbd9c3d8",
"b2d4f004884169e74985a0dc",
"d53d861c4f35621bcb884678",
"da8fc9ddf6045fe34fcb9811"
],
"read": [
"6d8f241b3badf230ab210f16",
"67443794edeecd72a0c1fae8",
"b57d347ab561d6185949b9f8"
]
},
"componentId": "948e28d5fca8ef26b3b547d7"
}
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": "464e870a38aa3c6c991b06e1",
"created": "1952-05-09T13:38:16.129Z",
"lastUpdatedBy": "f909ed83ad4a4a86c7f7ec5d",
"lastUpdated": "2010-01-30T15:59:19.543Z",
"_id": "50c6fbb09cf6b5538b6b2ce6",
"gbac": {
"write": [
"eca24334e80f22e5a960a149",
"89f6fce9447fcbaa93a783f1",
"ca035fca5b856e27ed590ec4"
],
"read": [
"2c6b681a02c67cd64c03e287",
"e9f9d5f92b84d8304bf95542"
]
},
"componentId": "1Aeb4bBe-67e1-ccDD-Fd8C-AcdCc1af7B8C"
}
}