このコールを使って、エクスポート アクションの終了時に比較に使用できるエクスポート用メタデータを取得できます。

GET

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

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

curl -X GET \ https://api.anaplan.com/2/0/workspaces/0a800b00e0000000f000001eab0d0000/models/F1111111C11111111B11111F1111E11F/exports/116000000001 \
-H 'authorization:AnaplanAuthToken {token}' \
-H "Content-Type:application/json"

{

   "meta":{

      "schema":"https://api-stg.anaplan.com/2/0/models/F1111111C11111111B11111F1111E11F/objects/exportMetadata"

   },

   "status":{

      "code":200,

      "message":"Success"

   },

   "exportMetadata":{

      "columnCount":16,

      "dataTypes":[

         "ENTITY",

         "MIXED",

         "MIXED",

         "MIXED",

         "MIXED"

      ],

      "delimiter":"\"",

      "encoding":"UTF-8",

      "exportFormat":"text/csv",

      "headerNames":[

         "ListWithSemiColonAsSeparator",

         "Parent",

         "Code",

         "DepProjects",

         "col1",

         "col2",

         "col3",

         "col4",

         "data",

         "delete"

      ],

      "listNames":[

         "",

         "",

         "",

         ""

      ],

      "rowCount":20432,

      "separator":","

   }

}