paraworld.email.Get
Description
取得指定EMAIL的详细数据
Parameters
Required |
Name |
Type |
Description |
required |
sessionKey |
string |
用户凭证。 |
required |
emailID |
int |
EMAIL的主键ID |
optional |
format |
int |
返回的数据格式(0:XML 1:JSON),默认值为0 |
Example Return XML
<msg>
<from type="string">ed06733e-986d-4236-8fc8-9f8300456c21</from>
<title type="string" />
<content type="string">hello all</content>
<attachment type="string" />
<addDate type="string">2009-1-21 15:19:21</addDate>
</msg>
Example Return JSON
{"from":"ed06733e-986d-4236-8fc8-9f8300456c21","title":"","content":"hello all","attachment":"","addDate":"2009-1-21 15:19:21"}
Error Codes
当发生异常时,返回数据中会有一个“errorCode”节点,该节点记录了错误码。
查看完整的
Error Code
Test Cases
case 1
Input:
{
}
Result:
{
}
Topic revision: r1 - 2009-01-23
- CaoYF