Load your import file chunks on to the server in sequential order, starting with chunk 0.

For example:

Chunk 1 - PUT /chunks/0

Chunk 2 - PUT /chunks/1

Chunk 3 - PUT /chunks/2

Iterate until you have uploaded all chunk files.



AnaplanAuthToken:{token}Your Anaplan authentication token value.
workspaceIDThe workspace ID
modelIDThe model ID
fileIDThe file ID
chunkIDThe file chunk ID.  The first chunk is 0.
content lengthThe size of the file chunk, in bytes.
Content typeSet to Content-Type:application/octet-stream
chunk fileThe name of the chunk file (for example, chunk-aa)

In this sequence of PUT requests, each chunk file name is assigned a different chunk id.

curl -X PUT \
https://api.anaplan.com/2/0/workspaces/0a800b00e0000000f000001eab0d0000/models/F1111111C11111111B11111F1111E11F/files/113000000020/chunks/0 \
-H 'Authorization: AnaplanAuthToken {token}' \
-H 'Content-Type: application/octet-stream' \
--upload-file {chunk file}

This call generates a 204 response.  In a terminal, no response displays.