Queries the DirectMail accounts under your Alibaba Cloud account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:ListDmAccount |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageIndex |
integer |
No |
The page number. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
10 |
| SendType |
string |
No |
The sending type. |
batch |
| Keyword |
string |
No |
The search keyword. |
a |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
The details of the access denial. |
None |
| Message |
string |
The error message. |
None |
| RequestId |
string |
The request ID. |
xis-sx*** |
| Total |
integer |
The total number of records. |
1 |
| Data |
array<object> |
The returned data. |
|
|
object |
The returned data. |
||
| Sendtype |
string |
The type of the sender address. Valid values:
|
trigger |
| CreateTime |
integer |
The time when the account was created. |
1743579634000 |
| MailAddressId |
string |
The ID of the email address. |
a@b.com |
| AccountName |
string |
The account name. |
send1@xx.xx.asia |
| Code |
string |
The response status code. Valid values:
|
OK |
| Success |
boolean |
Indicates whether the operation was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "None",
"Message": "None",
"RequestId": "xis-sx***",
"Total": 1,
"Data": [
{
"Sendtype": "trigger",
"CreateTime": 1743579634000,
"MailAddressId": "a@b.com",
"AccountName": "send1@xx.xx.asia"
}
],
"Code": "OK",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.