This call provides the metadata for an export that you can use to compare at the end of an Export action.
Method and endpoint
https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/exports/{exportID}
Parameters
Parameter | Description |
AnaplanAuthToken:{token} | Your Anaplan authentication token value. |
workspaceID | The workspace ID |
modelID | The model ID |
exportID | The export ID |
Curl example
curl -X GET \ https://api.anaplan.com/2/0/workspaces/0a800b00e0000000f000001eab0d0000/models/F1111111C11111111B11111F1111E11F/exports/116000000001 \
-H 'authorization: AnaplanAuthToken {token}' \
-H "Content-Type:application/json"
Response
{
"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":","
}
}