MAPI Manual

NAME

SEND_SIGNUP_SMSCHECKCODE

FUNCTION

Send SMS verification code to user

SYNOPSIS

signup_id
sender
message  
login_name
login_passwd

DESCRIPTION

This function is used for sending SMS verification code to users when they sign up, allowing them to validate their mobile numbers.

Required Parameters

* action: SEND_SIGNUP_SMSCHECKCODE.
* signup_id: the signup ID that is generated by the system. For more information, see ADDSIGNUP. 
* sender: name of the sender.

* message: the message content. It must include "[%sms_checkcode%]" which will be replaced by the verification code. It can include "[%first_name%]" and "[%last_name%]" which will be replaced by the user's firstname and lastname respectively. Must be URL encoded.

* login_name: the account used for signing up a user.

* login_passwd: the password of the account used for signing up a user.

RETURN DATA

The response contains the following attribute:
* msg: Success or error message.

ROLE PERMITTED

EXAMPLES

The following example shows a successful HTTP GET request and response.

Request:

http://app02.yvntech.com/MapIHttpS/MapIS?action=SEND_SIGNUP_SMSCHECKCODE&signup_id=36&sender=YVN&message=Hi+%5B%25first_name%25%5D+%2C+Welcome+to+Mweb+your+activation+code+is%3A+%5B%25sms_checkcode%25%5D&login_name=user@example.com&login_passwd=1111

Response:

<result tftype='1' infotype='0'>
    <field name='msg'>SUCCESS</field>
</result>

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

ADDSIGNUP

Mweb v2.0 YVNTECH 2014