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": [
"f8c54ba12ee7cda6a97f17ad"
],
"read": [
"0c167347b0c38910f7882074",
"a9cf4d344d009ee262768d28",
"7bd88cbc1276ba52763ceaff",
"54410ac29064e824f6e4b511",
"58b31c5c19d6ee81ce704601"
]
},
"componentId": "EbadEBaA-9a6f-e5eb-9BC9-67Beee4B457e"
}
Return
DetailsExampleSchema
Name |
Type |
Description |
results |
object |
The result of the create operation. |
Copied to Clipboard
{
"message": "Successfully retrieved search results",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": "workflows",
"createdBy": "8ec700ffad3c2c8713be8224",
"created": "1954-01-16T16:54:18.38Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1991-11-13T12:03:01.595Z",
"_id": "045de12d887042009f523175",
"gbac": {
"write": [
"f453ecdf30dc04b990f7b5ce",
"8d10e4ab87fdaea70b6f5846",
"feff861d651cf56c7cc6bb7a",
"77134813a08f232a0cd65770",
"1ff0ae9ddea87dbeec87edbc"
],
"read": [
"b5dd33290291ebef5360fe1a",
"f248ecab3828583990cbb95b",
"6ada88658e50e19a6abc1b6c",
"9adccad84b9c62aeea1b1690",
"9c9f299ecddc7aef00d756fd"
]
},
"componentId": ""
}
}