Notify users via messaging API - Site24x7 Forum
Go to All Forums

Notify users via messaging API

Hi,

We are using a messaging API for alerting from our in-house systems, and would like to use this for Site24x7 notifications as well if possible.

We send the API the following XML:
    <soapenv:Envelope xmlns:soapenv=\\"http://schemas.xmlsoap.org/soap/envelope/\\" xmlns:api=\\"http://api.messagenet.com.au/\\">
        <soapenv:Header/>
        <soapenv:Body>
            <api:LodgeSMSMessage>
                <api:Username>##########</api:Username>
                <api:Pwd>##########</api:Pwd>
                <api:PhoneNumber>${recipient}</api:PhoneNumber>
                <api:PhoneMessage>${message}</api:PhoneMessage>
            </api:LodgeSMSMessage>
        </soapenv:Body>
    </soapenv:Envelope>

... with the following command: 
curl --header "$header" --data "$data" $ws

... where details are as follows:
header = "content-type: text/xml; charset=UTF-8";

Is this currently possible in Site24x7 through an Action or some other method?

Thanks,
Stu
Like (1) Reply
Replies (0)