09 Apr 2025 01:40 PM
Hi all,
I'm trying to determine how to pull the GUUID for maintenance windows in Dynatrace. I'm not talking about the Object ID, as that is completely separate but possibly called the GUUID?
When you go into Settings in Dynatrace, then navigate to Maintenance Windows and then finally a specific one, the URL Address Bar changes to something like:
&id=049305939059306593-49205ir24k0rijw34g0f4wjtg0w3jg503t-0awe-9jg
I'd like to ingest this from the API, but don't know what field it comes under? Any ideas?
Solved! Go to Solution.
09 Apr 2025 03:05 PM - edited 09 Apr 2025 03:05 PM
Hi,
it is the setting uuid:
example:
vu9U3hXa3q0AAAABACNidWlsdGluOmFsZXJ0aW5nLm1haW50ZW5hbmNlLXdpbmRvdwAGdGVuYW50AAZ0ZW5hbnQAJDNhZmM4ZmI2LTA5OTgtM2RlZS05MzY5LTlkZTRiZDU5MGJmNr7vVN4V2t6t
will be
¾ïTÞÚÞ����#builtin:alerting.maintenance-window�tenant�tenant�$3afc8fb6-0998-3dee-9369-9de4bd590bf6¾ïTÞÚÞ
and my UUID is 3afc8fb6-0998-3dee-9369-9de4bd590bf6
09 Apr 2025 05:16 PM
Hi @badgerfifteen , you can call the https://{{DT_HOST}}/api/config/v1/maintenanceWindows and there you can obtain the id's:
10 Apr 2025 08:44 PM
If you using API V2 the easiest way to do this is in the UI. Select your Targeted MW, and click the '...' and pick API:
If you are using API V1 you can then use the URL:
Depending on what API i'm using, those are the fastest routes that I use to pull them one by one as needed.