paraworld.bag.SendItem

Description

赠送物品(每次只能赠送一种物品)

Parameters

Required Name Type DescriptionSorted ascending
required to string 接收方的用户ID
required itemID int 物品ID
required bagID int 物品所在的背包的ID
required sessionKey string 用户凭证。
required Cnt int 赠送数量
optional format int 返回的数据格式(0:XML 1:JSON),默认值为0

Example Return XML

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

Example Return JSON

{"isSuccess":true}

Error Codes

当发生异常时,返回数据中会有一个“errorCode”节点,该节点记录了错误码。

查看完整的Error Code

Test Cases

case 1

Input:

{

        

}

Result:

{

}
Topic revision: r1 - 2009-02-06 - CaoYF
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback