API V2

allitixtgaluska
Contributor

API V2

Is it possible to extract the module information with the API V2? I can't find anything but ID and Name. I am looking for all the data you would get from exporting from the module view. 

1 REPLY 1
MarcusTrott
Certified Master Anaplanner

The Apiary may have the answers. (Links at the bottom)

 

I believe if you want to pull the data from the default view you can just use the moduleID in place of the view ID in your request.

 

curl -X GET
'https://api.anaplan.com/2/0/models/{modelId}/views/{viewId}/data?pages={dimensionId:itemId}&format=v...' \
-H 'Authorization: AnaplanAuthToken {anaplan_auth_token}' \
-H 'Accept: application/json'

 

 

How to retrieve cell data:

https://anaplanbulkapi20.docs.apiary.io/#RetrieveCellDataView

 

How to retrieve the viewID or moduleID metadata:

https://anaplanbulkapi20.docs.apiary.io/#/reference/read-data-and-metadata-for-modules-and-views