Mobile.sendSMSdownload
From FreePokerAlliance wiki
Contents |
Description
Sends the download URI of the game to the user's mobile phone.
Parameters
| Required | Name | Type | Default value | Description |
|---|---|---|---|---|
| required | Command | string | SendDownloadUrl | API method name |
| required | PhoneNumber | string | Phone number (international format) | |
| required | SMSTemplateID | string | Your SMS template ID (provided by our support team) | |
| required | FileName | int | Game ID (see Mobile.getGames) |
Example Request
Replace XXXXXXXXXX with actual data.
| http://api.freepokeralliance.com/adminservices.aspx?Command=SendDownloadUrl&PhoneNumber=XXXXXXXXXX&FileName=XXXXXXXXXX&SMSTemplateID=XXXXXXXXXX |
Response
This command returns only a status code indicating that the request succeeded or not.
Error Codes
| Code | Description |
|---|---|
| Status=ERROR | An error occured |
| Status=OK | Registration successful |
| ERROR=ParameterName1,ParameterName2,...,ParameterNameN | Indicates which parameter names have wrong values |
Notes
Please note that this method can be called from the Administrative service, but logically it's part of the Mobile module.
