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": [
"b9ac317a89c72d2f7ca5786a",
"8b9e8a441003d11a429e9748"
],
"read": [
"8fa2171f9d3a2029b71d7fce",
"2de5f2c43b82fdaef757d3fd",
"2ffc7390ae3a3421bf002d4a",
"93cd7f3372b2b97ca3a83cff",
"36b4cceb13c5ce3c3a1c2eb8"
]
},
"componentId": "31A56393-deEC-21ff-8D3f-bdF832dcd25e"
}
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": "ffe113a8325d148cb88e0955",
"created": "1949-04-19T04:15:40.271Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1970-05-26T04:19:17.673Z",
"_id": "4a192d9434eadc5b9882f72f",
"gbac": {
"write": [
"8412e9d6b65a59a5f55d9eaf",
"cbc953a2f5e9c69e62d35202",
"c367e1d414c2b4b42c6ad112",
"87667b85b25121396e920cb1",
"1f40826621011a20b6f310a7"
],
"read": [
"fd8ebfe60e58fdc03d63272d",
"e8ff79d1fae6f6450ce167ea",
"d33b7a73b80429d74a0a49ab",
"5a5df8ec717bbf6527f703ba",
"b20994282e44cc6e17599610"
]
},
"componentId": "f18D4fE9-DD4a-08fd-1a5c-1a0E59e764bE"
}
}