{
"title": "automation",
"properties": {
"id": {
"description": "The id of the Automation to be cloned.",
"$ref": "common#/definitions/ObjectIdLikeString"
},
"name": {
"description": "An optional name to use for the clone.",
"oneOf": [
{
"type": "null"
},
{
"$ref": "common#/definitions/name"
}
]
}
}
}
Return
DetailsExampleSchema
Name
Type
Description
result
object
The result of the clone operation.
Copied to Clipboard
{
"message": "Successfully imported 3 of 4 documents",
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"componentType": null,
"createdBy": "sed consequat esse",
"created": "1950-01-03T15:03:59.968Z",
"lastUpdatedBy": null,
"lastUpdated": "1951-01-30T07:15:21.015Z",
"_id": "4417e87a7b1ebb12d20a1508",
"gbac": {
"write": [
"7728726f523da24da6877994",
"ef2d9365ccd16f48dd74135d",
"50427bd709fc790c77a52000",
"ab1505c84ef2e63461144589"
],
"read": [
"44e075a1989290b5279a8660",
"24cc0f2a6c2f4c1a61beb7f0",
"794530eb939b6efdb816732d",
"7fe73e553021bab0883765bf",
"a5c07b076d46cd3d4bd8a365"
]
},
"componentId": null,
"componentName": "ad Lorem"
},
"metadata": {
"automaticChanges": [
"deserunt irure Lorem pariatur",
"minim",
"dolor Lorem",
"reprehenderit Ut sint dolor",
"irure nisi tempor quis ad"
],
"triggerCloneResults": {
"message": "officia eu sint do qui",
"data": [
{
"success": true,
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"type": "manual",
"enabled": true,
"actionType": "automations",
"actionId": "7ebdf35d957a8e448f381ddd",
"lastExecuted": 91113586,
"createdBy": null,
"created": "2018-03-31T03:10:30.162Z",
"lastUpdatedBy": "non ipsum laboris ex et",
"lastUpdated": "2022-11-05T01:31:54.991Z",
"formData": {
"deviceName": "ATL-123",
"action": "SYNC"
},
"_id": "fe15ab18281615d22fc553cc",
"formId": "924aa4c67170214e8dcf0b33",
"migrationVersion": 32611581,
"formSchemaHash": null
},
"automaticChanges": [
"officia do amet",
"Duis fugiat",
"tempor proident eiusmod anim est",
"exercitation elit consequat"
]
},
{
"success": false,
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"type": "endpoint",
"enabled": false,
"actionType": "automations",
"actionId": "a0e3ac2d2b3951e826e490cb",
"lastExecuted": null,
"createdBy": "sint",
"created": "2008-09-18T06:41:16.692Z",
"lastUpdatedBy": "velit ex Duis nisi",
"lastUpdated": "1965-04-03T21:45:51.674Z",
"verb": "POST",
"routeName": "0",
"schema": null,
"_id": "e9fba229f2a29c9c9d15f97f",
"jst": "7b83375dc874b2128bc7b0f7",
"migrationVersion": 42876357
},
"automaticChanges": [
"cupidatat velit sed in",
"deserunt"
]
},
{
"success": true,
"data": {
"name": "myCoolDocumentName",
"description": "Some helpful information about the document",
"type": "eventSystem",
"enabled": true,
"actionType": "automations",
"actionId": "d684553e83170f050981c091",
"lastExecuted": null,
"createdBy": "non cillum ut Lorem",
"created": "1982-09-11T16:53:04.973Z",
"lastUpdatedBy": "ut fugiat sed ea",
"lastUpdated": "2000-11-27T15:29:58.871Z",
"source": "quis eiusmod ipsum occaecat",
"topic": "sint do aliquip laborum ut",
"_id": "cca1380231824bdb5d7bf6ac",
"jst": "79b61d280e3c7ecd89ea9dcc",
"migrationVersion": -4680001
},
"automaticChanges": [
"minim deserunt"
]
}
]
}
}
}