NA

Note: You can cancel an ongoing monitoring task if you make the same call using the DELETE verb instead of the GET one.

POST

/workspaces/{workspaceId}/models/{modelId}/processes/{processId}/tasks

ParameterDescription
workspaceId
  • Required
  • Type: string
  • Description: The workspace ID
  • Example: 8a8b8c8d8e8f8g8i
modelId
  • Required
  • Type: string
  • Description: The model ID
  • Example: 75A40874E6B64FA3AE0743278996850F
processId
  • Required
  • Type: number
  • Description: The process ID
  • Example: 118000000002

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

{
  "taskId" : "E1F648F527AF4297B09E06C278B99F4C"
}

This lists the tasks in the process for the given processID. This returns a JSON array containing the list of tasks in the process definition.

curl -X GET \
https://api.anaplan.com/2/0/workspaces/{workspaceId}/models/{modelId}/processes/{processId}/tasks \
-H 'authorization: AnaplanAuthToken {anaplan_auth_token}' \
-H 'Content-Type:application/json'

  • 'Authorization:AnaplanAuthToken {anaplan_auth_token}'
  • 'Content-Type:application/json'

{
   "taskId":"BAB7819744034F25BF73EA1B41804478",
   "taskState":"IN_PROGRESS",
   "creationTime":1535145539157
}