Method and endpoint
https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/imports
Parameters
Parameter | Description |
AnaplanAuthToken:{token} | Your Anaplan authentication token value. |
workspaceID | The workspace ID. |
modelID | The model ID. |
Curl example
curl -X GET https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/imports \
-H 'Authorization: AnaplanAuthToken {token}' \
-H "Content-Type:application/json"
Response
{
"meta":{
"paging":{
"currentPageSize":20,
"offset":0,
"totalSize":20
},
"schema":"https://api.anaplan.com/2/0/models/F1111111C11111111B11111F1111E11F/objects/import"
},
"status":{
"code":200,
"message":"Success"
},
"imports":[
{
"id":"112000000000",
"name":"Organization from Organization.txt",
"importDataSourceId":"113000000000",
"importType":"HIERARCHY_DATA"
},
{
"id":"112000000001",
"name":"Sales Roll Up from Sales Roll Up.txt",
"importDataSourceId":"113000000001",
"importType":"HIERARCHY_DATA"
},
{
"id":"112000000003",
"name":"Products from Products.txt",
"importDataSourceId":"113000000003",
"importType":"HIERARCHY_DATA"
}
]
}