---+!! =paraworld.email.Check= <div style="float: right; margin: 5px; width: 250px; color: #4e5155; background-color: #f0eded; border: #ccc 1px solid; padding: 5px"> *Contents* %TOC% </div> ---++ Description 分页返回当前登录用户收到的所有EMAIL(不返回具体内容) ---++ Parameters |*Required*|*Name*|*Type*|*Description*| |<font color="#4682b4">required</font>|sessionKey|%BLUE%string%ENDCOLOR%|用户凭证。| |<font color="#4682b4">optional</font>|pageIndex|%BLUE%int%ENDCOLOR%|页码,从0开始的索引,默认值为0| |^|pageSize|%BLUE%int%ENDCOLOR%|每页的最大数据量,最大不可超过50,默认值为10| |^|format|%BLUE%int%ENDCOLOR%|返回的数据格式(0:XML 1:JSON),默认值为0| ---++ Example Return XML <verbatim> <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> </verbatim> ---++ Example Return JSON <verbatim> {"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}]} </verbatim> ---++ Error Codes 当发生异常时,返回数据中会有一个“errorCode”节点,该节点记录了错误码。 查看完整的[[ErrorCodes][Error Code]] ---++ Test Cases ---+++!! case 1 Input: <verbatim> { } </verbatim> _Result_: <verbatim> { } </verbatim>
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2009-01-23
-
CaoYF
Home
Site map
CCWeb web
HaqiTeen web
Main web
ParaEngine web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
导航页WebTopMenu
Preferences
开发指南
Getting Started
ParacraftSDK
NPL
MCML
NPL Reference Manual
美术Mod
Account
Log In
English
简体中文
簡體中文
E
dit
A
ttach
Copyright © 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