このコールはインポート アクションのステータスを返します。
タスクのステータスは以下のいずれかです。
| State (状態) | 説明 | 
| NOT_STARTED | 予定されているが開始されていない。 | 
| IN_PROGRESS | 現在実行中。 | 
| COMPLETE | 正常に終了、または失敗により終了。 | 
| CANCELLING | 取り消し実行中。 | 
| CANCELLED | 取り消しを完了してすべての変更をロールバック。 | 
ステータスが COMPLETE か CANCELLED のいずれかを返すまでこの API コールでポーリングを続けてください。
メソッドとエンドポイント
https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/imports/{importID}/tasks/{taskID
パラメーター
| パラメーター | 説明 | 
| AnaplanAuthToken:{token} | Anaplan の認証トークンの値 | 
| workspaceID | ワークスペース ID | 
| modelID | モデル ID | 
| importID | インポート ID | 
| taskID | 前のステップで取得したタスク ID | 
Curl のサンプル
curl -X GET \ https://api.anaplan.com/2/0/workspaces/0a800b00e0000000f000001eab0d0000/models/F1111111C11111111B11111F1111E11F/imports/112000000007/tasks/1B1D84DDD53847BAA621810B593C3FC1 \
-H 'authorization:AnaplanAuthToken:{token}' \
-H "Content-Type:application/json"
レスポンス
{
   "meta":{
      "schema":"https://api.anaplan.com/2/0/models/F1111111C11111111B11111F1111E11F/objects/task"
   },
   "status":{
      "code":200,
      "message":"Success"
   },
   "task":{
      "taskId":"1B1D84DDD53847BAA621810B593C3FC1",
      "currentStep":"Complete.",
      "progress":1.0,
      "result":{
         "details":[
            {
               "localMessageText":"Employees:90 (0/90) rows successful, 5 ignored ",
               "occurrences":0,
               "type":"hierarchyRowsProcessed",
               "values":[
                  "hierarchyName",
                  "Employees",
                  "successRowCount",
                  "90",
                  "successCreateCount",
                  "0",
                  "successUpdateCount",
                  "90",
                  "warningsRowCount",
                  "0",
                  "warningsCreateCount",
                  "0",
                  "warningsUpdateCount",
                  "0",
                  "failedCount",
                  "0",
                  "ignoredCount",
                  "5",
                  "totalRowCount",
                  "95",
                  "totalCreateCount",
                  "0",
                  "totalUpdateCount",
                  "90",
                  "invalidCount",
                  "0",
                  "updatedCount",
                  "90",
                  "renamedCount",
                  "90",
                  "createdCount",
                  "0"
               ]
            }
         ],
         "failureDumpAvailable":false,
         "objectId":"112000000009",
         "successful":true
      },
      "taskState":"COMPLETE",
      "creationTime":1571258347545
   }
}