Use this to get a list of import tasks.
This helps an integration review recent or active executions and identify the task that should be monitored.
Method and endpoint
/workspaces/{workspaceId}/models/{modelId}/imports/{importId}/tasks
Parameters
| Parameter | Description |
workspaceId |
|
modelId |
|
importId |
|
Curl example
curl -X GET \
https://api.anaplan.com/2/0/workspaces/{workspaceId}/models/{modelId}/imports/{importId}/tasks \
-H 'authorization: AnaplanAuthToken {anaplan_auth_token}' \
-H 'Content-Type:application/json'
Response
Response 200 (application/json)
The IDs are sorted in ascending order of creation, identified by the creationTime value.
{
"meta": {
"schema": "https://api.anaplan.com/2/0/models/F1111111C11111111B11111F1111E11F/objects/task"
},
"status": {
"code": 200,
"message": "Success"
},
"task": {
"taskId": "9530E1C5CAEB440DAC4E669178787160",
"taskState": "COMPLETE",
"creationTime": 1535145471641
}
}