Summary
          Import automation documents
          Description
          Insert automation documents into the automation collection from a user supplied JSON document.
          Route
          POST /automation_catalog/automations/import
          Roles
          
            admin
other
apiread
          
          Parameters
          
            DetailsExampleSchema
          
          
            
              
                | Name | 
                Type | 
                Required | 
                Description | 
              
            
            
              
    | automations | 
    array | 
    yes | 
    Array of automations | 
  
    | options | 
    object | 
    yes | 
    optional parameters | 
  
            
          
          
            Copied to Clipboard
            
            {
  "automations": [
    {
      "name": "test",
      "data": {
        "gbac": {
          "write": [
            {
              "provenance": "Local AAA",
              "name": "my admin group",
              "description": "My short description"
            },
            {
              "provenance": "Local AAA",
              "name": "my admin group",
              "description": "My short description"
            },
            {
              "provenance": "Local AAA",
              "name": "my admin group",
              "description": "My short description"
            },
            {
              "provenance": "Local AAA",
              "name": "my admin group",
              "description": "My short description"
            }
          ],
          "read": [
            {
              "name": "Itential Artifact",
              "provenance": "Pronghorn",
              "description": "My short description"
            }
          ]
        },
        "lastUpdated": "2019-11-25T22:51:39.201Z",
        "description": "aliquip sint elit",
        "workflowId": "8e3695fe-c5bf-4286-ae83-186b3fea1c1a",
        "formId": "f0e1ff173473aca003bc9b16"
      },
      "_id": "b96f5bb0dc04947a154eb0a8",
      "lastModifiedBy": "aliquip dolor elit irure",
      "lastRunAt": "2019-11-25T22:51:39.201Z",
      "nextRunAt": "2019-11-25T22:51:39.201Z",
      "repeatInterval": "1 hour"
    },
    {
      "name": "test",
      "data": {
        "gbac": {
          "write": [
            {
              "provenance": "Local AAA",
              "name": "my admin group",
              "description": "My short description"
            }
          ],
          "read": [
            {
              "name": "Itential Artifact",
              "provenance": "Pronghorn",
              "description": "My short description"
            }
          ]
        },
        "lastUpdated": "2019-11-25T22:51:39.201Z",
        "description": "sit sint",
        "workflowId": "8e3695fe-c5bf-4286-ae83-186b3fea1c1a",
        "formId": "294f5730dea9369763ae4c43"
      },
      "_id": "eeac683cead6e82d98158b81",
      "lastModifiedBy": "ex ut nostrud aliqua",
      "lastRunAt": "2019-11-25T22:51:39.201Z",
      "nextRunAt": "2019-11-25T22:51:39.201Z",
      "repeatInterval": "1 day"
    }
  ],
  "options": {}
}
           
          
            Copied to Clipboard
            
            {
  "type": "object",
  "properties": {
    "automations": {
      "title": "automations",
      "type": "array",
      "items": {
        "$ref": "exportedAutomation"
      }
    },
    "options": {
      "title": "options",
      "type": "object",
      "properties": {
        "adapterMap": {
          "type": "object"
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "automations",
    "options"
  ],
  "additionalProperties": false
}
           
          Return
          
            DetailsExampleSchema
          
          
            
              
                | Name | 
                Type | 
                Description | 
              
            
            
              
                | status | 
                object | 
                Status of automation import operation | 
              
            
          
          
            Copied to Clipboard
            
            {
  "status": "success",
  "message": "qui ullamco adipisicing"
}
           
          
            Copied to Clipboard
            
            {
  "title": "status",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "const": "success"
    },
    "message": {
      "type": "string",
      "example": "2 automations imported successfully"
    }
  }
}