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": [
"ec579a3a6fd10f2a10d16c12",
"f20facc5678f0a12accc1b2f",
"bd997f9c055e4de901fc5f69",
"381abe7b0245e2f26c25b5dc",
"10695b41a0d915d6c67e0231"
],
"read": [
"42f04cd78abc4df43ac2b810",
"4edd0a8fa4dfe24444e11b3c",
"eddec3fb999c3e4444c72c6c",
"a059f5e725805b0c725de780"
]
},
"componentId": "0625b8238343a1a2d5e95da0"
}
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": "workflows",
"createdBy": "Pronghorn",
"created": "2019-03-07T17:43:25.152Z",
"lastUpdatedBy": "eccf381263c7ac6305123901",
"lastUpdated": "1987-05-10T18:20:56.586Z",
"_id": "0d97043f177b72a81c612e49",
"gbac": {
"write": [
"5b64ec69190b83977b43260a",
"1abe7d5fd2bad8c6b8924569",
"56830bc72f672a44f6391e3d",
"37e0eab75d6b58c0972bcc48"
],
"read": [
"859778fea109e7713fcff526",
"12eb67a5664a540c3f007ab5",
"5be03dadcd5d4a689da5e00d",
"491fdfc183852be8aa59ca14"
]
},
"componentId": ""
}
}