PEDN> Main Web>ParaWorldAPI>Paraworld_users_Invite (2008-05-29, CaoYF) Change language en zh-cn? EditAttach

paraworld.users.Invite

Description

邀请好友加入

Parameters

Required Name Type Description
required sessionKey string 用户凭证。
from string 发送邀请者的名称,发送者自行填写,将显示在邮件中
to string 以英文逗号(,)分隔的被邀请用户的Email集合
message string 邀请信函中包含的消息
optional language int 邀请信使用的语言。1:中文,2:英文。默认值为1

Example Return XML

<msg xmlns="">
        <isSuccess type="boolean">True</isSuccess>
</msg>

Error Codes

当发生异常时,返回数据中会有一个“errorCode”节点,该节点记录了错误码。0:无异常 500:未知错误 499:提供的数据不完整 498:非法的访问 497:数据不存在或已被删除 496:未登录

Test Cases

case 1

Input:

{

        ["message"]="Hello, this is a test mail.",

        ["to"]="caoyongfeng0214@gmail.com,test@aaa.com",

        ["sessionKey"]="",

        ["language"]=1,

        ["from"]="CYF",

}

Result:

{

       ["isSuccess"]=true,

}
Topic revision: r1 - 2008-05-29 - 17:14:55 - CaoYF
 

ParaEngine Developer Network

This site is powered by the TWiki collaboration platformCopyright © 2004-2008 ParaEngine Corporation
Ideas, requests, problems regarding ParaEngine platform Send feedback