04 Dec 2024 05:14 PM - last edited on 06 Dec 2024 08:49 AM by MaciejNeumann
hello
When i load ip mapping in dynatrace (app web/system/...) all works fine. i can see all data manually added.
With API, it works but i only add in dynatrace the data of last call (all previous data are deleted after each call)
Idea of mistake ?
Thanks.
05 Dec 2024 07:50 AM
Hi,
I cannot understand you. Can you explain a little more or some screenshot?
Best regards
05 Dec 2024 08:32 AM
Hello
when i add manually in dynatrace ip mapping, all is ok
location just added appear in list.
But if i add a location with my script or postman, all existing entries are deleted, and only the last added one appears
05 Dec 2024 05:15 PM
Hi,
Strange, can you share your API calls using postman or in the script?
Best regards
06 Dec 2024 02:49 PM
Hello
This part of my script
those lines are in a loop (with my data in sqlserver)
09 Dec 2024 03:26 PM
if i put 2 locations on the same API call : i found them in dynatrace.
10 Dec 2024 05:18 AM
Hi @kickme
Definitely, whatever configured through API or UI can be triggered.
Keep up the good work.
BR,
Peter
18 Dec 2024 09:32 AM
HI
Loading IP mapping is "one shot" mode => All VLAN must loaded on only one call.
My script made a loop and an API call on each row returned by database.
With this method each API call delete existing mapping in dynatrace before insert new one.
I change to build a big payload to make only one api call.
Now it s ok.