This call allows you to determine how many credits it will cost to submit a message to one or more recipients or groups.
All parameters are identical to the send_sms call. Return values can be any of the failure codes associated with send_sms, plus the additional successful result: 0|Quotation issued|quote_total (where quote_total is a floating-point number).
Example: http://bulksms.de:5567/eapi/submission/quote_sms/2/2.0?username=john&password=abcd1234&message=
Hi+Mom&msisdn=44123123456
You should always specify a routing_group to be safe: it is unlikely but not impossible that the default routing group could change.
Although optional parameters such as want_report do not currently affect pricing, you are required to call quote_sms exactly as you would call send_sms, with all parameters in place, if you are to be assured of an accurate quotation in future.
Documentation for older versions of this API can be found here
If upgrading from v1.x to v2.x, note that the success code is now zero, and not 1000.
| ChangeLog |
|
13-Aug-2004
|