NA
Note: You can cancel an ongoing monitoring task if you make the same call using the DELETE verb instead of the GET one.
Method and endpoint
/workspaces/{workspaceId}/models/{modelId}/processes/{processId}/tasks
Parameters
| Parameter | Description |
| workspaceId |
|
| modelId |
|
| processId |
|
Curl example
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"}'
Response
Response 200 (application/json)
{
"taskId" : "E1F648F527AF4297B09E06C278B99F4C"
}
Get the list of tasks for the process
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.
Request
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'
Headers
- 'Authorization:AnaplanAuthToken {anaplan_auth_token}'
- 'Content-Type:application/json'
Response 200 (application/json)
{
"taskId":"BAB7819744034F25BF73EA1B41804478",
"taskState":"IN_PROGRESS",
"creationTime":1535145539157
}