Python API with Anaplan || Import || Parameters




While running an import or process through python API , is there a way to check if the import or process needs a file and which type of file is required? In other words, I need to  check if the import is a model to model or csv/txt import and in case it uses a file what is the type of the file required.


Any help would be appreciated.

Thanks and Regards,

Aakash Sachdeva


Best Answer

  • christophe_keom

    Hi Aakash,


    You can deduce if the import needs a file or not by checking if the importDataSourceId is empty or not as displayed in the screenshot:


    Hope it will be of some help,


    Christophe K