故障协同组列表。

调试

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

请求头

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

请求语法

POST /problem/serviceGroup/list HTTP/1.1

请求参数

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

A short description of struct

serviceIds Array of Long Body 12313

服务id

clientToken String Body 89f51d2e-5527-4f6c-a6c6-4411b5496e9f

幂等校验token

返回数据

名称 类型 示例值 描述
requestId String 89f51d2e-5527-4f6c-a6c6-4411b5496e9f

Id of the request

data Array of data

data

serviceId Long 123113

主键

serviceName String 服务A

服务组名称

serviceGroupDescription String 服务描述

服务组描述

示例

请求示例

POST /problem/serviceGroup/list HTTP/1.1
Host:gemp.cn-shanghai.aliyuncs.com
Content-Type:application/json

{
  "serviceIds" : [ ],
  "clientToken" : "89f51d2e-5527-4f6c-a6c6-4411b5496e9f"
}

正常返回示例

XML格式

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

<ListSubscriptionServiceGroupsResponse>
    <requestId>89f51d2e-5527-4f6c-a6c6-4411b5496e9f</requestId>
    <data>
        <serviceId>123113</serviceId>
        <serviceName>服务A</serviceName>
        <serviceGroupDescription>服务描述</serviceGroupDescription>
    </data>
</ListSubscriptionServiceGroupsResponse>

JSON格式

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

{
  "requestId" : "89f51d2e-5527-4f6c-a6c6-4411b5496e9f",
  "data" : [ {
    "serviceId" : 123113,
    "serviceName" : "服务A",
    "serviceGroupDescription" : "服务描述"
  } ]
}

错误码

HttpCode 错误码 错误信息 描述
400 ServiceGroupNotExisted The service group does not exist. 服务组不存在

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

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