Difference between revisions of "Error codes for Send Plain Group"

From SMS Wiki
Jump to: navigation, search
Line 2: Line 2:
  
  
'''Send successful - all messages were sent'''
+
'''Send successful - the message was sent to the group of recipients'''
 
----
 
----
 
   <?xml version="1.0" encoding="utf-8" ?>  
 
   <?xml version="1.0" encoding="utf-8" ?>  
- <SMSSendMultipleResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://upsidewireless.com/webservice/sms">
+
- <SMSSendGroupResult 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>  
 
   <isOk>true</isOk>  
   <successCount>3</successCount>
+
   </SMSSendGroupResult>
  <failedCount>0</failedCount>
+
  </SMSSendMultipleResult>
+
  
  
'''''Failed sending or partial fail'''''
+
'''''Failed sending'''''
  
'''No recipients - no message will be sent'''
+
'''Incorrect group name'''
 
----
 
----
 
   <?xml version="1.0" encoding="utf-8" ?>  
 
   <?xml version="1.0" encoding="utf-8" ?>  
- <SMSSendMultipleResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://upsidewireless.com/webservice/sms">
+
- <SMSSendGroupResult 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>  
 
   <isOk>false</isOk>  
  <successCount>0</successCount>
+
   <errorMessages>No such group</errorMessages>  
  <failedCount>0</failedCount>
+
   </SMSSendGroupResult>
   <errorMessages>No recipients</errorMessages>  
+
   </SMSSendMultipleResult>
+
  
  
'''Excess maximum recipients - no message will be sent'''
+
'''Not enough credits'''
 
----
 
----
 
   <?xml version="1.0" encoding="utf-8" ?>  
 
   <?xml version="1.0" encoding="utf-8" ?>  
- <SMSSendMultipleResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://upsidewireless.com/webservice/sms">
+
- <SMSSendGroupResult 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>  
 
   <isOk>false</isOk>  
  <successCount>0</successCount>
 
  <failedCount>26</failedCount>
 
 
   <errorMessages>Excess maximum recipients (25)</errorMessages>  
 
   <errorMessages>Excess maximum recipients (25)</errorMessages>  
  <errorNumbers>17788580767,16046668888,17788456789, 456789, 123456, 65743211, ...</errorNumbers>
+
</SMSSendGroupResult>
  </SMSSendMultipleResult>
+
 
+
 
+
'''Partial Success - some messages will not be sent (in the below example 2)'''
+
----
+
  <?xml version="1.0" encoding="utf-8" ?>
+
- <SMSSendMultipleResult 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>
+
  <successCount>3</successCount>
+
  <failedCount>2</failedCount>
+
  <errorMessages>recipient length invalid,recipient length invalid</errorMessages>
+
  <errorNumbers>456789,123456</errorNumbers>
+
  </SMSSendMultipleResult>
+

Revision as of 10:38, 12 July 2013

Send_Plain_Group 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. This page describes error statuses which Send_Plain_Group can generate


Send successful - the message was sent to the group of recipients


 <?xml version="1.0" encoding="utf-8" ?> 

- <SMSSendGroupResult 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> 
 </SMSSendGroupResult>


Failed sending

Incorrect group name


 <?xml version="1.0" encoding="utf-8" ?> 

- <SMSSendGroupResult 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> 
 </SMSSendGroupResult>


Not enough credits


 <?xml version="1.0" encoding="utf-8" ?> 

- <SMSSendGroupResult 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>Excess maximum recipients (25)</errorMessages> 
</SMSSendGroupResult>