1. Data integration
  2. Anaplan API
  3. Integration API v2.0
  4. Use the bulk APIs
  5. Perform an export action
  6. Get the list of export actions

This call returns the list of the export definitions in the model, which allows you to pick a file ID for use in subsequent calls. 

Method and endpoint

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

GET

Parameters

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

Curl example

curl -X GET \
https://api.anaplan.com/2/0/workspaces/0a800b00e0000000f000001eab0d0000/models/F1111111C11111111B11111F1111E11F/exports \
-H 'Authorization: AnaplanAuthToken {token}'

Response

{

   "meta":{

      "paging":{

         "currentPageSize":4,

         "offset":0,

         "totalSize":4

      },

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

   },

   "status":{

      "code":200,

      "message":"Success"

   },

   "exports":[

      {

         "id":"116000000000",

         "name":"General Expenses - Rent.xls",

         "exportType":"GRID_CURRENT_PAGE",

         "exportFormat":"application/vnd.ms-excel",

         "layout":"GRID_CURRENT_PAGE"

      },

      {

         "id":"116000000001",

         "name":"Grid - Line Items.xls",

         "exportType":"GRID_CURRENT_PAGE",

         "exportFormat":"application/vnd.ms-excel",

         "layout":"GRID_CURRENT_PAGE"

      },

      {

         "id":"116000000002",

         "name":"Grid - Health Plan.csv",

         "exportType":"GRID_CURRENT_PAGE",

         "exportFormat":"text/csv",

         "encoding":"UTF-8",

         "layout":"GRID_CURRENT_PAGE"

      },

      {

         "id":"116000000003",

         "name":"Executive Summary - Data.csv",

         "exportType":"GRID_CURRENT_PAGE",

         "exportFormat":"text/csv",

         "encoding":"UTF-8",

         "layout":"GRID_CURRENT_PAGE"

      }

   ]

}

Disclaimer

We may update our documentation occasionally, but will only do so in a way that does not negatively affect the features and functionality of the Anaplan service.