このコールはモデル内のエクスポート定義のリストを返します。このリストから以降のコールで使用するファイル ID を選択することができます。 

GET

https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/exports/

パラメーター説明
AnaplanAuthToken:{token}Anaplan の認証トークンの値
workspaceIDワークスペース ID
modelIDモデル ID

curl -X GET \
https://api.anaplan.com/2/0/workspaces/0a800b00e0000000f000001eab0d0000/models/F1111111C11111111B11111F1111E11F/exports \
-H 'Authorization:AnaplanAuthToken {token}'

{

   "meta":{

      "paging":{

         "currentPageSize":4,

         "offset":0,

         "totalSize":4

      },

      "schema":"https://api.anaplan.com/2/0/models/F1111111C11111111B11111F1111E11F/objects/export"

   },

   "status":{

      "code":200,

      "message":"Success"

   },

   "exports":[

      {

         "id":"116000000000",

         "name":"General Expenses - Rent.xls",

         "exportType":"GRID_CURRENT_PAGE",

         "exportFormat":"application/vnd.ms-excel",

         "layout":"GRID_CURRENT_PAGE"

      },

      {

         "id":"116000000001",

         "name":"Grid - Line Items.xls",

         "exportType":"GRID_CURRENT_PAGE",

         "exportFormat":"application/vnd.ms-excel",

         "layout":"GRID_CURRENT_PAGE"

      },

      {

         "id":"116000000002",

         "name":"Grid - Health Plan.csv",

         "exportType":"GRID_CURRENT_PAGE",

         "exportFormat":"text/csv",

         "encoding":"UTF-8",

         "layout":"GRID_CURRENT_PAGE"

      },

      {

         "id":"116000000003",

         "name":"Executive Summary - Data.csv",

         "exportType":"GRID_CURRENT_PAGE",

         "exportFormat":"text/csv",

         "encoding":"UTF-8",

         "layout":"GRID_CURRENT_PAGE"

      }

   ]

}