# POST monitoring config not working for extension

**URL:** <https://community.dynatrace.com/t/post-monitoring-config-not-working-for-extension/50655>\
**Category:** Dynatrace API\
**Tags:** extensions\
**Created:** [March 11, 2025, 1:48pm UTC](https://community.dynatrace.com/t/post-monitoring-config-not-working-for-extension/50655 "2025-03-11T13:48:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rseibert1](https://avatars.discourse-cdn.com/v4/letter/r/c4cdca/32.png) [@rseibert1](https://community.dynatrace.com/u/rseibert1)\
**Post date:** [March 11, 2025, 1:48pm UTC](https://community.dynatrace.com/t/post-monitoring-config-not-working-for-extension/50655/1 "2025-03-11T13:48:50Z")

</div>

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](https://global.discourse-cdn.com/dynatrace/original/3X/a/8/a81c53e6b7b8579328d11992e9cd3310e0b16a0a.png)

 ![rseibert1_0-1741700615127.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/b/5b7b7f96cde6815597a27c30f284879d79801c79.png)

Adding the value of the version:

 ![rseibert1_2-1741700900462.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/2/e21f56007ea5533f1a1322185a212184614b4b6d.png)

---

<div class="post-metadata">

**Author:** ![JamesKitson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jameskitson/32/22460_2.png) [@JamesKitson](https://community.dynatrace.com/u/JamesKitson)\
**Post date:** [March 11, 2025, 6:37pm UTC](https://community.dynatrace.com/t/post-monitoring-config-not-working-for-extension/50655/2 "2025-03-11T18:37:48Z")

</div>

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](https://global.discourse-cdn.com/dynatrace/original/3X/b/0/b0b683072e195d980cca5c24df1be59ae715335b.png)

```auto
[
  {
    "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"
  }
]

```

---

<div class="post-metadata">

**Author:** ![rseibert1](https://avatars.discourse-cdn.com/v4/letter/r/c4cdca/32.png) [@rseibert1](https://community.dynatrace.com/u/rseibert1)\
**Post date:** [March 12, 2025, 1:18pm UTC](https://community.dynatrace.com/t/post-monitoring-config-not-working-for-extension/50655/3 "2025-03-12T13:18:21Z")

</div>

Thanks for that tip, I was not having any luck&nbsp; finding proper format in the docs!
