Error codes for Send Plain ServiceGroup
Send_Plain_ServiceGroup is API function that allows you to send a message to a group of recipients - a group is defined in your account and can contain any number of recipients. Use this function only if you have a dedicated VirtualSMS or use a short code for campaign management. This page describes error statuses which Send_Plain_ServiceGroup can generate.
You can send messages to the entire group (all) for the specified service or only to a sub-set of the subscribers. In the first case, leave value for Group empty. If you specify a group name, the group must belong to the same service. In this case, the message will be sent to the members of the stated group.
Send successful - the message was sent to the group of recipients
<?xml version="1.0" encoding="utf-8" ?>
- <SMSSendServiceGroupResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://upsidewireless.com/webservice/sms">
<isOk>true</isOk> </SMSSendServiceGroupResult>
Failed sending
Incorrect Service name
<?xml version="1.0" encoding="utf-8" ?>
- <SMSSendServiceGroupResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://upsidewireless.com/webservice/sms">
<isOk>false</isOk> <errorMessages>No such service</errorMessages> </SMSSendServiceGroupResult>
Incorrect group name
<?xml version="1.0" encoding="utf-8" ?>
- <SMSSendServiceGroupResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://upsidewireless.com/webservice/sms">
<isOk>false</isOk> <errorMessages>No such group</errorMessages> </SMSSendServiceGroupResult>
Not enough credits
<?xml version="1.0" encoding="utf-8" ?>
- <SMSSendServiceGroupResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://upsidewireless.com/webservice/sms">
<isOk>false</isOk> <errorMessages>Not enough credits to send SMS to all members of the group. Please top-up your account and re-try</errorMessages> </SMSSendServiceGroupResult>