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": [
"4632db17dc6110063e1f2434",
"b01ee55f1b0b558151230deb",
"09a0b0b3980fff238d86c619",
"51582bd7f18f7b55db26aa58",
"40416891917e942fa08ae03a"
],
"read": [
"be8a858f90a37a8fba422378",
"379574cd93f771587805baa5",
"b01fe6b3e4e4c2c599655707"
]
},
"componentId": null
}
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": "b361ed977937f0c622027a31",
"created": "2020-05-25T08:14:45.124Z",
"lastUpdatedBy": "046d2669366b07b1038565e4",
"lastUpdated": "2008-12-31T19:16:09.345Z",
"_id": "f9261b4b4f4dea0d81f175f5",
"gbac": {
"write": [
"fd44ef797542eeaaf8a4b109",
"9b9b185d384feaeef825307a",
"c2347a3242381da124dd5030"
],
"read": [
"c22f98eb00238736e308c718",
"9f34056bdcf63cf847804375",
"83be6bd079dbf8719f752fe2",
"b96615aa4045a855462eca2a",
"b038e1ac5c6cdd4ee8f11d18"
]
},
"componentId": ""
}
}