## Overview

Imports a Process Definition from a .bpm file

## Summary

This endpoint will import a Process Definition from the uploaded .bpm file containing JSON encoded data.

## Request Arguments

Name | Type | Description | Required
--- | --- | --- | ---
selectedIds | array | A list of IDs for dependent elements to import. | False

### Request

Note: A JSON encoded .bpm file attachment should be included with the request as part of the form-data. An optional array of IDs can be included to indicate which dependent Business Rules and Email Templates to import and link with the Process Definition. The file must contain the metadata for the dependent elements as well for the selectedIds to be used. Important: The request format must be multipart/form-data.

## Response Arguments

Name | Type | Description
--- | --- | ---
project_import | Object | Result of the import operation

### Response

    {
        "project_import":
        {
            "success":true,
            "id":"459f05de-3c3a-c0e7-ce1e-573cabe79e7c",
            "br_warning":true,
            "et_warning":true
        }
    }

## Compatibility

SugarBPMTM files exported from Sugar version 7.6.1.0 or earlier cannot be imported to Sugar instances running 7.6.2.0 or later.

## Change Log

Version | Change
--- | ---
v11_2 | Added support for `selectedIds` to specify which dependent elements to import.
v10 | Added `/pmse_Project/file/project_import` POST endpoint.