チャンクごとにこの呼び出しを実行して順番にダウンロードします。 すべてのチャンクをダウンロードしたら、ホストで連結します。以下のリクエストではチャンク 0 をダウンロードします。
メソッドとエンドポイント
https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/processes/{processesID}/tasks/{taskid}/dumps/{objectID}/chunks/{chunk}
パラメーター
パラメーター | 説明 |
AnaplanAuthToken:{token} | Anaplan の認証トークンの値 |
workspaceID | ワークスペース ID |
modelID | モデル ID |
processID | プロセス ID |
taskID | プロセス タスクの ID |
objectID | プロセス タスクのステータス コールからのダンプ オブジェクト ID |
chunk | チャンク数。最初のチャンクには 0 を使用。チャンク数に応じて番号が増加 |
Curl のサンプル
curl -X GET \ https://api.anaplan.com/2/0/workspaces/0a800b00e0000000f000001eab0d0000/models/F1111111C11111111B11111F1111E11F/processes/118000000001/tasks/B7EA9FEC0FF2488B9A9E6040B6B26753/dumps/117000000015/chunks/0 \ -H 'authorization:AnaplanAuthToken {anaplan_auth_token}' \ -H "Content-Type:application/json"
レスポンス
"_Status_","Column 1","Parent","Code","Start Date","Leave Date","Column 6","Column 7","Start Datesss","Column 9","Column 10","Column 11","_Line_","_Error_1_" "W","Max Warren",",,","","4/16/12","","","","4/16/12","","","","151","Invalid parent" "W","Carolyn Tabor","Supply Chain","",",,,","6/30/09","","","6/30/06","","","","153","Invalid date: ,,," "E","","Parent","Code","Start Date","Leave Date","","","Start Datesss","","","","11522","Invalid name:Code" "E","","Parent","Code","Start Date","Leave Date","","","Start Datesss","","","","23043","Invalid name:Code"