SMS Notifications configuration

Dear Community,

I want to configure SMS notifications for our customers.
The team has sent me a sample for the call that needs to be used but I think this call is not understood by Dynatrace.web service call ( SAOP call):

<soapenv:Envelope xmlns:soapenv=“http://www.w3.org/2003/05/soap-envelope” xmlns:alr=“http://www.alrajhiwebservices.com/” xmlns:ejad=“http://www.ejada.com/”>

soapenv:Body

ejad:NotificationSendRq

ejad:Hdr

alr:Msg

alr:RqID3a3c3005-dee7-41d1-9379-805a4743e350</alr:RqID>

alr:SvcID0080</alr:SvcID>

alr:SubSvcID0500</alr:SubSvcID>

alr:FuncID0002</alr:FuncID>

alr:MsgTimestamp2019-03-12T11:05:32</alr:MsgTimestamp>

alr:MsgVer1.0</alr:MsgVer>

</alr:Msg>

alr:Agt

alr:UserLangEN</alr:UserLang>

</alr:Agt>

alr:Sys

alr:ChIDOTHER</alr:ChID>

alr:SessionID3a3c3005-dee7-41d1-9379-805a4743e350</alr:SessionID>

alr:OSID00</alr:OSID>

alr:SessionLangEN</alr:SessionLang>

</alr:Sys>

</ejad:Hdr>

ejad:Body

ejad:EventCodeDYNATRC_1</ejad:EventCode>

ejad:RecipsList

ejad:RecipInfo

ejad:LangPrefEN</ejad:LangPref>

ejad:NotificationMethodInfo

ejad:NotificationMethodSMS</ejad:NotificationMethod>

ejad:Contact966500000000</ejad:Contact>

</ejad:NotificationMethodInfo>

ejad:ParamList

ejad:ParamItem

ejad:ParamCdMSG_BDY</ejad:ParamCd>

ejad:ParamValMessage notification text</ejad:ParamVal>

</ejad:ParamItem>

</ejad:ParamList>

</ejad:RecipInfo>

</ejad:RecipsList>

</ejad:Body>

</ejad:NotificationSendRq>

</soapenv:Body>

</soapenv:Envelope>How can I translate this to be used in the payload?Thanks for your help.

You can create a Problem Notification (Custom Integration) and add that entire block as the payload. Then just replace the relevant fields with placeholders. e.g.

ejad:ParamValMessage notification text</ejad:ParamVal> with

ejad:ParamVal{ProblemDetailsText}</ejad:ParamVal>

Thanks @pahofmann 
Yes just tried it before and I thing it will work (Waiting for port opening).

The most important thing is to add the right Header (content type), otherwise, the XML is not accepted by Dynatrace.

BRs.

That depends more on the system receiving the request not dynatrace.

If they expect the content-type header to be there you need to add it to the integration :slightly_smiling_face:

Its Dynatrace Itself that not accept the XML payload if you not put the header, not the recipient.

Ah you’re right ofc. It tries to parse the body as a json otherwise by default.

Been a while since I had to use XML for a problem notification :winking_face_with_tongue: