Postman for effortless Dynatrace API access across environments

I’ve been updating Postman collections for myself for a while to make it easier to work with the Dynatrace API across multiple clusters, tenants, and environments.

I have put the files on github now, maybe someone will find it useful.

If you need the Account Management API check out the Postman Collection from my fellow :dynamight:DynaMight @DanielS!

Setup is very quick, then you can just select the request and environment against which to execute it.

Here is a short guide:

Import collections

Postman is available for free from postman.com.

Import (file → import) the collection .json files for the APIs you want:

A separate collection for each, including all requests of that API, will be created:

Create environments

For each of your Dynatrace environments/tenants you want to use, add a postman environment via manage environments → add:

The environment needs two variables (names are case sensitive!):

Request away!

Now you can open any request and easily execute it against different Dynatrace environments by selecting the environment on the top right:
Dynatrace API Postman Collections

53 Likes

This seems very interesting! Going to check it out when I have a little time.

3 Likes

Thanks @pahofmann for sharing, sure will be useful.

I cant find the way to get the json files.

2 Likes

You can get from from the API Explorer.

2 Likes

Hi @pahofmann ,

How can I download the collection from the github ?

1 Like

The collections are saved as .json files in the repository.

You can either copy them from the specs folder or just download the whole bundle from the releases page.

1 Like

Thanks a lot man

Good day :slightly_smiling_face:

1 Like

Updated to 220, including cluster APIs.

2 Likes

With one of the recent Postman version the UI changed a bit.  The environments can now be found in the left side menue:

4 Likes

Yes, i used this version after my last post

Thanks or your update.

Very Useful

1 Like

Latest Release updated to Version 1.226 (Cluster API 1.224)

2 Likes

It was very much helpful and this acts as a utility to have. It saves a lot of time while working with customers.

Thanks for sharing.

5 Likes

Updated to 1.234: Github Link.

4 Likes

top nodge, we are currently working on an API v2 version for integration to Splunk , having this so visual in postman really helps. works like a charm.

2 Likes

Update to 1.248: Github Release Link.

Also automated the process so future updates can be more frequent or be done by the user if in a hurry.

3 Likes

Updated to 1.250: Github Release Link.

Also there is a Insomnia Version now: Community Thread  -  Github

3 Likes

hi @pahofmann the links on your initial page are now not working (404), I guess because of the update? (pahofmann/dynatrace-postman-collections: Summary of postman collections for all dynatrace APIs. (github.com))

2 Likes

Thanks, updated :slightly_smiling_face:

2 Likes

Thank you x 2 ! 🙂

3 Likes

Updated to 1.258 (Environment) and 1.256 (Cluster): Github Release Link

3 Likes