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