Queries the running status of mail tasks within an organization.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
quickbi-public:GetMailTaskStatus |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MailId |
string |
Yes |
Mail ID |
d5a59a898b634d75be5584f8dc159c62 |
| TaskId |
integer |
No |
Task ID Note
|
7218865303929605212 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response parameters. |
||
| RequestId |
string |
Request ID. |
38C0FEC8-1510-415C-A9F1-9AE9422BDB65 |
| Result |
array<object> |
The query results. |
|
|
object |
The query result object. |
||
| execTime |
string |
The execution time in the yyyy-MM-dd HH:mm:ss format. |
2024-10-09 17:34:11 |
| mailId |
string |
The mail ID. |
c38f73f4c5xxxxxc808c41b3f4d23b7852 |
| status |
string |
The mail status. Valid values:
|
SENT |
| taskId |
integer |
The task ID. |
1282xxx610816 |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "38C0FEC8-1510-415C-A9F1-9AE9422BDB65",
"Result": [
{
"execTime": "2024-10-09 17:34:11",
"mailId": "c38f73f4c5xxxxxc808c41b3f4d23b7852",
"status": "SENT",
"taskId": 0
}
],
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Mail.Forbidden.Access | Forbidden Access On This Operation. | |
| 400 | Mail.Not.Found | Mail not found. | |
| 400 | Mail.Subject.Error | The mail subject is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.