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: 1000|Quotation issued|quote_total (where quote_total is a floating-point number).
Example: http://www.bulksms.co.uk:5567/eapi/submission/quote_sms/1/1.1?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.
(the following versioning information does not apply to newer API versions:)The following url will ensure you always connect to the latest available quote_sms version:
URL: http://www.bulksms.co.uk:5567/eapi/submission/quote_sms/1/current
(this should always be backwards compatible, but conservative high volume users could use the specific version).
Current version-specific send_sms URL:
URL: http://www.bulksms.co.uk:5567/eapi/submission/quote_sms/1/1.1