Hello
I used the following script provided by the Anaplan Connect guide to import files:
set AnaplanUser="useremail:password"set ServiceUrl="https://api.anaplan.com"
set AuthUrl="https://auth.anaplan.com"
set WorkspaceId="8a81b09e5f88df6e015f9773e37c675f"
set ModelId="FCDBA62F401B40E9B73A42983C4FDDCC"
set Operation=-debug -service %ServiceUrl% -auth %AuthUrl% -workspace %WorkspaceId% -model %ModelId% -workspaces -models -chunksize 1 -file "Ventes SR du mois.csv" -put "c:\automation\data\Ventes SR du mois.csv" -import "SR03 - Vente V&B from Ventes SR du mois.csv" -execute -output "c:\automation\data\dump\Ventes SR du mois_dump.csv"
rem *** End of settings - Do not edit below this line ***
setlocal enableextensions enabledelayedexpansion || exit /b 1
cd %~dp0
if not %AnaplanUser% == "" set Credentials=-user %AnaplanUser%
set Command="C:\automation\anaplan-connect\anaplan_connect_4.2.1\AnaplanClient.bat %Credentials% %Operation%"
@echo %Command%
cmd /c %Command%
I executed this script, i got no message of error, it tells me that the file has been uploaded.
When i return on Anaplan, the date of the import action didn't update, it's like the action didn't go through
Thank you for your attention
Regards
……………
Community manager note: This post and/or comments below reference a workaround for getting API details from your browser window. Anaplan will be retiring the https://us1a.app.anaplan.com/2/0 legacy API on July 31, 2026, to enhance platform security and performance. API requests sent to this URL after July 31st will receive 503 errors. Please switch to using the recommended Integrations API.