获取相似事件相关小计数量。

调试

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

请求头

该接口使用公共请求头,无特殊请求头。请参见公共请求参数文档。

请求语法

POST /incident/subtotal/count HTTP/1.1

请求参数

名称 类型 位置 是否必选 示例值 描述
Object Body

A short description of struct

incidentIds Array of Long Body 6754

事件ID列表

clientToken String Body 7C56D225-7C34-40BB-9624-C8BA449260E6

幂等标识

返回数据

名称 类型 示例值 描述
data Object

data

subtotalCount Map

map

requestId String 24343424234

id of the request

示例

请求示例

POST /incident/subtotal/count HTTP/1.1
Host:gemp.aliyuncs.com
Content-Type:application/json

{
  "incidentIds" : [ 6754 ],
  "clientToken" : "7C56D225-7C34-40BB-9624-C8BA449260E6"
}

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<GetIncidentSubtotalCountResponse>
    <data>
        <subtotalCount>
            <193594331>2</193594331>
        </subtotalCount>
    </data>
</GetIncidentSubtotalCountResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "data" : {
    "subtotalCount" : {
      "193594331" : 2
    }
  }
}

错误码

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

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