Python API with Anaplan || Import || Parameters

aakash
Contributor

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

 

1 ACCEPTED SOLUTION

Accepted Solutions
christophe_keom
Contributor

Re: Python API with Anaplan || Import || Parameters

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

View solution in original post

2 REPLIES 2
christophe_keom
Contributor

Re: Python API with Anaplan || Import || Parameters

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

View solution in original post

aakash
Contributor

Re: Python API with Anaplan || Import || Parameters

Hi @christophe_keom 

 

Thanks for your help. I wasn't really aware of this fact.

 

Aakash