1. Data integration
  2. Anaplan API Guide and Reference
  3. Use the bulk APIs
  4. Perform an export action
  5. Retrieve the export file chunks

Use this call to download the exported file in chunks.  Repeat this call for each chunk listed from the retrieve the list of export file chunks step.  

Method and endpoint

https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/files/{fileID}/chunks/{chunkID}

GET

Parameters

ParameterDescription
AnaplanAuthToken:{token}Your Anaplan authentication token value.
workspaceIDThe workspace ID
modelIDThe model ID
fileIDThe export file ID.  This value is the same as the Export Action ID in the results.
chunkIDThe number of each chunk, starting with 0 for the first chunk.

Curl example

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

Response

... Week 31 FY15 Smith, Bob 248641 0 0 Week 31 FY15 Jones, Bob 248247 0 0 Week 31 FY15 Albert, Bob 247118 0 0