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": [
"1b8109aed55acb027d5a481a",
"d484e96ee10bc8ca13b25f36",
"654367a6703275496f862665",
"5d5827cb1d7f331cc7b56507"
],
"read": [
"e3698e4d85870e4502c1d62c",
"c8199f9c93b40e071c54671d",
"1a688c23a5534de4b7917676",
"4418b8f7444160d7667b239b"
]
},
"componentId": null
}
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": "ucm_compliance_plans",
"createdBy": "Pronghorn",
"created": "1994-09-03T15:35:36.788Z",
"lastUpdatedBy": "Pronghorn",
"lastUpdated": "1994-03-26T08:59:10.183Z",
"_id": "db089823ee2129d9fa1402e8",
"gbac": {
"write": [
"38e928b1596d9d3f1025a68d",
"f67136ae06522df1a7359608",
"b89db7a7998f31ccd67689f9",
"21bfb287674c512c19e3aa3f"
],
"read": [
"952442f942fb3c94a94650e9",
"912fc73775647cf12a46256f"
]
},
"componentId": ""
}
}