Retrieves the status of a file validation task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dm:GetValidateFileStatus |
get |
*All Resource
|
None | None |
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FileId |
string |
Yes |
The file ID returned after you submit the file for validation. |
xxxx-xxxx-xxxx-xxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
yyyy-yyyy-yyyy-yyyy |
| FileName |
string |
The file name. |
file.txt |
| UploadTime |
string |
The upload time. |
2000-01-01T00:00:00Z |
| Status |
string |
The task status. Valid values:
|
completed |
| Percentage |
string |
The task completion percentage. |
100% |
| CompleteTime |
string |
The task completion time. |
2000-01-01T00:00:00Z |
| TotalNum |
string |
The total number of addresses in the file. |
10 |
| ProcessedNum |
string |
The number of processed addresses. |
10 |
| ValidNum |
string |
The number of valid addresses. |
4 |
| InvalidNum |
string |
The number of invalid addresses. |
2 |
| CatchAllNum |
string |
The number of catch-all addresses. |
2 |
| DoNotMailNum |
string |
The number of do-not-mail addresses. |
1 |
| UnknownNum |
string |
The number of unknown addresses. |
1 |
| FileId |
string |
The file ID. |
xxxx-xxxx-xxxx-xxxx |
Examples
Success response
JSON format
{
"RequestId": "yyyy-yyyy-yyyy-yyyy",
"FileName": "file.txt",
"UploadTime": "2000-01-01T00:00:00Z",
"Status": "completed",
"Percentage": "100%",
"CompleteTime": "2000-01-01T00:00:00Z",
"TotalNum": "10",
"ProcessedNum": "10",
"ValidNum": "4",
"InvalidNum": "2",
"CatchAllNum": "2",
"DoNotMailNum": "1",
"UnknownNum": "1",
"FileId": "xxxx-xxxx-xxxx-xxxx"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.