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": [
"72ad3216a41f12d8965813c9",
"b981e5553f1ccf18a0fa5c66",
"67c60f525405c71dee1cb605"
],
"read": [
"2de6735fa0a9c5044262944d",
"e780551419dc546e1c7de8b6",
"3cb646c99ed4828b8bc963ca",
"5e264cb764f488507908fbcc",
"e7fe79616887275a1776d641"
]
},
"componentId": "06ced0babe6ff31baa6f5fc1"
}
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": "Pronghorn",
"created": "1992-08-05T15:03:23.41Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2012-04-18T08:40:51.089Z",
"_id": "f4ca9ad56ae5556b851f796b",
"gbac": {
"write": [
"06e542720278329d21c523c0",
"afcc9435d795e7fa9f0cc9d8",
"93bd015221d184de45df9f54"
],
"read": [
"9220042869032076264a9b42",
"815d81d24fc486b65b9588c2"
]
},
"componentId": "4cda4261452526d2d11e751c"
}
}