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": [
"7b442340931b1709186dcd69",
"9ccf2db5f3139c4b1843994d"
],
"read": [
"e374f840a127da610d4c7505",
"89cbe8a5dabf60db740ab968",
"af174286a505284ac8c145e9"
]
},
"componentId": "f25958db9a59d516c95795f6"
}
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": "ucm_compliance_plans",
"createdBy": "dc5d164cec94c56c7d835b0c",
"created": "2014-03-31T14:22:48.43Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2010-03-27T02:53:21.539Z",
"_id": "dccbb5451e6167f59fb7a95e",
"gbac": {
"write": [
"a04d92d39c00467592f6673b",
"a7dda6bb25742b46f7d1b717",
"76d7cf4d5134095e6124a64e",
"ccaf1e331f346d3c8ebdcc27",
"e6ddf70779f6da4eb6a1ff39"
],
"read": [
"8f5fab4f379122b7ee3864bc",
"a1e16cbd26cdd3c67f514771",
"eb6956f9b0714d313dd30a17",
"724b84963f01d20389e6cbff"
]
},
"componentId": ""
}
}