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

Reporting problem - payload format

jose-antonio_ra
Inactive

Hi all.

I'm doing a custom integration for problem reporting, but I have a problem. The webhook only supports payload in xml format.


Is there any way to fix it? Has anyone worked on something like this?


Thank you very much.


best regards!

Jose A

3 REPLIES 3

dirk_wall
Dynatrace Organizer
Dynatrace Organizer

Hi Jose,

Please take a loot at the documentation (https://www.dynatrace.com/support/help/setup-and-configuration/integrations/third-party-integrations...), especially the section about 'Additional HTTP headers'. You can specify 'application/xml' as a header and then you can specify the payload as XML. Please be aware that you can't escape characters from the placeholders.

Hope this helps,
Cheers,
Dirk

Thanks Dirk!!

just one more thing, what do you mean by "escape characters from the placeholders" ??

Do you have an example to see if it affects my work?


Cheers

Jose A

dirk_wall
Dynatrace Organizer
Dynatrace Organizer

The notification were built with JSON in mind. It could be that certain placeholders (e.g. the {ProblemDetailsHTML} contains HTML tags) contain one of the characters that should be escaped, e.g. https://www.freeformatter.com/xml-escape.html

Cheers,
Dirk