SendMessage
Click here for a complete list of operations.
sendMultiTextWithCallback
Sends multiple texts with callback
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /WebServices/SendMessage.asmx HTTP/1.1 Host: alert.groupcall.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://groupcallalert.com/sendMultiTextWithCallback" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <sendMultiTextWithCallback xmlns="http://groupcallalert.com/"> <messages> <SMSMessage> <savedMessageFolder>string</savedMessageFolder> <savedMessageName>string</savedMessageName> <smsText>string</smsText> <sendDateTime>dateTime</sendDateTime> <contacts> <Contact xsi:nil="true" /> <Contact xsi:nil="true" /> </contacts> <personIds> <string>string</string> <string>string</string> </personIds> <ClientRef>string</ClientRef> <UserName>string</UserName> <Password>string</Password> <MessageCategoryId>int</MessageCategoryId> </SMSMessage> <SMSMessage> <savedMessageFolder>string</savedMessageFolder> <savedMessageName>string</savedMessageName> <smsText>string</smsText> <sendDateTime>dateTime</sendDateTime> <contacts> <Contact xsi:nil="true" /> <Contact xsi:nil="true" /> </contacts> <personIds> <string>string</string> <string>string</string> </personIds> <ClientRef>string</ClientRef> <UserName>string</UserName> <Password>string</Password> <MessageCategoryId>int</MessageCategoryId> </SMSMessage> </messages> <callbackUrl>string</callbackUrl> <NoOfAttempts>int</NoOfAttempts> </sendMultiTextWithCallback> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <sendMultiTextWithCallbackResponse xmlns="http://groupcallalert.com/"> <sendMultiTextWithCallbackResult> <SMSMessageResult> <errorMsg>string</errorMsg> <MessageSentId>int</MessageSentId> <statusMsg>string</statusMsg> <transmitDateTime>dateTime</transmitDateTime> <ClientRef>string</ClientRef> <status> <SMSMessageStatus xsi:nil="true" /> <SMSMessageStatus xsi:nil="true" /> </status> </SMSMessageResult> <SMSMessageResult> <errorMsg>string</errorMsg> <MessageSentId>int</MessageSentId> <statusMsg>string</statusMsg> <transmitDateTime>dateTime</transmitDateTime> <ClientRef>string</ClientRef> <status> <SMSMessageStatus xsi:nil="true" /> <SMSMessageStatus xsi:nil="true" /> </status> </SMSMessageResult> </sendMultiTextWithCallbackResult> </sendMultiTextWithCallbackResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /WebServices/SendMessage.asmx HTTP/1.1 Host: alert.groupcall.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <sendMultiTextWithCallback xmlns="http://groupcallalert.com/"> <messages> <SMSMessage> <savedMessageFolder>string</savedMessageFolder> <savedMessageName>string</savedMessageName> <smsText>string</smsText> <sendDateTime>dateTime</sendDateTime> <contacts> <Contact xsi:nil="true" /> <Contact xsi:nil="true" /> </contacts> <personIds> <string>string</string> <string>string</string> </personIds> <ClientRef>string</ClientRef> <UserName>string</UserName> <Password>string</Password> <MessageCategoryId>int</MessageCategoryId> </SMSMessage> <SMSMessage> <savedMessageFolder>string</savedMessageFolder> <savedMessageName>string</savedMessageName> <smsText>string</smsText> <sendDateTime>dateTime</sendDateTime> <contacts> <Contact xsi:nil="true" /> <Contact xsi:nil="true" /> </contacts> <personIds> <string>string</string> <string>string</string> </personIds> <ClientRef>string</ClientRef> <UserName>string</UserName> <Password>string</Password> <MessageCategoryId>int</MessageCategoryId> </SMSMessage> </messages> <callbackUrl>string</callbackUrl> <NoOfAttempts>int</NoOfAttempts> </sendMultiTextWithCallback> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <sendMultiTextWithCallbackResponse xmlns="http://groupcallalert.com/"> <sendMultiTextWithCallbackResult> <SMSMessageResult> <errorMsg>string</errorMsg> <MessageSentId>int</MessageSentId> <statusMsg>string</statusMsg> <transmitDateTime>dateTime</transmitDateTime> <ClientRef>string</ClientRef> <status> <SMSMessageStatus xsi:nil="true" /> <SMSMessageStatus xsi:nil="true" /> </status> </SMSMessageResult> <SMSMessageResult> <errorMsg>string</errorMsg> <MessageSentId>int</MessageSentId> <statusMsg>string</statusMsg> <transmitDateTime>dateTime</transmitDateTime> <ClientRef>string</ClientRef> <status> <SMSMessageStatus xsi:nil="true" /> <SMSMessageStatus xsi:nil="true" /> </status> </SMSMessageResult> </sendMultiTextWithCallbackResult> </sendMultiTextWithCallbackResponse> </soap12:Body> </soap12:Envelope>