cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

POST monitoring config not working for extension

rseibert1
Contributor

The JSON body of the post fails no matter how I configure it, the documentation says the "value" is optional but if I leave it out it says the value is missing, if I add it it does not like the JSON.

Using the format solution in the API tool.

rseibert1_1-1741700673286.png

 

rseibert1_0-1741700615127.png

Adding the value of the version:

rseibert1_2-1741700900462.png

 

1 REPLY 1

JamesKitson
Dynatrace Guru
Dynatrace Guru

When getting started, the simplest way to understand what you need to send is if you start by using the UI and manually entering some configuration. It will show you the structure of the JSON that needs to be sent to create a configuration. You can then manipulate that template/refer to it when sending the actual calls.

JamesKitson_0-1741718255120.png

 

[
  {
    "value": {
      "enabled": true,
      "description": "",
      "version": "3.1.16",
      "featureSets": [
        "atq",
        "ldap",
        "dhcpv6",
        "database-ad",
        "dhcp",
        "host",
        "dfsconnections",
        "network",
        "dfsfolders",
        "esent-database-lsa",
        "dns",
        "service-performance",
        "ntlm",
        "dra"
      ],
      "activationContext": "LOCAL"
    },
    "scope": "HOST-1CF8084F8EFBFXXX"
  }
]

 

Featured Posts