# Use the Problemtext used in a problem notification via the Problem API

**URL:** <https://community.dynatrace.com/t/use-the-problemtext-used-in-a-problem-notification-via-the-problem-api/46847>\
**Category:** Dynatrace API\
**Tags:** problem-notification, dynatrace-api\
**Created:** [July 26, 2024, 12:39pm UTC](https://community.dynatrace.com/t/use-the-problemtext-used-in-a-problem-notification-via-the-problem-api/46847 "2024-07-26T12:39:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wouterdt](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/wouterdt/32/25147_2.png) [@wouterdt](https://community.dynatrace.com/u/wouterdt)\
**Post date:** [July 26, 2024, 12:39pm UTC](https://community.dynatrace.com/t/use-the-problemtext-used-in-a-problem-notification-via-the-problem-api/46847/1 "2024-07-26T12:39:03Z")

</div>

The problem API exposes all the evidenceDetails that are displayed on the Problems page as a rather complicated json object. With the problem nontifications you can push those details in a nice text format:

**{ProblemDetailsMarkdown}** : All problem event details including root cause as a Markdown-formatted string.

**{ProblemDetailsText}** : All problem event details including root cause as a text-formatted string

Is there a way to retrieve this text via the dynatrace problem API?  
AFAICS there is none and i would have to interpret the json myself if i want to pull problems from dynatrace instead of using a custom notification\<

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [July 26, 2024, 3:07pm UTC](https://community.dynatrace.com/t/use-the-problemtext-used-in-a-problem-notification-via-the-problem-api/46847/2 "2024-07-26T15:07:44Z")

</div>

Hi,

Dynatrace problems API return information in JSON format&nbsp;[Problems API v2 - GET problems details — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/api-problems-v2-get-details)

 ![AntonPineiro_0-1722006400948.png](https://global.discourse-cdn.com/dynatrace/original/2X/d/dc61a9c2c9debdc20dfa680814aec1adbed62e99.png)

If you want another, you need to parse and tranform it by yourself.

You can raise a [product idea](https://community.dynatrace.com/category/DynatraceProductIdeas)&nbsp;also.

Best regards
