This call returns a list of import actions and their properties, such as the import ID. 

Before you can execute a specific import action, you need to know the ID of that particular import action.

Note that the import action must exist in Anaplan in order to have an ID.

GET

https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/imports

ParameterDescription
AnaplanAuthToken:{token}Your Anaplan authentication token value.
workspaceIDThe workspace ID.
modelIDThe model ID.

curl -X GET https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/imports \
-H 'Authorization: AnaplanAuthToken {token}' \
-H "Content-Type:application/json"

{

   "meta":{

      "paging":{

         "currentPageSize":20,

         "offset":0,

         "totalSize":20

      },

      "schema":"https://api.anaplan.com/2/0/models/F1111111C11111111B11111F1111E11F/objects/import"

   },

   "status":{

      "code":200,

      "message":"Success"

   },

   "imports":[

      {

         "id":"112000000000",

         "name":"Organization from Organization.txt",

         "importDataSourceId":"113000000000",

         "importType":"HIERARCHY_DATA"

      },

      {

         "id":"112000000001",

         "name":"Sales Roll Up from Sales Roll Up.txt",

         "importDataSourceId":"113000000001",

         "importType":"HIERARCHY_DATA"

      },

      {

         "id":"112000000003",

         "name":"Products from Products.txt",

         "importDataSourceId":"113000000003",

         "importType":"HIERARCHY_DATA"

      }

   ]

}