文档

GetChatappPhoneNumberMetric - 查询号码的发送量指标

更新时间:

查询号码的发送量指标。

接口说明

本接口的单用户 QPS 限制为 50 次/秒。超过限制,API 调用会被限流,这可能会影响您的业务,请合理调用。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
IsvCodestring

ISV 校验码,用于校验子账号是否由 ISV 授权。

skdi3kksloslikdkkdk
CustSpaceIdstring

ISV 子客户的 SpaceId。

293483938849493
Granularitystring

指标粒度。

说明 取值:
  • DAILY
  • HALF_HOUR
  • DAILY
    Startlong

    查询开始时间。

    1693107714687
    Endlong

    查询结束时间。

    1693407714687
    PhoneNumberstring

    商业号码。

    861380000****

    返回参数

    名称类型描述示例值
    object
    RequestIdstring

    请求 ID。

    1612C226-E271-4CFE-9F18-4066D******
    Codestring

    返回结果 OK 为正常。

    OK
    Messagestring

    错误提示信息。

    None
    Dataobject []

    返回数据。

    SentCountinteger

    发送量。

    10
    DeliveredCountinteger

    到达量。

    5
    Startlong

    指标统计开始时间。

    1669619491000
    Endlong

    指标统计结束时间。

    1667196043904
    PhoneNumberstring

    商业号码。

    861380000
    Granularitystring

    指标粒度。

    说明 取值:
  • DAILY
  • HALF_HOUR
  • DAILY
    AccessDeniedDetailstring

    访问被拒绝详细信息。

    示例

    正常返回示例

    JSON格式

    {
      "RequestId": "1612C226-E271-4CFE-9F18-4066D******",
      "Code": "OK",
      "Message": "None",
      "Data": [
        {
          "SentCount": 10,
          "DeliveredCount": 5,
          "Start": 1669619491000,
          "End": 1667196043904,
          "PhoneNumber": "861380000",
          "Granularity": "DAILY"
        }
      ],
      "AccessDeniedDetail": "无"
    }

    错误码

    HTTP status code错误码错误信息
    400Product.UnsubscriptYou have not subscribed to the specified product.
    400Ram.PermissionDenyYou are not authorized to perform the operation.
    400System.LimitControlThe system is under flow control.
    400Unknown.ResourceOwnerIdThe resource does not belong to the current user.

    访问错误中心查看更多错误码。

    变更历史

    变更时间变更内容概要操作
    暂无变更历史
    • 本页导读 (1)
    文档反馈