Use this to get import IDs.
This helps an integration identify the correct saved import action before attempting to run it.
Method and endpoint
/workspaces/{workspaceId}/models/{modelId}/imports
Parameters
| Parameter | Description |
workspaceId |
|
modelId |
|
Curl example
curl -X GET \
https://api.anaplan.com/2/0/workspaces/{workspaceId}/models/{modelId}/imports \
-H 'authorization: AnaplanAuthToken {anaplan_auth_token}' \
-H 'Content-Type:application/json'
Response
Response 200 (application/json)
{
"meta": {
"paging": {
"currentPageSize": 8,
"offset": 0,
"totalSize": 8
},
"schema": "https://api.anaplan.com//2/0/models/75A40874E6B64FA3AE0743278996850F/objects/import"
},
"status": {
"code": 200,
"message": "Success"
},
"imports": [
{
"id": "112000000007",
"name": "ORG2Test from Organization.txt",
"importDataSourceId": "113000000006",
"importType": "HIERARCHY_DATA"
}
]
}