01 Aug 2023 08:12 AM - last edited on 08 Sep 2023 07:45 AM by MaciejNeumann
Hello Experts
We have an SMS gateway called "RiCH T2," which provides a REST API to send SMS notifications. Does anyone know how we can use this REST API to configure SMS alerting in Dynatrace?
Usually, we use this API in all our other applications by just supplying the below inputs.
1. User name and password (Static and fixed input)
2. Sender (Static and fixed input)
3. Text (Dynamic input based on event/problem)
4. Number(Static and fixed input)
5. Reference id (Static and fixed input)
"https://xservices.rich.sa/RiCHClientServiceREST.svc/SendSMSloginGet?username=*****&password=*****&Sender=***&Text=test_dynatarce_sms&number=*****&referenceid==REFID"
Solved! Go to Solution.
07 Sep 2023 01:41 PM
interesting method. You could cut out the gateway and just leverage the Dynatrace alerting via email and supply the carrier @ address and phone number to get SMS Messages on users phones.
07 Sep 2023 02:11 PM
We have fixed this using vendor's provided Rest API and custom payload.
API:
https://xservices.rich.sa/RiCHClientServiceREST.svc/SendSmsToList
Payload:
{
"username": "******",
"password": "******",
"Sender": "***",
"Text": "{{ProblemID}} - {State} - {{ProblemTitle}}",
"Array": [
"****",
"****",
"****"
],
"MsgBodyType": 0
}