myxer.item.send
Send a Content Item to a phone.
Note: This method requires special permission to use. Contact Myxer to apply.
Depending on how your account is set up, there may be limits placed on how many items or messages a partner
will be allowed to send to a specific phone number before including the pin.
Arguments
- api_key
- Your API application key. See here for more details on api_key.
- method
- myxer.item.send
- pn
- Phone Number - assume North American number unless a country code is included. (i.e. +44)
- dynamic (optional)
- Required if the content being sent is a dynamic content record - contains the unique value for the instance.
If the url is supplied, this is sent as the title of the content. If url is not supplied, this is passed as the q parameter to
the content url contained in the content Id record.
- myxer_id
- content Id - can be of any type. i.e. ringtone, wallpaper, video, ...
- url (optional)
- Complete url with all parameters needed by your content providing service. No other parameters will be added by Myxer.
This value must be encoded!
- tranid (optional)
- A free-form url-encoded string that will be passed back exactly as a parameter to a TransactionCallback URL
supplied to Myxer when your API is set up. The URL provided must be of the form http://www.somesite.com?tran={the tranid will be inserted here}.
The TransactionCallback is called once when the premium content purchase has been successfully completed.
- api_sig
- Secure signature of the api parameters. See here for details on api_sig.
Example Response
The response format is a simple XML block.
Success Response
<?xml version="1.0" encoding="utf-8" ?>
<response status="ok">
</response>
Error Response
<?xml version="1.0" encoding="utf-8" ?>
<response status="fail">
<code>[error-code]</code>
<msg>[error-message]</msg>
</response>