paraworld.users.Find

Description

依据输入的Email查找已在PE注册的用户,并将注册用户的ID返回,多个用户ID之间用英文逗号分隔

Parameters

Required Name TypeSorted ascending Description
optional format int 要求返回数据的格式(0:XML 1:JSON),默认值为0
required email string 要查找的Email地址,多个Email之间用英文逗号“,”隔开

Example Return XML

<msg xmlns="">
        <uids type="string">fae5feb1-9d4f-4a78-843a-1710992d4e70</uids>
</msg>

Example Return JSON

{"uids":"ed06733e-986d-4236-8fc8-9f8300456c21"}

Error Codes

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

Test Cases

case 1

Input:

{

        ["email"]="zzzzz@163.com",

}

Result:

{

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

}
Topic revision: r2 - 2008-12-08 - 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