Thanks for the information!!
I was trying to import the .bes file via python code using REST calls
I think issue is that I need to call specific api for import.
api = https://<Iemserver>:<Iemport>/api/<fixlettype>/<Iemsitename>
So here fixlettype matters. Like if I set fixlettype =“tasks” only Task from the .bes file will be imported. If I change fixlettype=“baselines” then only Baseline will get imported to IEMServer.
I wanted to know is there any other way to import whole .xml or .bes using python code (Is there any such REST resource that I need to call) ?
OR am I doing it in a correct way. (Making separate import calls for each type of item that I want to import) ?