QuerySendStatistics
Queries the details of SMS sending statistics, including the sending time, the number of successfully sent messages, and the number of received receipts.
Operation description
-
If the selected time range is long, you can view the records by page. Specify the number of SMS details to display on each page and the page number to view the sending records by page.
-
You can log on to the Short Message Service console and choose Business Statistics > Sending Records to query the sending details.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dysms:QuerySendStatistics |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| IsGlobe |
integer |
Yes |
The scope of SMS sending. Valid values:
|
1 |
| StartDate |
string |
Yes |
The start date. Format: yyyyMMdd. |
20201002 |
| EndDate |
string |
Yes |
The end date. Format: yyyyMMdd. |
20201003 |
| PageIndex |
integer |
Yes |
The current page number. |
1 |
| PageSize |
integer |
Yes |
The number of entries to return on each page. Valid values: 1 to 50. |
10 |
| TemplateType |
integer |
No |
The templatetype. Valid values:
|
0 |
| SignName |
string |
No |
The signature name. |
Alibaba Cloud Platform |
| SkuCode |
string |
No |
The specification code of Short Message Service. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
F655A8D5-B967-440B-8683-DAD6FF8DE990 |
| Code |
string |
The request status code. Valid values:
|
OK |
| Message |
string |
The description of the status code. |
OK |
| Data |
object |
The returned data. |
|
| TotalSize |
integer |
The total number of returned entries. |
20 |
| TargetList |
array<object> |
The list of returned data. |
|
|
object |
|||
| TotalCount |
integer |
The number of successfully sent messages (billable messages). |
20 |
| RespondedSuccessCount |
integer |
The number of messages for which successful receipts are received. |
17 |
| RespondedFailCount |
integer |
The number of messages for which failed receipts are received. |
2 |
| NoRespondedCount |
integer |
The number of messages for which no receipts are received. |
1 |
| SendDate |
string |
The SMS sending date. Format: yyyyMMdd. |
20201010 |
Examples
Success response
JSON format
{
"RequestId": "F655A8D5-B967-440B-8683-DAD6FF8DE990\n",
"Code": "OK",
"Message": "OK",
"Data": {
"TotalSize": 20,
"TargetList": [
{
"TotalCount": 20,
"RespondedSuccessCount": 17,
"RespondedFailCount": 2,
"NoRespondedCount": 1,
"SendDate": "20201010"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.