I'm new working with Anaplan and also with APIs. i've been managing it quite well but I'm stucked in one step hope you can help me overcoming this.
I've already get al chunks of the export however I don't know how to download the data... the file exported 26 chunks and I get chunk id 0, 1, 2 and so on. So the lastest request that I've made so far is:
You will need to loop through the number of chunks you are requiring to download, and then concatenate the result together. Chunk counts start at 0 remember, so if you have 26 chunks it will be from 0 to 25.
Within Postman, I think you could use the Collection Runner Using the Collection Runner | Postman Learning Center to loop through and then store the response from each successive request using the Tests Scripts section to eventually concatenate through, but this may be a bit convoluted.
I personally use Postman more for testing individual requests - anything repeatable or productionised, I would move to something else. If you're just automating exports/downloads, then Anaplan Connect is a good option, otherwise building out a Python app or other is also an option.
I feel overwhelmed trying to understand this. 😞 I need to do exactly as you told. Automate exports from my Anaplan model. Is there any documentation how to use python with Anaplan? I dont know where and how to start.
Hi @dfpaezo - If you're just trying to automate exports, I wouldn't try to re-invent the wheel - try taking a look at Anaplan Connect, which is a supported Java based CLI tool that you can then combine with schedulers such as Windows Task Scheduler or cron jobs, depending on the operating system you are working with. Anaplan Connect - Anaplan Technical Documentation
The -import command line switch is used to specify an import in the model, not a file on your computer. Not sure why the program is unhappy with the command line arguments, perhaps try something simple like listing available files in the model first, then build it up step by step.