BillingStatistics
Retrieves billing information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gemp:BillingStatistics |
none |
*All Resource
|
None | None |
Request syntax
POST /charging/details HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response structure. |
||
| data |
object |
The returned result. |
|
| ruleCount |
integer |
The total number of routing rules. |
0 |
| ruleCountFree |
integer |
The free quota for routing rules. |
0 |
| subscriptionNotifyCount |
integer |
The number of notification subscriptions. |
0 |
| subscriptionNotifyCountFree |
integer |
The free quota for notification subscriptions. |
0 |
| escalationPlanCount |
integer |
The number of escalation policies. |
0 |
| escalationPlanCountFree |
integer |
The free quota for escalation policies. |
0 |
| hasScheduleServiceGroupCount |
integer |
The number of service group schedules. |
0 |
| hasScheduleServiceGroupCountFree |
integer |
The free quota for service group schedules. |
0 |
| appUserCount |
integer |
The number of Cloud and DingTalk collaboration users. |
0 |
| appUserCountFree |
integer |
The free quota for Cloud and DingTalk collaboration users. |
0 |
| eventReportApi |
integer |
The number of alert reporting API calls. |
0 |
| eventReportApiFree |
integer |
The free quota for alert reporting API calls. |
0 |
| smsSend |
integer |
The number of SMS messages sent. |
0 |
| smsSendFree |
integer |
The free quota for SMS messages. |
0 |
| voiceSend |
integer |
The number of voice calls made. |
0 |
| voiceSendFree |
integer |
The free quota for voice calls. |
0 |
| emailSend |
integer |
The number of emails sent. |
0 |
| emailSendFree |
integer |
The free quota for emails. |
0 |
| imMsgSend |
integer |
The number of instant messages sent. |
0 |
| imMsgSendFree |
integer |
The free quota for instant messages. |
0 |
| type |
boolean |
The query status under system control. Valid values:
|
true |
| RequestId |
string |
The request ID. |
4A83AF20-B471-5646-A2CA-2DC688A13013 |
Examples
Success response
JSON format
{
"data": {
"ruleCount": 0,
"ruleCountFree": 0,
"subscriptionNotifyCount": 0,
"subscriptionNotifyCountFree": 0,
"escalationPlanCount": 0,
"escalationPlanCountFree": 0,
"hasScheduleServiceGroupCount": 0,
"hasScheduleServiceGroupCountFree": 0,
"appUserCount": 0,
"appUserCountFree": 0,
"eventReportApi": 0,
"eventReportApiFree": 0,
"smsSend": 0,
"smsSendFree": 0,
"voiceSend": 0,
"voiceSendFree": 0,
"emailSend": 0,
"emailSendFree": 0,
"imMsgSend": 0,
"imMsgSendFree": 0,
"type": true
},
"RequestId": "4A83AF20-B471-5646-A2CA-2DC688A13013"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.