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": "workflows",
"gbac": {
"write": [
"9d26acb81e84d8cbfe693f6a"
],
"read": [
"7608882c9d5d11b68f114402",
"505520a4ae46960b4d2dd729",
"07c2dee1c56fd5e3d22fc6cd",
"524b362032edd2fa42652e66",
"555dbd72a2b911012f642ffa"
]
},
"componentId": ""
}
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": "workflows",
"createdBy": "4539d77e7f99f9744e3e4292",
"created": "2019-08-18T16:18:18.793Z",
"lastUpdatedBy": "f8710dbdb2b1fff3098a919f",
"lastUpdated": "1958-09-10T00:44:11.596Z",
"_id": "c916939386d16a90b57e709a",
"gbac": {
"write": [
"f568875eb8306fc5a3020426",
"193a2eb12f5ddbfed1dfe91f"
],
"read": [
"e2e036ea3f1f58791eef3942",
"33aef84b9b6bcaca4568427e"
]
},
"componentId": "7AA9DcEa-A69C-8EF6-d57a-083aFacd87f3"
}
}