获取Marketing类型模板的相关指标。
接口说明
本接口的单用户 QPS 限制为 50 次/秒。超过限制,API 调用会被限流,这可能会影响您的业务,请合理调用。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
TemplateCode | string | 是 | 模板 Code。 | 744c4b5c79c9432497a075bdfca36bf5 |
Language | string | 否 | 模板语言。 | en |
IsvCode | string | 否 | ISV 校验码,用于校验子账号是否由 ISV 授权。 | skdi3kksloslikdkkdk |
CustSpaceId | string | 否 | ISV 子客户的 SpaceId。 | 293483938849493 |
TemplateType | string | 否 | 模板的模板类型。取值:
说明
当未传递此值时,默认值为 WHATSAPP。
| |
Granularity | string | 否 | 指标粒度。取值:
| DAILY |
Start | long | 是 | 查询开始时间。 | 1693107714687 |
End | long | 是 | 查询结束时间。 | 1693407714687 |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "90E63D28-E31D-1EB2-8939-A9486641****",
"Code": "OK",
"Message": "None",
"Data": [
{
"TemplateCode": "83837774838*****",
"Language": "en",
"SentCount": 10,
"ReadCount": 3,
"DeliveredCount": 6,
"Cliented": [
{
"Type": "quick_reply_button",
"ButtonContent": "回复",
"Count": 20
}
],
"Start": 1673919240001,
"End": 1668138331485
}
],
"AccessDeniedDetail": "无"
}
错误码
HTTP status code | 错误码 | 错误信息 |
---|---|---|
400 | Product.Unsubscript | You have not subscribed to the specified product. |
400 | Ram.PermissionDeny | You are not authorized to perform the operation. |
400 | System.LimitControl | The system is under flow control. |
400 | Unknown.ResourceOwnerId | The resource does not belong to the current user. |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|
暂无变更历史