DescribeDcdnSubList - 查询已定制的报表任务

更新时间:

调用DescribeDcdnSubList查询已定制的报表任务。

接口说明

说明
  • 调用该接口默认返回所有已定制的报表,但目前只支持展示单个定制任务,因此调用结果只会返回一个定制报表任务。
  • 单用户调用频率:3 次/秒。
  • 调试

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

    授权信息

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

    请求参数

    名称类型必填描述示例值
    当前API无需请求参数

    返回参数

    名称类型描述示例值
    object
    Contentstring

    已定制的报表任务。

    "data": [{"subId": 336,"reportId": [6,8],"createTime": "2021-07-05T06:18:46Z","domains": ["example.com"],"effectiveFrom": "2021-07-05T06:18:46Z","effectiveEnd": "2021-10-05T06:18:46Z","status": "enable"}]
    RequestIdstring

    请求 ID。

    3250A51D-C11D-46BA-B6B3-95348EEDE652

    Content 数据说明

    参数类型描述
    subIdLong任务的请求 ID。
    reportIdLong[]报表 ID 列表。
    createTimeString报表创建时间。
    domainsString[]定制报表的域名列表。
    effectiveFromString定制任务开始时间。
    effectiveEndString定制任务结束时间。
    statusString定制任务状态。取值:
    enable:启用。
    disable:关闭。

    示例

    正常返回示例

    JSON格式

    {
      "Content": "\"data\": [{\"subId\": 336,\"reportId\": [6,8],\"createTime\": \"2021-07-05T06:18:46Z\",\"domains\": [\"example.com\"],\"effectiveFrom\": \"2021-07-05T06:18:46Z\",\"effectiveEnd\": \"2021-10-05T06:18:46Z\",\"status\": \"enable\"}]",
      "RequestId": "3250A51D-C11D-46BA-B6B3-95348EEDE652"
    }

    错误码

    HTTP status code错误码错误信息描述
    400InvalidParameterThe specified parameter is invalid.参数错误
    400TimeParseFailedFailed to parse the time parameter.解析时间参数失败
    400SubscriptionAlreadyExistsThe subscription already exists.定制服务已开通
    400SubscriptionNotFoundThe subscription is not found.未开通定制服务
    400NameAlreadyExistsThe name already exists.名称已存在
    400DeliverExceedLimitThe maximum number of subscribed tasks is exceeded.订阅任务个数已达上限

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