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": null,
"gbac": {
"write": [
"2bf5d924a5c2ba1e17a66ceb",
"f1f835499102a5157ddb87ec",
"2dae8d51a3aa1feac273a79d"
],
"read": [
"17a458986a3e01c33fff0fc1",
"f2531e34480313e783176feb",
"d7954d777c07f5dd52105619",
"f658dbaeaf991369583627bf"
]
},
"componentId": "5381371eb9d90b2c0e51cfc0"
}
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": "1951-11-13T09:44:30.441Z",
"lastUpdatedBy": "7a0a73501b409eecc14cdc6f",
"lastUpdated": "1975-02-05T08:13:45.512Z",
"_id": "b4598377317ec04e8534bc41",
"gbac": {
"write": [
"42465b930e1e76093c13223b",
"3552842f1f28640d6c02a369"
],
"read": [
"13bbf75c9c0025d499e6d55a",
"8045f3afd7400f1088d079e0",
"904d1d6653b70d862275b966",
"0419f33a19f2eb4b6408e032"
]
},
"componentId": "56B793D2-dBda-f4F3-FD0c-d0Cfa600DDaf"
}
}