# SMS Notifications configuration

**URL:** <https://community.dynatrace.com/t/sms-notifications-configuration/37693>\
**Category:** Open Q&A\
**Tags:** problem-notification, problems-classic\
**Created:** [December 14, 2022, 6:52am UTC](https://community.dynatrace.com/t/sms-notifications-configuration/37693 "2022-12-14T06:52:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [December 14, 2022, 6:52am UTC](https://community.dynatrace.com/t/sms-notifications-configuration/37693/1 "2022-12-14T06:52:55Z")

</div>

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&nbsp;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](http://www.w3.org/2003/05/soap-envelope)” xmlns:alr=“[http://www.alrajhiwebservices.com/](http://www.alrajhiwebservices.com/)” xmlns:ejad=“[http://www.ejada.com/](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.

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [December 14, 2022, 10:54am UTC](https://community.dynatrace.com/t/sms-notifications-configuration/37693/2 "2022-12-14T10:54:13Z")

</div>

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\>

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [December 14, 2022, 10:56am UTC](https://community.dynatrace.com/t/sms-notifications-configuration/37693/3 "2022-12-14T10:56:22Z")

</div>

Thanks&nbsp;[@pahofmann](https://community.dynatrace.com/user/22796)&nbsp;  
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.

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [December 14, 2022, 11:06am UTC](https://community.dynatrace.com/t/sms-notifications-configuration/37693/4 "2022-12-14T11:06:46Z")

</div>

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 🙂

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [December 14, 2022, 12:38pm UTC](https://community.dynatrace.com/t/sms-notifications-configuration/37693/5 "2022-12-14T12:38:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [December 14, 2022, 2:32pm UTC](https://community.dynatrace.com/t/sms-notifications-configuration/37693/6 "2022-12-14T14:32:11Z")

</div>

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&nbsp;:winking\_face\_with\_tongue:
