Return codes XML (deprecated)

The choice of XML

The OctopushSMS API will return an XML containing:

  • The return code of the API
  • Cost of the campaign or in the “success” node: cost of sending.
  • Your balance remaining after sending
  • The list of numbers you provided, with the charges in your currency for each number, and the associated error code.

Example



000
0.105
6.93
api110000000021
1326311820
1



+33601010101
FR
0.0550




150
+334


150
+335


150
+336


Defining XML Tags

CodeDefinition
costCost of the campaign or in the “success” node: cost of sending.
balanceYour remaining balance.
ticketYour ticket was sent. You can identify your campaign, and recover CA if you have selected “Premium”.
sending_dateExpected date of the campaign launch begining
number_of_sendingsRequired SMS depending on the size, number of SMS, and type of SMS (with Unicode characters: 1 SMS for every 70 characters; 1 SMS up to 160 characters; 1 SMS every 137 characters if the SMS exceeds 160 characters).
currency_codeSMS pricing currency.
successsLists of numbers treated as valid and charged.
recipientFormatted phone numbers.
country_codeCountry of the Phone Number..
failuresList of wrong numbers.