paraworld.email.Check

Description

分页返回当前登录用户收到的所有EMAIL(不返回具体内容)

Parameters

Required Name Type Description
required sessionKey string 用户凭证。
optional pageIndex int 页码,从0开始的索引,默认值为0
pageSize int 每页的最大数据量,最大不可超过50,默认值为10
format int 返回的数据格式(0:XML 1:JSON),默认值为0

Example Return XML

<msg>
<msg>
        <allCnt type="double">3</allCnt> 
        <ems>
                <param index="1">
                        <emailID type="double">8</emailID>
                        <from type="string">ed06733e-986d-4236-8fc8-9f8300456c21</from> 
                        <title type="string" /> 
                        <addDate type="string">2009-1-21 15:40:31</addDate> 
                        <read type="boolean">False</readed> 
                </param>
                <param index="2">
                        <emailID type="double">6</emailID>
                        <from type="string">ed06733e-986d-4236-8fc8-9f8300456c21</from> 
                        <title type="string" /> 
                        <addDate type="string">2009-1-21 15:31:40</addDate> 
                        <read type="boolean">False</readed> 
                </param>
                <param index="3">
                        <emailID type="double">5</emailID>
                        <from type="string">ed06733e-986d-4236-8fc8-9f8300456c21</from> 
                        <title type="string" /> 
                        <addDate type="string">2009-1-21 15:19:21</addDate> 
                        <read type="boolean">False</readed> 
                </param>
        </ems>
  </msg>

Example Return JSON

{"allCnt":3,"ems":[
{"emailID":8,"from":"ed06733e-986d-4236-8fc8-9f8300456c21","title":"","addDate":"2009-1-21 15:40:31","read":false},
{"emailID":6,"from":"ed06733e-986d-4236-8fc8-9f8300456c21","title":"","addDate":"2009-1-21 15:31:40","read":false},
{"emailID":5,"from":"ed06733e-986d-4236-8fc8-9f8300456c21","title":"","addDate":"2009-1-21 15:19:21","read":false}]}

Error Codes

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

查看完整的Error Code

Test Cases

case 1

Input:

{

        

}

Result:

{

}
Topic revision: r2 - 2009-01-23 - 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