paraworld.friends.remove

Description

当前登录用户将一个好友移除,同时也会在被移除的好友列表中将当前登录用户移除

Parameters

Required Name Type Description
required sessionKey string 用户凭证。
friendUserID string 好友的用户ID
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”节点,该节点记录了错误码。0:无异常 500:未知错误 499:提供的数据不完整 498:非法的访问 497:数据不存在或已被删除 496:未登录 409:文件夹已存在 410:文件已存在

Test Cases

case 1

Input:

{

        ["sessionKey"]="6ea1ce24-bdf7-4893-a053-eb5fd2a74281",

        ["friendUserID"]="fae5feb1-9d4f-4a78-843a-1710992d4e70",

}

Result:

{

       ["isSuccess"]=true,

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