1. Data integration
  2. Anaplan API Guide and Reference
  3. Use the bulk APIs
  4. Perform an export action
  5. Get the definition for a specific export action

This call provides the metadata for an export that you can use to compare at the end of an Export action.

Method and endpoint

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

GET

Parameters

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

Curl example

curl -X GET \ https://api.anaplan.com/2/0/workspaces/0a800b00e0000000f000001eab0d0000/models/F1111111C11111111B11111F1111E11F/exports/116000000001 \
-H 'authorization: AnaplanAuthToken {token}' \
-H "Content-Type:application/json"

Response

{

   "meta":{

      "schema":"https://api-stg.anaplan.com/2/0/models/F1111111C11111111B11111F1111E11F/objects/exportMetadata"

   },

   "status":{

      "code":200,

      "message":"Success"

   },

   "exportMetadata":{

      "columnCount":16,

      "dataTypes":[

         "ENTITY",

         "MIXED",

         "MIXED",

         "MIXED",

         "MIXED"

      ],

      "delimiter":"\"",

      "encoding":"UTF-8",

      "exportFormat":"text/csv",

      "headerNames":[

         "ListWithSemiColonAsSeparator",

         "Parent",

         "Code",

         "DepProjects",

         "col1",

         "col2",

         "col3",

         "col4",

         "data",

         "delete"

      ],

      "listNames":[

         "",

         "",

         "",

         ""

      ],

      "rowCount":20432,

      "separator":","

   }

}