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": [
"31c9a2fa89d32b4482739519",
"9252e8504758ce9c88f31ae0",
"6dcee41e6133be207d18775d",
"2a16857e2304d9a173b87dda",
"bf13fa2d73e53e27fab4303c"
],
"read": [
"06082f3c97e2844a55602722"
]
},
"componentId": "5d8F6cf6-E990-a21A-5C84-a71FD2A62dD0"
}
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": "2015-04-10T02:39:44.895Z",
"lastUpdatedBy": "21e8528549a158e35ec4956b",
"lastUpdated": "1948-10-27T15:04:50.809Z",
"_id": "f1430eeb348556d9b8a623ad",
"gbac": {
"write": [
"2bed759cfdce04f84c9473c0",
"9c209a418ba3fe7c22d1c51f"
],
"read": [
"b3d0175ad326911cda2aaacc",
"e00bd6988559ab96b5a53159"
]
},
"componentId": ""
}
}