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 TypeCondition
ApiConnectivityExceptionThrown when there is an issue with internet connectivity.
ApiExecutionExceptionThrown if the activation key has been asked for multiple times or the mobile number is invalid
ApiArgumentExceptionThrown if the mobile number is invalid

See Also