PEDN> Main Web>ParaWorldAPI>Paraworld_lobby_PostBBS (2008-06-23, CaoYF) Change language en zh-cn? EditAttach

paraworld.lobby.PostBBS

Description

发布MCML String 到某个频道

Parameters

Required Name Type Description
required sessionKey string 用户凭证。
channel string 频道名称
content string 消息内容

Example Return XML

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

Error Codes

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

查看完整的Error Code

Test Cases

case 1

Input:

{
        ["sessionKey"]="ed06733e-986d-4236-8fc8-9f8300456c21",
        ["channel"]="Channel_1",
        ["content"]="Hello 111",
}

Result:

{
       ["isSuccess"]=true,
}
Topic revision: r1 - 2008-06-23 - 16:36: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