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/
Parameters
Parameter | Description |
AnaplanAuthToken:{token} | Your Anaplan authentication token value. |
workspaceID | The workspace ID. |
modelID | The 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"
}
]
}