Use this to get the export definitions for a specified model ID.

GET

/workspaces/{workspaceId}/models/{modelId}/exports

ParameterDescription
workspaceId
  • Required
  • Type: string
  • Description: The workspace ID
  • Example: 8a8b8c8d8e8f8g8i
modelId
  • Required
  • Type: string
  • Description: The model ID
  • Example: 75A40874E6B64FA3AE0743278996850F

curl -X GET \
https://api.anaplan.com/2/0/workspaces/{workspaceId}/models/{modelId}/exports \
 -H 'authorization: AnaplanAuthToken {anaplan_auth_token}' \
 -H 'Content-Type:application/json'

{
   "meta":{
      "paging":{
         "currentPageSize":2,
         "offset":0,
         "totalSize":2
      },
      "schema":"https://api.anaplan.com//2/0/models/75A40874E6B64FA3AE0743278996850F/objects/export"
   },
   "status":{
      "code":200,
      "message":"Success"
   },
   "exports":[
      {
         "id":"116000000000",
         "name":"Deployed quota - Deployed quota.txt",
         "exportType":"TABULAR_MULTI_COLUMN"
      },
      {
         "id":"116000000001",
         "name":"ExportGrid - ORG2Test.xls",
         "exportType":"GRID_CURRENT_PAGE"
      }
   ]
}