Description
The ListEmailVerification API queries the list of email address verification tasks under the current account and returns the results by page.
Request parameters
For more information about public request parameters, see Public parameters.
Parameter |
Type |
Required |
Description |
Action |
String |
Yes |
API of the action, system required parameter. Set this parameter to ListEmailVerification. |
PageNum |
Integer |
Yes |
Page number |
PageSize |
Integer |
Yes |
Page size |
BeginCreateTime |
Long |
No |
Start time of the period in which the email addresses are verified, expressed by the number of milliseconds between the start time and the UTC time 00:00 on January 1, 1970. Currently, only query by day is supported. |
EndCreateTime |
Long |
No |
End time of the period in which the email addresses are verified, expressed by the number of milliseconds between the end time and the UTC time 00:00 on January 1, 1970. Currently, only query by day is supported. |
Email |
String |
No |
Email address to be verified |
VerificationStatus |
Integer |
No |
Verification status. The enumerated values include:- 0: waiting for verification.
- 1: successfully verified.
|
Lang |
String |
No |
Language of the information returned from the API. The enumerated values include zh (Chinese) and en (English). The default value is en. |
Response parameters
Parameter |
Type |
Description |
RequestId |
String |
Unique request identifier |
TotalItemNum |
Integer |
Total number of domain names |
CurrentPageNum |
Integer |
Current page number |
TotalPageNum |
Integer |
Total number of pages |
PageSize |
Integer |
Page size |
PrePage |
Boolean |
Whether the previous page exists |
NextPage |
Boolean |
Whether the next page exists |
Data |
EmailVerificationType |
List of email address verification tasks |
Error codes
Error code |
Description |
HTTP status code |
Semantics |
ParameterIllegal |
Parameter illegal. |
400 |
Parameter error |
NetworkIOError |
Network IO Error. |
400 |
Network I/O exception |
Examples
Request example
http://domain-intl.aliyuncs.com/?Action=ListEmailVerification
&PageNum=1
&PageSize=1
&<Public request parameters>
Response example
<?xml version='1.0' encoding='UTF-8'?>
<ListEmailVerificationResponse>
<Data>
<EmailVerification>
<ConfirmIp>127.0.0.1</ConfirmIp>
<TokenSendTime>Dec 25,2017 03:38:46</TokenSendTime>
<Email>test1@aliyun.com</Email>
<VerificationStatus>1</VerificationStatus>
<SendIp>127.0.0.1</SendIp>
<VerificationTime>Dec 25,2017 03:41:11</VerificationTime>
<EmailVerificationNo>00000a21fd374da99d9c95b48500000</EmailVerificationNo>
<UserId>0000</UserId>
<GmtCreate>Dec 25,2017 03:38:46</GmtCreate>
<GmtModified>Dec 25,2017 03:41:11</GmtModified>
</EmailVerification>
<EmailVerification>
<ConfirmIp>127.0.0.1</ConfirmIp>
<TokenSendTime>Dec 25,2017 03:35:22</TokenSendTime>
<Email>test2@aliyun.com</Email>
<VerificationStatus>1</VerificationStatus>
<SendIp>127.0.0.1</SendIp>
<VerificationTime>Dec 25,2017 03:36:57</VerificationTime>
<EmailVerificationNo>0000021fd374da99d9c95b48500000</EmailVerificationNo>
<UserId>0000</UserId>
<GmtCreate>Dec 25,2017 03:32:40</GmtCreate>
<GmtModified>Dec 25,2017 03:36:57</GmtModified>
</EmailVerification>
</Data>
<TotalItemNum>2</TotalItemNum>
<PageSize>500</PageSize>
<CurrentPageNum>1</CurrentPageNum>
<RequestId>4BF41EC0-C147-4F88-8B3D-D569AF5C3E8B</RequestId>
<PrePage>false</PrePage>
<TotalPageNum>1</TotalPageNum>
<NextPage>false</NextPage>
</ListEmailVerificationResponse>
{
"currentPageNum": 1,
"data": [
{
"confirmIp": "127.0.0.1",
"email": "test1@aliyun.com",
"emailVerificationNo": "00000a21fd374da99d9c95b48500000",
"gmtCreate": "Dec 25,2017 03:38:46",
"gmtModified": "Dec 25,2017 03:41:11",
"sendIp": "127.0.0.1",
"tokenSendTime": "Dec 25,2017 03:38:46",
"userId": "0000",
"verificationStatus": 1,
"verificationTime": "Dec 25,2017 03:41:11"
},
{
"confirmIp": "127.0.0.1",
"email": "test2@aliyun.com",
"emailVerificationNo": "0000021fd374da99d9c95b48500000",
"gmtCreate": "Dec 25,2017 03:32:40",
"gmtModified": "Dec 25,2017 03:36:57",
"sendIp": "127.0.0.1",
"tokenSendTime": "Dec 25,2017 03:35:22",
"userId": "0000",
"verificationStatus": 1,
"verificationTime": "Dec 25,2017 03:36:57"
}
],
"nextPage": false,
"pageSize": 500,
"prePage": false,
"requestId": "09D3DA75-B3B5-480B-9100-92DC43919B46",
"totalItemNum": 2,
"totalPageNum": 1
}