Python API with Anaplan || Import || Parameters

Hi,

 

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

  • 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:

    christophe_keom_0-1625236221632.png

    Hope it will be of some help,

     

    Christophe K

Answers