1. Data integration
  2. Anaplan API
  3. Integration API v2.0
  4. Use the bulk APIs
  5. Perform an export action
  6. Run the export action

Use this POST call to run the export action in Anaplan.

Method and endpoint

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

POST

Parameters

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

Curl example

curl -X POST \ https://api.anaplan.com/2/0/workspaces/0a800b00e0000000f000001eab0d0000/models/F1111111C11111111B11111F1111E11F/exports/116000000005/tasks \ -H 'authorization: AnaplanAuthToken {token}' \ -H "Content-Type:application/json" \ -d '{"localeName": "en_US"}'

Response

{

   "meta":{

      "schema":"https://api.anaplan.com//2/0/models/F1111111C11111111B11111F1111E11F/objects/task"

   },

   "status":{

      "code":200,

      "message":"Success"

   },

   "task":{

      "taskId":"F362B99442C54425970E200037D48A91"

   }

}

Disclaimer

We may update our documentation occasionally, but will only do so in a way that does not negatively affect the features and functionality of the Anaplan service.