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": [
"16aaf557414893346b8d9d5b",
"c65bbc61dc91b3742f333442",
"b61152a0167f4e81a311b185",
"357286203b3597c8c279ebd6",
"735e63f0dbc32297ec165c42"
],
"read": [
"280afd1ffb9f2f2d59095259",
"cf29bbfa77fd7dd9588dab36",
"873dc1e57b6f3427de18dcf9",
"1ada3bfcd41dae7466d4c598",
"1a0128f6f15a43f3ea7fe924"
]
},
"componentId": "2788a6f8001f229965c4d7cf"
}
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": "workflows",
"createdBy": "Pronghorn",
"created": "1949-11-11T07:36:45.991Z",
"lastUpdatedBy": "b944485d01354cc77b752cbf",
"lastUpdated": "2017-04-01T01:33:47.714Z",
"_id": "f2e8dee507cac2b448106e34",
"gbac": {
"write": [
"1a2c745e71d904975ec77100",
"7abe3bbc0727a699e7e0d005",
"46edb55dddd58e5db458f866",
"c5f240f1cfe43956a07f0f78"
],
"read": [
"9dc0b67b3ba1754846f0f7dc"
]
},
"componentId": "4fA2CE52-Ef25-4a9D-d135-Aa1A7AFe7Fb3"
}
}