Request an activation code for a product to be sent to a mobile phone
Namespace: Dynmark.Services.API
Assembly: Dynmark.Services.API (in Dynmark.Services.API.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Sub RequestActivationCode( _ ByVal mobileNumber As String _ ) |
| C# |
|---|
| public void RequestActivationCode( string mobileNumber ) |
| C++ |
|---|
| public: void RequestActivationCode( String mobileNumber ) sealed |
| J# |
|---|
| public void RequestActivationCode( string mobileNumber ) |
| JScript |
|---|
| public
function RequestActivationCode( mobileNumber : String ) |
Parameters
- mobileNumber
- Mobile number that will recieve the activation code
Exceptions
| Exception Type | Condition |
|---|---|
| ApiConnectivityException | Thrown when there is an issue with internet connectivity. |
| ApiExecutionException | Thrown if the activation key has been asked for multiple times or the mobile number is invalid |
| ApiArgumentException | Thrown if the mobile number is invalid |