This call returns the task ID associated with the specified process ID.  You can use that process ID to monitor the progress of the task. The execution of a process, like any other action (such as an import, export, or delete) is a task you POST on to the server.

POST

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

ParameterDescription
AnaplanAuthToken:{token}Your Anaplan authentication token value.
Content-Type:application/jsonSets the content type to JSON.
workspaceIDThe workspace ID
modelIDThe model ID
processIDThe process ID
-d '{"localeName": "en_US"}'Seta the locale to US English.

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

{

   "meta":{

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

   },

   "status":{

      "code":200,

      "message":"Success"

   },

   "task":{

      "taskId":"E36791D709C44246878B708B4C76A1F9",

      "taskState":"NOT_STARTED",

      "creationTime":1570823579809

   }

}