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": [
"b67905263345d23a20d7b6b1",
"0793f100c0232b5b7a47534b",
"3899ae3e47c4d3d9989434b7"
],
"read": [
"4a69ff7bd4eef798a09af0be",
"48e788a1984047e257bf8f2b",
"3574236a6663a376703311c7"
]
},
"componentId": "5ea3e3c82507aa6baeaf8d53"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
results |
object |
The result of the create operation. |
Copied to Clipboard
{
"message": "Successfully created the requested item",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": null,
"createdBy": "Pronghorn",
"created": "1960-07-27T01:51:31.229Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "2017-01-20T19:55:43.792Z",
"_id": "1fb1e50bd698120b94f72409",
"gbac": {
"write": [
"ff4f86b758acdfa3d85ab002",
"d3ca435f73d13c3ff90e5a60",
"4a309e138dedc233b455f31d"
],
"read": [
"9096276fd4c84001b930632a",
"7eb7d4351cf69d3ada295b3d"
]
},
"componentId": ""
}
}